This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cb3f78177 ci-ubuntu preset: use clang (#11955)
8cb3f78177 is described below

commit 8cb3f78177d3111df1f32104c40b26249b72e650
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Jan 14 10:14:15 2025 -0600

    ci-ubuntu preset: use clang (#11955)
    
    Update the ci-ubuntu preset to explicitly use clang. Currently CI
    configures clang via setting CC and CXX environment variables. This will
    configure clang across other environments more consistently.
---
 CMakePresets.json | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/CMakePresets.json b/CMakePresets.json
index 786a34e4aa..218a465424 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -226,7 +226,11 @@
       "name": "ci-ubuntu",
       "displayName": "CI Ubuntu Hardened Build",
       "description": "CI Pipeline config for Ubuntu with hardening flags",
-      "inherits": ["ci", "hardened"]
+      "inherits": ["ci", "hardened"],
+      "cacheVariables": {
+        "CMAKE_C_COMPILER": "clang",
+        "CMAKE_CXX_COMPILER": "clang++"
+      }
     },
     {
       "name": "ci-clang-analyzer",

Reply via email to