Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion yoda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@

export PYTHON=$(type -p python3)

./configure --disable-silent-rules --enable-root --prefix="$INSTALLROOT" --with-hdf5="$HDF5_ROOT"
case $ARCHITECTURE in
osx*)
# If we preferred system tools, we need to make sure we can pick them up.
[[ ! $HDF5_ROOT ]] && HDF5_ROOT="$(brew --prefix hdf5)"

Check notice on line 27 in yoda.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Prefer explicit -n to check non-empty string (or use =/-ne to check boolean/integer). [SC2244]
;;
*) ;;
esac

./configure --disable-silent-rules --enable-root --prefix="$INSTALLROOT" ${HDF5_ROOT:+--with-hdf5=$HDF5_ROOT}
Comment thread
singiamtel marked this conversation as resolved.
make ${JOBS+-j $JOBS}
make install

Expand Down