@@ -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
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
@@ -108,11 +110,11 @@ here=$(pwd)
108110# I like how "--break-system-packages" is analogous with --i-acknowledge-i-am-a-terrible-person
109111if [[ " $( uname) " == " Darwin" ]]; then
110112 echo " Installing python requirements for MacOS"
111- ${PIP_INSTALL} IPython setuptools ply sphinx cffi
113+ ${PIP_INSTALL} IPython setuptools ply sphinx cffi pyyaml
112114 ${PIP_INSTALL} -r .github/scripts/requirements-dev.txt
113115else
114116 echo " Installing python requirements for Linux"
115- ${PIP_INSTALL} IPython || ${PIP_INSTALL} IPython --break-system-packages
117+ ${PIP_INSTALL} IPython pyyaml || ${PIP_INSTALL} IPython --break-system-packages pyyaml
116118 ${PIP_INSTALL} -r .github/scripts/requirements-dev.txt || ${PIP_INSTALL} -r .github/scripts/requirements-dev.txt --break-system-packages
117119
118120 # Flux Security --
@@ -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