Skip to content

Commit 377c971

Browse files
committed
Added c compiler to recipe
1 parent 4bf21a4 commit 377c971

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

recipe/build_cpp.sh

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
set -euo pipefail
33

44
# Using cmake
5-
mkdir conda_build
5+
if [ ! -d conda_build ]; then
6+
mkdir conda_build
7+
fi
68
cd conda_build
79
# -D CMAKE_BUILD_TYPE=Release \
810
# -D CMAKE_INSTALL_PREFIX=$PREFIX \
@@ -19,3 +21,5 @@ cmake --install .
1921
# make all VERBOSE=1
2022
# ctest -V
2123
# make install
24+
25+
cd ..

recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ outputs:
3636
- make # [unix]
3737
- ninja # [win]
3838
- python # [build_platform != target_platform]
39+
- {{ compiler('c') }}
3940
- {{ compiler('cxx') }}
4041
- yggdrasil
4142
host:
@@ -76,6 +77,7 @@ outputs:
7677
- python # [build_platform != target_platform]
7778
- scikit-build-core
7879
- setuptools_scm
80+
- {{ compiler('c') }}
7981
- {{ compiler('cxx') }}
8082
- yggdrasil
8183
host:

0 commit comments

Comments
 (0)