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.
Details
Details
- Reviewers
vitalybuka - Commits
- rG11081a6a1dd7: tsan: allow to cross-build Go runtime
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/go/buildgo.sh | ||
---|---|---|
105 | nit: drop this line |
Comment Actions
This change is failing to build on at least one buildbot https://lab.llvm.org/buildbot/#/builders/247/builds/4603
I think the problem is that == is not a valid comparison operator in sh. I believe it should be = instead of ==.
nit: drop this line