@@ -70,6 +70,12 @@ clang = "21.*"
7070[environments .clang-21 ]
7171features = [" cmd" , " build-tools" , " lib" , " clang-base" , " clang-21" ]
7272
73+ # clang-22 compiler environment
74+ [feature .clang-22 .dependencies ]
75+ clang = " 22.*"
76+ [environments .clang-22 ]
77+ features = [" cmd" , " build-tools" , " lib" , " clang-base" , " clang-22" ]
78+
7379# A set of gcc dependencies that include a set of unconstrained needed packages.
7480# We combine it with another feature to pin an exact version.
7581[feature .gcc-base .target .linux .dependencies ]
@@ -98,7 +104,7 @@ cmake -B build/{{ pixi.environment.name }}/{{ preset }} -G Ninja \
98104 -D CMAKE_COLOR_DIAGNOSTICS=ON \
99105 -D CMAKE_C_COMPILER_LAUNCHER="sccache" \
100106 -D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
101- -D CMAKE_EXPORT_COMPILE_COMMANDS=ON \
107+ -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
102108"""
103109inputs = [" **/CMakeLists.txt" , " **/*.cmake.in" , " cmake/" ]
104110outputs = [" build/{{ pixi.environment.name }}/{{ preset }}/CMakeCache.txt" ]
@@ -128,8 +134,7 @@ testing SSE4.2 on a AVX2 machine).\
128134"""
129135
130136[feature .cmd .tasks .show-asm ]
131- args = [{ arg = " preset" , default = " dev-native" }]
132- cmd = " $CXX -S -xc++ -o- - -Iinclude/ -DNDEBUG"
137+ cmd = " $CXX -S -xc++ -o- - -Iinclude/ -DNDEBUG -O3"
133138description = """
134139Show the assembly produced for the current compiler and preset for the \
135140code passed through the standard input.
@@ -177,7 +182,7 @@ description = "Run clang-format on the codebase."
177182cmd = " ln -sf build/dev/debug-native/compile_commands.json"
178183depends-on = [
179184 { task = " configure" , args = [
180- " debug -native" ,
185+ " dev -native" ,
181186 ], environment = " dev" },
182187]
183188outputs = [" compile_commands.json" ]
0 commit comments