8000 Propagate active compiler to conda-build · JackLangerman/python_example@516d265 · GitHub
[go: up one dir, main page]

Skip to content

Commit 516d265

Browse files
committed
Propagate active compiler to conda-build
Without this, conda-build selects Travis's outdated C++98 compiler which can't build pybind11.
1 parent 6f68152 commit 516d265

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conda.recipe/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ build:
66
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
77
{% if environ.get('GIT_DESCRIBE_NUMBER', '0') == '0' %}string: py{{ environ.get('PY_VER').replace('.', '') }}_0
88
{% else %}string: py{{ environ.get('PY_VER').replace('.', '') }}_{{ environ.get('GIT_BUILD_STR', 'GIT_STUB') }}{% endif %}
9+
script_env:
10+
- CC
11+
- CXX
912

1013
source:
1114
git_url: ../

0 commit comments

Comments
 (0)
0