@@ -36,10 +36,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
3636 export DYLD_LIBRARY_PATH=/usr/local/lib
3737
3838 # Ensure we activate micromamabe that has a pinned version
39- eval " $( micromamba shell hook --shell bash) " || micromamba shell reinit --shell bash
40- micromamba activate build-env
41- echo " Found MacOS Python $( which python3) "
42- PIP_INSTALL=" python3 -m pip install"
39+ PIP_INSTALL=" /opt/conda/bin/python3 -m pip install"
4340 ln -s $( which glibtoolize) /usr/local/bin/libtoolize
4441
4542 CPPFLAGS=" -I${HOMEBREW_PREFIX} /include/lua"
9390 PIP_INSTALL=" /opt/conda/envs/build/bin/python3 -m pip install"
9491fi
9592
93+ # Ensure we find micromamba environment first
94+ export PATH=/opt/conda/bin:$PATH
95+ export LD_LIBRARY_PATH=/opt/conda/lib:/opt/conda/lib64:$LD_LIBRARY_PATH
96+ echo " Found MacOS Python $( which python3) "
97+
9698# Here we can start common setup (we hope)
9799echo " Flux Version for pypi is ${FLUX_VERSION} "
98100if [[ " $( uname) " == " Darwin" ]]; then
@@ -136,10 +138,12 @@ chmod +x etc/gen-cmdhelp.py
136138
137139./autogen.sh || echo " No autogen here"
138140
141+ export PYTHON=/opt/conda/bin/python3
142+
139143if [[ " $( uname) " == " Darwin" ]]; then
140- CPPFLAGS=" $CPPFLAGS " LDFLAGS=$LDFLAGS PKG_CONFIG_PATH=$PKG_CONFIG_PATH \
141- ./configure --with-external-libev --prefix=/usr/local
142- ./scripts/check-macos.sh
144+ CPPFLAGS=" $CPPFLAGS " LDFLAGS=$LDFLAGS PKG_CONFIG_PATH=$PKG_CONFIG_PATH ./configure --prefix=/usr/local
145+ ls ./scripts
146+ ./scripts/check-macos.sh || echo " No check-macos.sh "
143147else
144148 ./configure --prefix=/usr/local
145149 make VERBOSE=1
0 commit comments