From 516d265bfac2b2d4ae09469615d16ea942604730 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Sat, 11 Jun 2016 22:30:55 +0200 Subject: [PATCH] Propagate active compiler to conda-build Without this, conda-build selects Travis's outdated C++98 compiler which can't build pybind11. --- conda.recipe/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 1b999c5..a62d2eb 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -6,6 +6,9 @@ build: number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }} {% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0 {% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %} + script_env: + - CC + - CXX source: git_url: ../