1- {% set REPO_NAME = environ.get('REPO_NAME', 'aligncount ') %}
2- {% set VERSION = environ.get('VERSION', '0.2.81 ') %}
3- {% set TAR_URL = environ.get('TAR_URL', 'https://github.com/vr1087/cpp-python-tool-template/archive/refs/tags/v0.2.81.tar.gz ') %}
4- {% set SHA256 = environ.get('SHA256', 'b1e10ade2ae4b183d45a554ae9753b925d601aa56cfad797a6a143e873303105 ') %}
5- {% set REPO_HOME = environ.get('REPO_HOME', 'https://github.com/vr1087/cpp-python-tool-template ') %}
1+ {% set REPO_NAME = environ.get('REPO_NAME', '') %}
2+ {% set VERSION = environ.get('VERSION', '') %}
3+ {% set TAR_URL = environ.get('TAR_URL', '') %}
4+ {% set SHA256 = environ.get('SHA256', '') %}
5+ {% set REPO_HOME = environ.get('REPO_HOME', '') %}
66
77package :
88 name : {{ REPO_NAME }}
@@ -18,12 +18,14 @@ build:
1818 - CFLAGS
1919 - CXXFLAGS
2020 script : |
21+
2122 # On Linux aarch64 builds we saw undefined pthread symbols (e.g. pthread_join)
2223 # unless we compile and link with -pthread. Autotools (HTSlib) only picks up
2324 # Conda headers and flags if CFLAGS/CXXFLAGS and LDFLAGS are exported.
2425 # On macOS x86 (SDK < 10.15), Clang’s availability annotations block newer
2526 # libc++ symbols (std::filesystem::path, etc.), so we disable those checks
2627 # with -D_LIBCPP_DISABLE_AVAILABILITY
28+
2729 export CFLAGS="-pthread -I${PREFIX}/include $CFLAGS"
2830 export CXXFLAGS="-pthread -I${PREFIX}/include $CXXFLAGS -D_LIBCPP_DISABLE_AVAILABILITY"
2931 export LDFLAGS="-pthread ${LDFLAGS}"
0 commit comments