summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-03-31 14:06:34 -0400
committerGitHub <noreply@github.com>2020-03-31 14:06:34 -0400
commit5e73e984022c9ec8e901ccffc94d3cd5f374642a (patch)
tree47555cb09e187729336a134ccd794e5fddddbacd /tools
parentea7690558bca71ce3a9453adff4e0135352a352f (diff)
Improve diagnostic parsing from GCC. (#1303)
Enable x86_64 CPU tests on TC.
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-test/slang-test-main.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp
index 7f394eec5..d72144856 100644
--- a/tools/slang-test/slang-test-main.cpp
+++ b/tools/slang-test/slang-test-main.cpp
@@ -3142,11 +3142,9 @@ SlangResult innerMain(int argc, char** argv)
{
// On TeamCity CI there is an issue with unix/linux targets where test system may be different from the build system
// That we rely on having compilation tools present such that on x64 systems we can build x86 binaries, and that appears to
- // not be the case.
- // Additionally it may be the case that on test systems, they can compile shared libraries but loading and using them does not
- // appear to work. Initially it was thought it might be protected against files in /tmp but copying shared libraries elsewhere
- // also doesn't work
-#if SLANG_UNIX_FAMILY /* && SLANG_PROCESSOR_X86 */
+ // not always be the case.
+ // For now we only allow CPP backends to run on x86_64 targets
+#if SLANG_UNIX_FAMILY && !SLANG_PROCESSOR_X86_64
_disableCPPBackends(&context);
#endif
}