Skip to content

Commit b98ef0d

Browse files
committed
Merge branch 'python-38'
2 parents 0e3f4fd + 278685e commit b98ef0d

7 files changed

+264
-96
lines changed

scripts/dockcross-manylinux-build-module-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# scripts/dockcross-manylinux-build-module-wheels.sh cp35
1010

1111
# Pull dockcross manylinux images
12-
docker pull dockcross/manylinux-x64
13-
#docker pull dockcross/manylinux-x86
12+
docker pull dockcross/manylinux1-x64
13+
#docker pull dockcross/manylinux1-x86
1414

1515
# Generate dockcross scripts
16-
docker run dockcross/manylinux-x64 > /tmp/dockcross-manylinux-x64
16+
docker run dockcross/manylinux1-x64 > /tmp/dockcross-manylinux-x64
1717
chmod u+x /tmp/dockcross-manylinux-x64
18-
#docker run dockcross/manylinux-x86 > /tmp/dockcross-manylinux-x86
18+
#docker run dockcross/manylinux1-x86 > /tmp/dockcross-manylinux-x86
1919
#chmod u+x /tmp/dockcross-manylinux-x86
2020

2121
script_dir=$(cd $(dirname $0) || exit 1; pwd)

scripts/dockcross-manylinux-build-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
# scripts/dockcross-manylinux-build-wheels.sh cp35
99

1010
# Pull dockcross manylinux images
11-
docker pull dockcross/manylinux-x64
12-
#docker pull dockcross/manylinux-x86
11+
docker pull dockcross/manylinux1-x64
12+
#docker pull dockcross/manylinux1-x86
1313

1414
# Generate dockcross scripts
15-
docker run dockcross/manylinux-x64 > /tmp/dockcross-manylinux-x64
15+
docker run dockcross/manylinux1-x64 > /tmp/dockcross-manylinux-x64
1616
chmod u+x /tmp/dockcross-manylinux-x64
17-
#docker run dockcross/manylinux-x86 > /tmp/dockcross-manylinux-x86
17+
#docker run dockcross/manylinux1-x86 > /tmp/dockcross-manylinux-x86
1818
#chmod u+x /tmp/dockcross-manylinux-x86
1919

2020
script_dir=$(cd $(dirname $0) || exit 1; pwd)

scripts/internal/manylinux-build-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ $# -eq 0 ]]; then
1010
PYBIN=(/opt/python/*/bin)
1111
PYBINARIES=()
1212
for version in "${PYBIN[@]}"; do
13-
if [[ ${version} == *"cp35"* || ${version} == *"cp36"* || ${version} == *"cp37"* ]]; then
13+
if [[ ${version} == *"cp35"* || ${version} == *"cp36"* || ${version} == *"cp37"* || ${version} == *"cp38"* ]]; then
1414
PYBINARIES+=(${version})
1515
fi
1616
done

scripts/internal/windows_build_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from subprocess import check_call
44
import os
55

6-
DEFAULT_PY_ENVS = ["35-x64", "36-x64", "37-x64"]
6+
DEFAULT_PY_ENVS = ["35-x64", "36-x64", "37-x64", "38-x64"]
77

88
SCRIPT_DIR = os.path.dirname(__file__)
99
ROOT_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "..", ".."))

scripts/macpython-build-wheels.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ for VENV in "${VENVS[@]}"; do
9999
-DITK_BINARY_DIR:PATH=${build_path} \
100100
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${osx_target} \
101101
-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 \
102-
-DCMAKE_OSX_SYSROOT:STRING=macosx10.13 \
103102
-DITK_WRAP_unsigned_short:BOOL=ON \
104103
-DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE} \
105104
-DPYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR} \
@@ -125,7 +124,6 @@ for VENV in "${VENVS[@]}"; do
125124
-DBUILD_TESTING:BOOL=OFF \
126125
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${osx_target} \
127126
-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 \
128-
-DCMAKE_OSX_SYSROOT:STRING=macosx10.13 \
129127
-DITK_WRAP_unsigned_short:BOOL=ON \
130128
-DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE} \
131129
-DPYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR} \
@@ -153,7 +151,6 @@ for VENV in "${VENVS[@]}"; do
153151
-DITK_BINARY_DIR:PATH=${build_path} \
154152
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${osx_target} \
155153
-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 \
156-
-DCMAKE_OSX_SYSROOT:STRING=macosx10.13 \
157154
-DITKPythonPackage_ITK_BINARY_REUSE:BOOL=ON \
158155
-DITKPythonPackage_WHEEL_NAME:STRING=${wheel_name} \
159156
-DITK_WRAP_unsigned_short:BOOL=ON \

scripts/macpython-download-cache-and-build-module-wheels.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
brew update
77
brew install zstd aria2 gnu-tar doxygen
88
brew upgrade cmake
9-
# The Azure systems current do not have the 10.13 SDK, required by the
10-
# ITKPythonBuilds
11-
SDK_PATH='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk'
12-
if test ! -e $SDK_PATH; then
13-
sudo ln -s /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
14-
fi
159
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0.1}/ITKPythonBuilds-macosx.tar.zst
1610
unzstd ITKPythonBuilds-macosx.tar.zst -o ITKPythonBuilds-macosx.tar
1711
PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"

0 commit comments

Comments
 (0)