llvm.org GIT mirror llvm / a3723df
Revert [test] Fix plugin tests This reverts r361790 (git commit fe5eaab2b5b4523886bd63aebcfea8cfce586fa1) It's causing buildbot breakage, so reverting while I investigate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361793 91177308-0d34-0410-b5e6-96231b3b80d8 Don Hinton a month ago
2 changed file(s) with 8 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
671671 message(STATUS "LLVM host triple: ${LLVM_HOST_TRIPLE}")
672672 message(STATUS "LLVM default target triple: ${LLVM_DEFAULT_TARGET_TRIPLE}")
673673
674 if(WIN32 OR CYGWIN)
675 if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
676 set(LLVM_ENABLE_PLUGINS_default ON)
677 else()
678 set(LLVM_ENABLE_PLUGINS_default OFF)
679 endif()
680 else()
681 set(LLVM_ENABLE_PLUGINS_default ON)
682 endif()
683 option(LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default})
684
685674 include(HandleLLVMOptions)
686675
687676 # Verify that we can find a Python 2 interpreter. Python 3 is unsupported.
911911 message(FATAL_ERROR "LLVM_LINK_LLVM_DYLIB not compatible with LLVM_EXPORT_SYMBOLS_FOR_PLUGINS")
912912 endif()
913913
914 # Plugin support
915 # FIXME: Make this configurable.
916 if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
917 set(LLVM_ENABLE_PLUGINS ON)
918 else()
919 set(LLVM_ENABLE_PLUGINS OFF)
920 endif()
921
914922 # By default we should enable LLVM_ENABLE_IDE only for multi-configuration
915923 # generators. This option disables optional build system features that make IDEs
916924 # less usable.