ci: deduplicate compiler wrappers

Signed-off-by: Eric Engestrom <eric@igalia.com>
Suggested-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
This commit is contained in:
Eric Engestrom
2023-03-17 23:51:21 +00:00
committed by Marge Bot
parent 16d5f65502
commit 63f1b4531b
9 changed files with 17 additions and 68 deletions

View File

@@ -12,8 +12,8 @@ export PATH=$PATH:$PWD/.gitlab-ci/build
touch native.file
printf > native.file "%s\n" \
"[binaries]" \
"c = '${CC:-gcc}-link-werror.sh'" \
"cpp = '${CXX:-g++}-link-werror.sh'"
"c = 'compiler-wrapper-${CC:-gcc}.sh'" \
"cpp = 'compiler-wrapper-${CXX:-g++}.sh'"
# We need to control the version of llvm-config we're using, so we'll
# tweak the cross file or generate a native file to do so.