Skip to content

Commit 7452ab0

Browse files
committed
Explicitly set generator ninja via SKBUILD_CMAKE_ARGS in recipe (see scikit-build/scikit-build-core#1089)
1 parent e281250 commit 7452ab0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conda.recipe/recipe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source:
1111

1212
build:
1313
number: 0
14-
script: '${{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv '
14+
script: 'SKBUILD_CMAKE_ARGS="-G Ninja"; ${{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv '
1515

1616
requirements:
1717
build:

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source:
1313

1414
build:
1515
number: 0
16-
script: '{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv '
16+
script: 'SKBUILD_CMAKE_ARGS="-G Ninja"; {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv '
1717

1818
requirements:
1919
build:

0 commit comments

Comments
 (0)