Skip to content

Commit cf34727

Browse files
committed
move away from x86_64 on macOS
1 parent 152061a commit cf34727

5 files changed

Lines changed: 12 additions & 30 deletions

File tree

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.2.11
2+
3+
Drop support for `x86_64` on `macOS`.
4+
15
# 1.2.10
26

37
Use the clang compiler on the windows platform.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SET (SUBDIRS
1919
# superlu stuff
2020
SITE_NAME(HOSTNAME)
2121
MESSAGE("Hostname: ${HOSTNAME}")
22-
ADD_DEFINITIONS(-DSYMDIFF_VERSION_STRING=\"1.2.9\")
22+
ADD_DEFINITIONS(-DSYMDIFF_VERSION_STRING=\"1.2.10\")
2323
ADD_DEFINITIONS(-DSYMDIFF_COPYRIGHT_YEAR=\"2010-2024\")
2424
2525
IF (COPY_PROJECT_DIR)

bdist_wheel/fix_macos_arch.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

bdist_wheel/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
py-limited-api = cp37
33
#plat-name=
44
[metadata]
5-
version = 1.2.9
5+
version = 1.2.10
66
classifiers =
77
Development Status :: 5 - Production/Stable
88
Intended Audience :: Science/Research

scripts/build_macos.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ export PYTHON3_ARCHIVE=""
1717
export MACOSX_DEPLOYMENT_TARGET=12.0
1818

1919
# SYMDIFF build
20-
export ARCH_ARG="-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64"
20+
export ARCH_ARG="-DCMAKE_OSX_ARCHITECTURES=arm64"
21+
#export PLAT_NAME="arm64"
22+
#export ARCH_ARG="-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64"
23+
#export PLAT_NAME="universal2"
2124

2225
(bash scripts/symdiff_macos.sh && cd osx_release && make -j4)
2326
(cd osx_release && make test)
2427

2528
(rsync -avP --exclude __pycache__ bdist_wheel/ dist)
2629
(rsync -avP --exclude __pycache__ lib/symdiff dist/)
2730
(rsync -avP --exclude __pycache__ LICENSE NOTICE README.md examples doc dist)
28-
FULL_PLAT_NAME=$(${PYTHON3_BIN} dist/fix_macos_arch.py universal2)
31+
32+
FULL_PLAT_NAME=arm64
2933
echo PACKAGING $FULL_PLAT_NAME
3034
if [[ -n "$FULL_PLAT_NAME" ]]; then
3135
(cd dist && perl -p -i -e "s/^#plat-name.*/plat-name = ${FULL_PLAT_NAME}/" setup.cfg);

0 commit comments

Comments
 (0)