Skip to content

Commit a6b9ea1

Browse files
committed
address comments
1 parent 553c179 commit a6b9ea1

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ if (WIN32)
120120
set(ALL_ORC_SUPPORTED_ARCH ${X86_64})
121121
endif()
122122

123-
if (UNIX)
123+
if (OS_NAME MATCHES "Linux")
124124
set(ALL_PFP_SUPPORTED_ARCH ${X86_64} ${ARM64})
125125
endif()

compiler-rt/test/pfp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(PFP_TESTSUITES)
22
set(PFP_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} unwind lld compiler-rt)
3-
3+
set(PFP_TEST_USE_LLD True)
44

55
macro(add_pfp_testsuite arch thinlto)
66
set(PFP_TEST_TARGET_ARCH ${arch})

compiler-rt/test/pfp/lit.cfg.py

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
# Default test suffixes.
1212
config.suffixes = [".c", ".cpp"]
1313

14-
if config.host_os not in ["Linux"]:
15-
config.unsupported = True
16-
1714
# Setup source root.
1815
config.test_source_root = os.path.dirname(__file__)
1916
# Setup default compiler flags used with -fsanitize=memory option.

0 commit comments

Comments
 (0)