Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions development/scripts/pixi/activation_clang_cl.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
:: Setup clang-cl compiler
set CC=clang-cl
set CXX=clang-cl
:: Explicit path is necessary to avoid getting the clang-cl compiler installed on system
set CC="%CONDA_PREFIX%\\Library\\bin\\clang-cl"
set CXX="%CONDA_PREFIX%\\Library\\bin\\clang-cl"
75 changes: 58 additions & 17 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ VISP_USE_GTK2 = "ON"
# to avoid cxx-compiler to overwrite them.
[feature.clang-cl]
platforms = ["win-64"]
dependencies = { clang = "*", llvm-openmp = "*" }
dependencies = { clangxx = "*", lld = "*", llvm-openmp = "*"}
activation = { scripts = ["development/scripts/pixi/activation_clang_cl.bat"] }

[feature.py310]
Expand Down Expand Up @@ -162,6 +162,7 @@ VISP_BUILD_TUTORIALS = "ON"

[tasks]
init-testing = {}
echo-env = { cmd = "env" }
configure = { cmd = [
"cmake",
"-G",
Expand All @@ -184,7 +185,7 @@ configure = { cmd = [
"-DDOXYGEN_AWESOME_DIR=$DOXYGEN_AWESOME_DIR",

"$VISP_EXTRA_CMAKE_ARGS"
] }
], depends-on = ["echo-env"] }
build-modules = { cmd = "cmake --build $VISP_BUILD_DIR --target visp_modules --parallel $CPU_COUNT", depends-on = ["configure"] }
build-base = { cmd = "cmake --build $VISP_BUILD_DIR --parallel $CPU_COUNT", depends-on = ["build-modules"] }
build = { depends-on = ["build-base"]}
Expand Down
Loading