Skip to content

Commit

Permalink
small fix to download-core
Browse files Browse the repository at this point in the history
  • Loading branch information
jinluchang committed Jan 9, 2025
1 parent b821592 commit c263df1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qlat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ jobs:
- name: Install Brew packages
run: |
# brew update
brew install llvm autoconf automake coreutils flock findutils pkg-config
brew install llvm autoconf automake coreutils flock findutils pkg-config gnu-sed
brew install open-mpi ninja patchelf eigen gsl zlib openssl@3 mpfr
brew install fftw
# brew upgrade
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- name: Install Brew packages
run: |
# brew update
brew install llvm autoconf automake coreutils flock findutils pkg-config
brew install llvm autoconf automake coreutils flock findutils pkg-config gnu-sed
brew install open-mpi ninja patchelf eigen gsl zlib openssl@3 mpfr
brew install fftw
# brew upgrade
Expand Down Expand Up @@ -490,7 +490,7 @@ jobs:
- name: Install Brew packages
run: |
# brew update
brew install llvm autoconf automake coreutils flock findutils pkg-config
brew install llvm autoconf automake coreutils flock findutils pkg-config gnu-sed
brew install open-mpi ninja patchelf eigen gsl zlib openssl@3 mpfr
brew install fftw
# brew upgrade
Expand Down
3 changes: 3 additions & 0 deletions qcore/setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if [ "$(uname)" == "Darwin" ]; then
if [ -e "$(brew --prefix)/opt/coreutils/libexec/gnubin" ]; then
export PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin":"$PATH"
fi
if [ -e "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" ]; then
export PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin":"$PATH"
fi
if [ -e "$(brew --prefix)/opt/llvm/bin" ]; then
export PATH="$(brew --prefix)/opt/llvm/bin":"$PATH"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/download-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fi
if [ -e Grid-tblum/configure ] ; then
echo "Grid-tblum bootstrapped."
else
( cd Grid-tblum ; git clean -f ; sed -i 's/gsha256sum/sha256sum/g' bootstrap.sh ; ./bootstrap.sh || true ; ls -l Eigen || true ; git checkout bootstrap.sh )
( cd Grid-tblum ; git clean -f ; if command -v gsha256sum ; then echo OK ; else sed -i 's/gsha256sum/sha256sum/g' bootstrap.sh || true ; fi ; ./bootstrap.sh || true ; ls -l Eigen || true ; git checkout bootstrap.sh || true )
fi

if [ -d Hadrons-tblum ] ; then
Expand Down

0 comments on commit c263df1

Please sign in to comment.