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

Commit d89435d

Browse files
committed
Modernize OSX wheel names.
- Update multibuild to 7287f69 - Update config.sh for 64 bit only.
1 parent 2fdf6a2 commit d89435d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

config.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ function build_wheel {
1515

1616
function build_libs {
1717
local plat=${1:-$PLAT}
18-
local tar_path=$(abspath $(get_gf_lib "openblas-${OPENBLAS_VERSION}" "$plat"))
18+
# Force 64-bit OpenBLAS library for macOS intel (dual arch)
19+
# builds. For these builds, we pretend to be dual arch, but in
20+
# fact we're only using the 64-bit build of OpenBLAS
21+
if [ -n $IS_OSX ] && [ $plat == intel ]; then
22+
plat=x86_64
23+
fi
24+
local tar_fname=$(get_gf_lib "openblas-${OPENBLAS_VERSION}" "$plat")
25+
local tar_path=$(abspath $tar_fname)
1926
# Sudo needed for macOS
2027
local use_sudo=""
2128
[ -n "$IS_OSX" ] && use_sudo="sudo"

0 commit comments

Comments
 (0)