Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prrng v0.5.0 #7

Merged
merged 16 commits into from
May 20, 2021
5 changes: 3 additions & 2 deletions recipe/install_python.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
python -c "import numpy"
echo `which python`
echo "$PYTHON"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, the recipe uses outputs, so possibly you run in some kind of variant of conda/conda-build#3993 , i.e., I wouldn't be surprised if $PYTHON is not set correctly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But even then,

(But overall, it is really strange that it finds the correct interpreter from the host environment but then uses the system's one for the NumPy check; no idea why that happens.)

would still be strange.


mkdir build
cd build
Expand All @@ -9,8 +11,7 @@ cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE="$PYTHON" \
-DPython3_EXECUTABLE="$PYTHON" \
-DPython_EXECUTABLE="$PYTHON" \
-DBUILD_PYTHON=1 \
..

Expand Down