Skip to content

Commit

Permalink
update conda recipe build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendelsalle committed Jul 6, 2022
1 parent 4df65ca commit 457b9fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
13 changes: 7 additions & 6 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@

mkdir build-conda
cd build-conda

cmake .. ^
-D CMAKE_BUILD_TYPE:STRING="Release" ^
-D USE_OCCT_UTILS:BOOL=FALSE ^
-D GBS_BUILD_TESTS:BOOL=FALSE ^
-D USE_RENDER:BOOL=TRUE ^
-D USE_PYTHON_BINDINGS=TRUE ^
-D BUILD_DOC=FALSE ^
-D BUILD_GBS=ON ^
-D BUILD_GBS_MESH=ON ^
-D BUILD_GBS_RENDER=ON ^
-D BUILD_PYTHON_BINDINGS=ON ^
-D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-G "Ninja" ^
-Wno-dev

ninja install

cd ../python
%PYTHON% -m pip install ../python --no-deps -vv

cd ..
12 changes: 7 additions & 5 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ cd build-conda

cmake .. \
-D CMAKE_BUILD_TYPE:STRING="Release" \
-D USE_OCCT_UTILS:BOOL=FALSE \
-D GBS_BUILD_TESTS:BOOL=FALSE \
-D USE_RENDER:BOOL=TRUE \
-D USE_PYTHON_BINDINGS=TRUE \
-D BUILD_DOC=FALSE \
-D BUILD_GBS=ON \
-D BUILD_GBS_MESH=ON \
-D BUILD_GBS_RENDER=ON \
-D BUILD_PYTHON_BINDINGS=ON \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-G "Ninja" \
-Wno-dev

ninja install

cd ../python
$PYTHON -m pip install . --no-deps -vv

cd ..

0 comments on commit 457b9fd

Please sign in to comment.