Skip to content

Commit

Permalink
[py] now building Python module in Release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Feb 22, 2021
1 parent cddb598 commit b178137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/docker/build_pybinding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ for PYBIN in /opt/python/cp3*/bin; do
#"${PYBIN}/python" -m pip install --upgrade pyibex
"${PYBIN}/python" -m pip install pyibex==1.9.2
mkdir -p build_dir && cd build_dir
cmake3 -DPYTHON_EXECUTABLE=${PYBIN}/python -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DWITH_TUBE_TREE=OFF -DWITH_CAPD=OFF -DWITH_PYTHON=ON -DCMAKE_CXX_FLAGS="-fPIC" ..
cmake3 -DPYTHON_EXECUTABLE=${PYBIN}/python -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DWITH_TUBE_TREE=OFF -DWITH_CAPD=OFF -DWITH_PYTHON=ON -DCMAKE_CXX_FLAGS="-fPIC" ..
make api
# Again for doxygen2docstring:
cmake3 -DPYTHON_EXECUTABLE=${PYBIN}/python -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DWITH_TUBE_TREE=OFF -DWITH_CAPD=OFF -DWITH_PYTHON=ON -DCMAKE_CXX_FLAGS="-fPIC" ..
cmake3 -DPYTHON_EXECUTABLE=${PYBIN}/python -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DWITH_TUBE_TREE=OFF -DWITH_CAPD=OFF -DWITH_PYTHON=ON -DCMAKE_CXX_FLAGS="-fPIC" ..
make -j2

make test ARGS="-V"s
Expand Down

0 comments on commit b178137

Please sign in to comment.