-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
automerged PR by conda-forge/automerge-action
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
if /I "%PKG_NAME%" == "libsolv" ( | ||
|
||
cmake -B build/ ^ | ||
-G "Ninja" ^ | ||
-D ENABLE_CONDA=ON ^ | ||
-D MULTI_SEMANTICS=ON ^ | ||
-D WITHOUT_COOKIEOPEN=ON ^ | ||
-D CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" ^ | ||
-D DISABLE_SHARED=OFF ^ | ||
-D ENABLE_STATIC=OFF ^ | ||
%CMAKE_ARGS% | ||
if errorlevel 1 exit 1 | ||
|
||
cmake --build build/ --parallel %CPU_COUNT% | ||
if errorlevel 1 exit 1 | ||
|
||
cmake --install build/ | ||
if errorlevel 1 exit 1 | ||
|
||
) | ||
|
||
if /I "%PKG_NAME%" == "libsolv-static" ( | ||
|
||
cmake -B build_static/ ^ | ||
-G "Ninja" ^ | ||
-D ENABLE_CONDA=ON ^ | ||
-D MULTI_SEMANTICS=ON ^ | ||
-D WITHOUT_COOKIEOPEN=ON ^ | ||
-D CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" ^ | ||
-D CMAKE_RELEASE_POSTFIX="_static" ^ | ||
-D DISABLE_SHARED=ON ^ | ||
-D ENABLE_STATIC=ON ^ | ||
%CMAKE_ARGS% | ||
if errorlevel 1 exit 1 | ||
|
||
cmake --build build_static/ --parallel %CPU_COUNT% | ||
if errorlevel 1 exit 1 | ||
|
||
cmake --install build_static/ | ||
if errorlevel 1 exit 1 | ||
|
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
if [[ $PKG_NAME == "libsolv" ]]; then | ||
|
||
cmake -B build/ \ | ||
-G Ninja \ | ||
-D ENABLE_CONDA=ON \ | ||
-D MULTI_SEMANTICS=ON \ | ||
-D DISABLE_SHARED=OFF \ | ||
-D ENABLE_STATIC=OFF \ | ||
${CMAKE_ARGS} | ||
cmake --build build/ --parallel ${CPU_COUNT} --verbose | ||
cmake --install build/ | ||
|
||
elif [[ $PKG_NAME == "libsolv-static" ]]; then | ||
|
||
cmake -B build_static/ \ | ||
-G Ninja \ | ||
-D ENABLE_CONDA=ON \ | ||
-D MULTI_SEMANTICS=ON \ | ||
-D DISABLE_SHARED=ON \ | ||
-D ENABLE_STATIC=ON \ | ||
${CMAKE_ARGS} | ||
cmake --build build_static/ --parallel ${CPU_COUNT} --verbose | ||
cmake --install build_static/ | ||
|
||
fi |