OSDN Git Service

[Kaleidoscope] Re-enable Kaleidoscope tests.
authorLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 22:24:53 +0000 (22:24 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 22:24:53 +0000 (22:24 +0000)
These were disabled in r246267 (back in 2015). I suspect that the Win32 issues
that caused them to be disabled at the time have been resovlved, but if not
we can disable them again while we sort those out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354630 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt
test/Examples/lit.local.cfg
test/lit.site.cfg.py.in

index e69ceeb..426dc7e 100644 (file)
@@ -12,6 +12,7 @@ llvm_canonicalize_cmake_booleans(
   LLVM_LINK_LLVM_DYLIB
   LLVM_TOOL_LTO_BUILD
   LLVM_USE_INTEL_JITEVENTS
+  LLVM_BUILD_EXAMPLES
   )
 
 configure_lit_site_cfg(
index 462e3dc..69bc11e 100644 (file)
@@ -1 +1,2 @@
-config.unsupported = True
+if not config.build_examples:
+  config.unsupported = True
\ No newline at end of file
index 62c90b7..ada27ff 100644 (file)
@@ -36,6 +36,7 @@ config.have_zlib = @HAVE_LIBZ@
 config.have_libxar = @HAVE_LIBXAR@
 config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@
 config.enable_ffi = @LLVM_ENABLE_FFI@
+config.build_examples = @LLVM_BUILD_EXAMPLES@
 config.enable_threads = @LLVM_ENABLE_THREADS@
 config.build_shared_libs = @BUILD_SHARED_LIBS@
 config.link_llvm_dylib = @LLVM_LINK_LLVM_DYLIB@