Skip to content

Commit 4766a70

Browse files
committed
debug
1 parent 00e3a6b commit 4766a70

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tools/build_steps.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ source ${ROOT_DIR}/gfortran-install/gfortran_utils.sh
99

1010
MB_PYTHON_VERSION=3.9
1111

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+
1219
function before_build {
1320
# Manylinux Python version set in build_lib
1421
if [ -n "$IS_OSX" ]; then
@@ -122,7 +129,8 @@ function do_build_lib {
122129
local interface64=$3
123130
local nightly=$4
124131
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
126134
Linux-x86_64)
127135
local bitness=64
128136
local target_flags="TARGET=PRESCOTT"

0 commit comments

Comments
 (0)