From 08e01c4fbef36b4b87de52c98a0be2db7558a5fe Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 27 Dec 2023 13:20:38 -0500 Subject: [PATCH] build: Upgrade gcc to v12 (explicitly) --- CMakePresets.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 0080f01e7..824eacbf4 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -113,8 +113,8 @@ "description": "Debug build compiled w/ gcc", "binaryDir": "${sourceDir}/build/gcc/debug", "cacheVariables": { - "CMAKE_C_COMPILER": "gcc", - "CMAKE_CXX_COMPILER": "g++", + "CMAKE_C_COMPILER": "gcc-12", + "CMAKE_CXX_COMPILER": "g++-12", "CMAKE_CXX_FLAGS_DEBUG": "-g -fPIC -Wall -pedantic -Wextra -Werror -Wno-missing-braces -Wno-ignored-qualifiers --std=c++20 -fdiagnostics-color -Wno-stringop-overread -DDEBUG", "CMAKE_INSTALL_PREFIX": "${sourceDir}/install/gcc/debug/sparkd" }