[libcxx-commits] [libcxx] [libcxx] [ci] Simplify the mingw x86_64 configs (PR #95609)
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 14 14:20:33 PDT 2024
https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/95609
Since switching the Windows CI environment over to GitHub Actions runners, the mingw tests run in a setup where the default compiler binary is a mingw-targeting compiler, so we don't need to specify a custom executable name.
For the i686 tests, we still specify a custom compiler name, in order to target i686 instead of x86_64.
>From e7c6f4ab0402bcb5d91fdf507722545f96501e1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin at martin.st>
Date: Thu, 13 Jun 2024 11:05:13 +0300
Subject: [PATCH] [libcxx] [ci] Simplify the mingw x86_64 configs
Since switching the Windows CI environment over to GitHub Actions
runners, the mingw tests run in a setup where the default
compiler binary is a mingw-targeting compiler, so we don't need
to specify a custom executable name.
For the i686 tests, we still specify a custom compiler name,
in order to target i686 instead of x86_64.
---
libcxx/utils/ci/run-buildbot | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index e40c2b635ef90..f96fc85906a1f 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -703,22 +703,13 @@ clang-cl-static-crt)
;;
mingw-dll)
clean
- # Explicitly specify the compiler with a triple prefix. The CI
- # environment has got two installations of Clang; the default one
- # defaults to MSVC mode, while there's an installation of llvm-mingw
- # further back in PATH. By calling the compiler with an explicit
- # triple prefix, we use the one that is bundled with a mingw sysroot.
generate-cmake \
- -DCMAKE_C_COMPILER=x86_64-w64-mingw32-clang \
- -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-clang++ \
-C "${MONOREPO_ROOT}/libcxx/cmake/caches/MinGW.cmake"
check-runtimes
;;
mingw-static)
clean
generate-cmake \
- -DCMAKE_C_COMPILER=x86_64-w64-mingw32-clang \
- -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-clang++ \
-C "${MONOREPO_ROOT}/libcxx/cmake/caches/MinGW.cmake" \
-DLIBCXX_ENABLE_SHARED=OFF \
-DLIBUNWIND_ENABLE_SHARED=OFF
More information about the libcxx-commits
mailing list