fix: enforce absolute compiler paths in CMake and update environment configurations to prevent conan_toolchain overrides

This commit is contained in:
AndreaRigoni
2026-04-17 12:17:33 +00:00
parent ada911ba0c
commit 460ea3b8ba

22
.vscode/settings.json vendored
View File

@@ -1,13 +1,14 @@
{ {
"clangd.path": "/home/share/micromamba/envs/uLib/bin/clangd",
"clangd.fallbackFlags": [ "clangd.fallbackFlags": [
"-I/home/rigoni/devel/cmt/uLib/src", "-I/home/rigoni/devel/cmt/uLib/src",
"-isystem/home/share/micromamba/envs/mutom/include", "-isystem/home/share/micromamba/envs/uLib/include",
"-isystem/home/share/micromamba/envs/mutom/include/eigen3", "-isystem/home/share/micromamba/envs/uLib/include/eigen3",
"-isystem/home/share/micromamba/envs/mutom/targets/x86_64-linux/include", "-isystem/home/share/micromamba/envs/uLib/targets/x86_64-linux/include",
"-isystem/home/share/micromamba/envs/mutom/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++", "-isystem/home/share/micromamba/envs/uLib/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++",
"-isystem/home/share/micromamba/envs/mutom/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/x86_64-conda-linux-gnu", "-isystem/home/share/micromamba/envs/uLib/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/x86_64-conda-linux-gnu",
"-isystem/home/share/micromamba/envs/mutom/x86_64-conda-linux-gnu/sysroot/usr/include", "-isystem/home/share/micromamba/envs/uLib/x86_64-conda-linux-gnu/sysroot/usr/include",
"--gcc-toolchain=/home/share/micromamba/envs/mutom", "--gcc-toolchain=/home/share/micromamba/envs/uLib",
"-D__host__=", "-D__host__=",
"-D__device__=", "-D__device__=",
"-D__global__=", "-D__global__=",
@@ -18,8 +19,8 @@
], ],
"clangd.semanticHighlighting.enable": true, "clangd.semanticHighlighting.enable": true,
"clangd.arguments": [ "clangd.arguments": [
"--compile-commands-dir=build", "--compile-commands-dir=build/clang-make",
"--query-driver=/home/share/micromamba/envs/mutom/bin/*", "--query-driver=/home/share/micromamba/envs/uLib/bin/*",
"--all-scopes-completion", "--all-scopes-completion",
"--completion-style=detailed", "--completion-style=detailed",
"--header-insertion=never", "--header-insertion=never",
@@ -27,5 +28,6 @@
"--pch-storage=memory", "--pch-storage=memory",
"--background-index", "--background-index",
"--log=verbose" "--log=verbose"
] ],
"C_Cpp.intelliSenseEngine": "disabled"
} }