forked from OSchip/llvm-project
Revert: Enable profile on NetBSD
Requested by V.Kumar. Not all tests pass. llvm-svn: 310912
This commit is contained in:
parent
efb4d4c78c
commit
d341194d68
|
@ -519,7 +519,7 @@ else()
|
|||
endif()
|
||||
|
||||
if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
|
||||
OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|NetBSD")
|
||||
OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android")
|
||||
set(COMPILER_RT_HAS_PROFILE TRUE)
|
||||
else()
|
||||
set(COMPILER_RT_HAS_PROFILE FALSE)
|
||||
|
|
|
@ -78,7 +78,7 @@ config.substitutions.append( ("%clangxx_profuse=", build_invocation(clang_cxxfla
|
|||
|
||||
config.substitutions.append( ("%clang_lto_profgen=", build_invocation(clang_cflags, True) + " -fprofile-instr-generate=") )
|
||||
|
||||
if config.host_os not in ['Darwin', 'FreeBSD', 'Linux', 'NetBSD']:
|
||||
if config.host_os not in ['Darwin', 'FreeBSD', 'Linux']:
|
||||
config.unsupported = True
|
||||
|
||||
if config.target_arch in ['armv7l']:
|
||||
|
|
Loading…
Reference in New Issue