Skip to content

Commit 29bff36

Browse files
committed
PERF: Use Release CMAKE_BUILD_TYPE for macOS, Linux wheels
1 parent da7923d commit 29bff36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/internal/manylinux-build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ for PYBIN in "${PYBINARIES[@]}"; do
3838
# Install dependencies
3939
${PYBIN}/pip install --upgrade -r /work/requirements-dev.txt
4040

41-
build_type=""
42-
compile_flags="-O2 -DNDEBUG"
41+
build_type="Release"
42+
compile_flags="-O3 -DNDEBUG"
4343
source_path=/work/ITK-source/ITK
4444
build_path=/work/ITK-$(basename $(dirname ${PYBIN}))-manylinux1_${ARCH}
4545
SETUP_PY_CONFIGURE="${script_dir}/../setup_py_configure.py"

scripts/macpython-build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ for VENV in "${VENVS[@]}"; do
7272
# Install dependencies
7373
${Python3_EXECUTABLE} -m pip install --upgrade -r ${SCRIPT_DIR}/../requirements-dev.txt
7474

75-
build_type="MinSizeRel"
75+
build_type="Release"
7676
plat_name="macosx-10.9-x86_64"
7777
osx_target="10.9"
7878
source_path=${SCRIPT_DIR}/../ITK-source/ITK

0 commit comments

Comments
 (0)