Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit c80e842

Browse files
authored
Merge pull request #80 from mattip/fix32bit
WIP: remove -msse2 from linux32 builds, use explicit build tag
2 parents ce9d03a + f96684b commit c80e842

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

azure/posix.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
vmImage: ${{ parameters.vmImage }}
1010
variables:
1111
REPO_DIR: "numpy"
12-
BUILD_COMMIT: 'f1be9e50ff' # needed for 32 bit builds, should become 1.18.4
12+
BUILD_COMMIT: 'maintenance/1.18.x'
1313
PLAT: "x86_64"
1414
CYTHON_BUILD_DEP: "cython==0.29.16"
1515
NIGHTLY_BUILD_COMMIT: "master"
@@ -97,8 +97,9 @@ jobs:
9797
ANACONDA_ORG="multibuild-wheels-staging"
9898
TOKEN="$MAPPED_NUMPY_STAGING_UPLOAD_TOKEN"
9999
fi
100-
if [ "$TOKEN" == "" ]; then
100+
if [ "$TOKEN" == "" -o "${TOKEN:0:7}" == "\$(NUMPY" ]; then
101101
echo "##[warning] Could not find anaconda.org upload token in secret variables"
102+
TOKEN=""
102103
fi
103104
echo "##vso[task.setvariable variable=TOKEN]$TOKEN"
104105
echo "##vso[task.setvariable variable=ANACONDA_ORG]$ANACONDA_ORG"

azure/windows.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
pool:
99
vmImage: ${{ parameters.vmImage }}
1010
variables:
11-
BUILD_COMMIT: "v1.18.3"
11+
BUILD_COMMIT: 'maintenance/1.18.x'
1212
NIGHTLY_BUILD_COMMIT: "master"
1313
JUNITXML: "test-data.xml"
1414
TEST_DIR: '$(Agent.WorkFolder)/tmp_for_test'
@@ -125,8 +125,9 @@ jobs:
125125
ANACONDA_ORG="multibuild-wheels-staging"
126126
TOKEN="$MAPPED_NUMPY_STAGING_UPLOAD_TOKEN"
127127
fi
128-
if [ "$TOKEN" == "" ]; then
128+
if [ "$TOKEN" == "" -o "${TOKEN:0:7}" == "\$(NUMPY" ]; then
129129
echo "##[warning] Could not find anaconda.org upload token in secret variables"
130+
TOKEN=""
130131
fi
131132
echo "##vso[task.setvariable variable=TOKEN]$TOKEN"
132133
echo "##vso[task.setvariable variable=ANACONDA_ORG]$ANACONDA_ORG"

env_vars_32.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
set -x
55
OPENBLAS_VERSION="v0.3.7"
66
MACOSX_DEPLOYMENT_TARGET=10.9
7-
CFLAGS="-msse2 -std=c99 -fno-strict-aliasing"
7+
# Causes failure for pre-1.19 in np.reciprocal
8+
# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing"
9+
CFLAGS="-std=c99 -fno-strict-aliasing"

0 commit comments

Comments
 (0)