File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ cmake .. -G "NMake Makefiles" ^
24
24
-DCMAKE_BUILD_TYPE=Release ^
25
25
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" %SP_DIR% " ^
26
26
-DCMAKE_SWIG_OUTDIR=" %SP_DIR% " ^
27
+ -DPython_ROOT_DIR=" %PREFIX% \bin" ^
27
28
-DPYTHON_VERSION=" %PYTHON_VERSION_NUMERIC% " ^
28
29
-DBUILD_LIBRARY=OFF ^
29
30
-DWITH_AVX=OFF ^
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ mkdir b2 && cd b2
3
3
if [[ " ${target_platform} " == osx-* ]]; then
4
4
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
5
5
CXXFLAGS=" ${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
6
- else
7
- export CONFIG_ARGS=" "
8
6
fi
9
7
10
8
cmake -S .. -B . \
@@ -15,9 +13,10 @@ cmake -S .. -B . \
15
13
-DBUILD_LIBRARY=OFF \
16
14
-DWITH_AVX=OFF \
17
15
-DBoost_USE_STATIC_LIBS=OFF \
16
+ -DPython_ROOT_DIR=" ${PREFIX} /bin" \
18
17
-DPYTHON_VERSION=$( python -c ' import platform; print(platform.python_version())' ) \
19
18
-G Ninja \
20
- " ${CONFIG_ARGS} "
19
+ ${CONFIG_ARGS}
21
20
22
21
ninja install -j ${CPU_COUNT}
23
22
You can’t perform that action at this time.
0 commit comments