Skip to content

Commit 0bf0047

Browse files
committed
fix: macOS build using nox
With the move from scikit-build to scikit-build-core, the macOS build options need to be updated.
1 parent 5ba1e03 commit 0bf0047

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

noxfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
if sys.platform.startswith("darwin"):
1414
BUILD_ENV = {
1515
"MACOSX_DEPLOYMENT_TARGET": "10.9",
16-
"CMAKE_OSX_ARCHITECTURES": "arm64;x86_64",
17-
"CFLAGS": "-save-temps",
18-
"CXXFLAGS": "-save-temps",
16+
"ARCHFLAGS": "-arch arm64 -arch x86_64",
1917
}
2018
else:
2119
BUILD_ENV = {}

0 commit comments

Comments
 (0)