Skip to content

Commit

Permalink
fix cython with cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 27, 2022
1 parent 4dc9f7b commit 6397ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ fi

if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then
CMAKE_ARGS="${CMAKE_ARGS} -DBUILD_TESTS=no"
sed -i.bak '1s@.*@#!/usr/bin/env python@' $BUILD_PREFIX/bin/cython
fi

cmake ${CMAKE_ARGS} \
Expand Down

0 comments on commit 6397ebe

Please sign in to comment.