Debug cmake python version
Pretty sure it's picking up the wrong version from the system python.
set -e # Abort on error.
+# find the boost libs/includes we need
export LDFLAGS="$LDFLAGS -L$PREFIX/lib -Wl,-rpath,$PREFIX/lib"
export CFLAGS="$CFLAGS -fPIC -I$PREFIX/include"
mkdir build && cd build
-cmake .. \
- -DCMAKE_INSTALL_PREFIX=$PREFIX \
+echo "which python"
+which python
+echo "python version"
+python --version
+
+cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \
-D ENABLE_PYTHON=1 \
-D ENABLE_SSL=0 \
- -DBOOST_ROOT=$PREFIX
+ -D BOOST_ROOT=$PREFIX \
+ -D ECBUILD_LOG_LEVEL=DEBUG \
+ ..
make -j $CPU_COUNT
