@@ -22,35 +22,52 @@ build:
2222 script : |
2323
2424 # Configure & compile
25- cmake -S standalone -B build/standalone -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release
26- cmake --build build/standalone --parallel ${CPU_COUNT:-1}
25+ cd cpp
26+ cmake \
27+ -S standalone \
28+ -B build/standalone \
29+ -DCMAKE_INSTALL_PREFIX=$PREFIX \
30+ -DCMAKE_BUILD_TYPE=Release
31+ cmake \
32+ --build build/standalone \
33+ --parallel ${CPU_COUNT:-1}
2734
2835 # Run C++ unit tests (fail the build if any test fails)
29- cmake -S test -B build/test
30- cmake --build build/test
31- CTEST_OUTPUT_ON_FAILURE=1 cmake --build build/test --target test
36+ cmake \
37+ -S test \
38+ -B build/test
39+ cmake \
40+ --build build/test
41+ CTEST_OUTPUT_ON_FAILURE=1 cmake \
42+ --build build/test \
43+ --target test
3244
3345 # install the cpp exe
34- cmake --install . --prefix $PREFIX
46+ cmake \
47+ --install . \
48+ --prefix $PREFIX
3549
3650 number : 0
3751
3852requirements :
3953 build :
54+ - {{ compiler('c') }}
4055 - {{ compiler("cxx") }}
4156 - cmake
4257 host :
4358 # This environment only needs to run CMake and the C++ compiler
59+ - {{ compiler('c') }}
4460 - {{ compiler("cxx") }}
4561 - cmake
4662
4763outputs :
4864 # ---------------------------------------------------------
4965 # Output #1: Arch‐specific C++ executable (aligncount-cpp)
5066 # ---------------------------------------------------------
51- - name : aligncount_cpp
67+ - name : Aligncount
5268 requirements :
5369 host :
70+ - {{ compiler('c') }}
5471 - {{ compiler("cxx") }}
5572 - cmake
5673 run :
@@ -60,7 +77,7 @@ outputs:
6077 # ---------------------------------------------------------
6178 # Output #2: Noarch Python wrapper (aligncount_demo)
6279 # ---------------------------------------------------------
63- - name : aligncount
80+ - name : Aligncount_wrapper
6481 build :
6582 noarch : python
6683 script : |
@@ -80,7 +97,7 @@ outputs:
8097 - setuptools
8198 run :
8299 - python >=3.9,<3.14
83- - {{ pin_subpackage("aligncount_cpp ", exact=False) }}
100+ - {{ pin_subpackage("Aligncount ", exact=False) }}
84101
85102 test :
86103 requires :
0 commit comments