Skip to content

Commit

Permalink
Wrong python found by fit2x
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Dec 7, 2024
1 parent 087fae0 commit e00fa70
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions conda-recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,21 @@ cd ../../..
cd modules/fit2x
git switch master
rm -rf build && mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
-DBUILD_PYTHON_INTERFACE=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$SP_DIR" \
-DCMAKE_SWIG_OUTDIR="$SP_DIR" \
-DPython_ROOT_DIR="${PREFIX}/bin" \
..
make && make install
cmake -S .. -B . \
-DCMAKE_CXX_COMPILER="${CXX}" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_PREFIX_PATH="$PREFIX" \
-DBUILD_PYTHON_INTERFACE=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$SP_DIR" \
-DCMAKE_SWIG_OUTDIR="$SP_DIR" \
-DPYTHON_EXECUTABLE="${PYTHON}" \
-DPython_ROOT_DIR="${PREFIX}/bin" \
-G Ninja
ninja install -j ${CPU_COUNT}
cd ../../..


# Install main module
#####################
# Compile cython code
Expand Down

0 comments on commit e00fa70

Please sign in to comment.