[all-commits] [llvm/llvm-project] 11081a: tsan: allow to cross-build Go runtime
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed May 17 00:31:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11081a6a1dd7195fb8285e361873e706d6fb6e69
https://github.com/llvm/llvm-project/commit/11081a6a1dd7195fb8285e361873e706d6fb6e69
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M compiler-rt/lib/tsan/go/buildgo.sh
Log Message:
-----------
tsan: allow to cross-build Go runtime
Allow user to provide target GOOS/GOARCH.
If not provided, use the host GOOS/GOARCH as we do now.
This allows to cross-compile the runtime.
Also provide SKIP_TEST knob for cross-compilation
since the test will most likely not run on host.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D150650
More information about the All-commits
mailing list