From aa22ab7532c6edf99deaf828dd7df129cdd822a2 Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Wed, 27 Mar 2024 15:20:29 +0100 Subject: [PATCH] Add specification for the C standard library See: https://github.com/conda-forge/conda-forge.github.io/issues/2102 Signed-off-by: Julien Jerphanion --- recipe/conda_build_config.yaml | 2 +- recipe/meta.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 3a0b761..c034b41 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -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 diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 8edbaff..f8eee57 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -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")] @@ -29,6 +29,7 @@ build: requirements: build: - {{ compiler('cxx') }} + - {{ stdlib("c") }} - cmake - ninja host: