Skip to content

Commit

Permalink
Add specification for the C standard library
Browse files Browse the repository at this point in the history
See: conda-forge/conda-forge.github.io#2102

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
  • Loading branch information
jjerphan committed Mar 27, 2024
1 parent 0080c9e commit aa22ab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MACOSX_SDK_VERSION: # [osx and x86_64]
- "11.0" # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
c_stdlib_version: # [osx and x86_64]
- "11.0" # [osx and x86_64]
folly_build_ext:
- None
Expand Down
3 changes: 2 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source:
build:
# We do not need builds on Windows so we skip them.
skip: true # [win]
number: 3
number: 4
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ build_ext }}
ignore_run_exports:
- jemalloc # [(not osx) and (folly_build_ext is not undefined and folly_build_ext == "jemalloc")]
Expand All @@ -29,6 +29,7 @@ build:
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- cmake
- ninja
host:
Expand Down

0 comments on commit aa22ab7

Please sign in to comment.