From 460ea3b8ba5b5a6d934d73e0c38ce8dfdf6e568f Mon Sep 17 00:00:00 2001 From: AndreaRigoni Date: Fri, 17 Apr 2026 12:17:33 +0000 Subject: [PATCH] fix: enforce absolute compiler paths in CMake and update environment configurations to prevent conan_toolchain overrides --- .vscode/settings.json | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 598425a..78791ad 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,13 +1,14 @@ { + "clangd.path": "/home/share/micromamba/envs/uLib/bin/clangd", "clangd.fallbackFlags": [ "-I/home/rigoni/devel/cmt/uLib/src", - "-isystem/home/share/micromamba/envs/mutom/include", - "-isystem/home/share/micromamba/envs/mutom/include/eigen3", - "-isystem/home/share/micromamba/envs/mutom/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/mutom/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", - "--gcc-toolchain=/home/share/micromamba/envs/mutom", + "-isystem/home/share/micromamba/envs/uLib/include", + "-isystem/home/share/micromamba/envs/uLib/include/eigen3", + "-isystem/home/share/micromamba/envs/uLib/targets/x86_64-linux/include", + "-isystem/home/share/micromamba/envs/uLib/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++/x86_64-conda-linux-gnu", + "-isystem/home/share/micromamba/envs/uLib/x86_64-conda-linux-gnu/sysroot/usr/include", + "--gcc-toolchain=/home/share/micromamba/envs/uLib", "-D__host__=", "-D__device__=", "-D__global__=", @@ -18,8 +19,8 @@ ], "clangd.semanticHighlighting.enable": true, "clangd.arguments": [ - "--compile-commands-dir=build", - "--query-driver=/home/share/micromamba/envs/mutom/bin/*", + "--compile-commands-dir=build/clang-make", + "--query-driver=/home/share/micromamba/envs/uLib/bin/*", "--all-scopes-completion", "--completion-style=detailed", "--header-insertion=never", @@ -27,5 +28,6 @@ "--pch-storage=memory", "--background-index", "--log=verbose" - ] + ], + "C_Cpp.intelliSenseEngine": "disabled" } \ No newline at end of file