-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from mattip/v2.20.0
Cross-compile for osx-arm64
- Loading branch information
Showing
9 changed files
with
202 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '11.0' | ||
MACOSX_SDK_VERSION: | ||
- '11.0' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '16' | ||
c_stdlib: | ||
- macosx_deployment_target | ||
c_stdlib_version: | ||
- '11.0' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
curl: | ||
- '8' | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
libgrpc: | ||
- '1.62' | ||
macos_machine: | ||
- arm64-apple-darwin20.0.0 | ||
nodejs: | ||
- '18' | ||
- '20' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.10.* *_cpython | ||
target_platform: | ||
- osx-arm64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '11.0' | ||
MACOSX_SDK_VERSION: | ||
- '11.0' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '16' | ||
c_stdlib: | ||
- macosx_deployment_target | ||
c_stdlib_version: | ||
- '11.0' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
curl: | ||
- '8' | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
libgrpc: | ||
- '1.62' | ||
macos_machine: | ||
- arm64-apple-darwin20.0.0 | ||
nodejs: | ||
- '18' | ||
- '20' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.11.* *_cpython | ||
target_platform: | ||
- osx-arm64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '11.0' | ||
MACOSX_SDK_VERSION: | ||
- '11.0' | ||
c_compiler: | ||
- clang | ||
c_compiler_version: | ||
- '16' | ||
c_stdlib: | ||
- macosx_deployment_target | ||
c_stdlib_version: | ||
- '11.0' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
curl: | ||
- '8' | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
libgrpc: | ||
- '1.62' | ||
macos_machine: | ||
- arm64-apple-darwin20.0.0 | ||
nodejs: | ||
- '18' | ||
- '20' | ||
pin_run_as_build: | ||
python: | ||
min_pin: x.x | ||
max_pin: x.x | ||
python: | ||
- 3.9.* *_cpython | ||
target_platform: | ||
- osx-arm64 | ||
zip_keys: | ||
- - c_compiler_version | ||
- cxx_compiler_version |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
recipe/patches/0006-remove-stdlib-libc-from-.bazelrc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 4491cf3e9e181bcffb09a891128c5f51e4adde6e Mon Sep 17 00:00:00 2001 | ||
From: Matti Picus <[email protected]> | ||
Date: Thu, 9 May 2024 05:13:50 +1000 | ||
Subject: [PATCH] remove stdlib=libc++ from .bazelrc | ||
|
||
--- | ||
.bazelrc | 3 --- | ||
1 file changed, 3 deletions(-) | ||
|
||
diff --git a/.bazelrc b/.bazelrc | ||
index c9ba801319..3151efbd1d 100644 | ||
--- a/.bazelrc | ||
+++ b/.bazelrc | ||
@@ -92,9 +92,9 @@ build:manylinux2010 --linkopt="-lrt" | ||
|
||
# LLVM (clang & libc++) build flags common across Linux installations and systems. | ||
# On Ubuntu, the remaining configurations can be generated by running ci/env/install-llvm-binaries.sh | ||
-build:llvm --action_env=CXXFLAGS=-stdlib=libc++ | ||
-build:llvm --action_env=LDFLAGS=-stdlib=libc++ | ||
-build:llvm --action_env=BAZEL_CXXOPTS=-stdlib=libc++ | ||
+build:llvm --action_env=CXXFLAGS=-Wno-error=unused-command-line-argument | ||
+build:llvm --action_env=LDFLAGS=-Wno-error=unused-command-line-argument | ||
+build:llvm --action_env=BAZEL_CXXOPTS=-Wno-error=unused-command-line-argument | ||
build:llvm --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a | ||
build:llvm --action_env=BAZEL_LINKOPTS=-lm:-pthread | ||
build:llvm --define force_libcpp=enabled | ||
-- | ||
2.39.3 (Apple Git-146) | ||
|