We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e3a6b commit 4766a70Copy full SHA for 4766a70
tools/build_steps.sh
@@ -9,6 +9,13 @@ source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
9
10
MB_PYTHON_VERSION=3.9
11
12
+function get_os3 {
13
+ # Report OS as given by uname
14
+ # Use any Python that comes to hand.
15
+ python3 -c 'import platform; print(platform.uname()[0])'
16
+}
17
+
18
19
function before_build {
20
# Manylinux Python version set in build_lib
21
if [ -n "$IS_OSX" ]; then
@@ -122,7 +129,8 @@ function do_build_lib {
122
129
local interface64=$3
123
130
local nightly=$4
124
131
echo "Building with settings: '$plat' '$suffix' '$interface64'"
125
- case $(get_os)-$plat in
132
+ echo get_os3 is $(get_os3)
133
+ case $(get_os3)-$plat in
126
134
Linux-x86_64)
127
135
local bitness=64
128
136
local target_flags="TARGET=PRESCOTT"
0 commit comments