[PATCH] D87524: [MinGW][Polly] Disable loadable modules
Mateusz MikuĊa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 09:52:54 PDT 2020
mati865 created this revision.
mati865 added a reviewer: Polly.
mati865 added a project: Polly.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: bollu.
Herald added a project: LLVM.
mati865 requested review of this revision.
Like the comment says loadable modules are not supported on Windows
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87524
Files:
polly/cmake/CMakeLists.txt
polly/lib/CMakeLists.txt
Index: polly/lib/CMakeLists.txt
===================================================================
--- polly/lib/CMakeLists.txt
+++ polly/lib/CMakeLists.txt
@@ -137,7 +137,7 @@
# Create a loadable module Polly.so that can be loaded using
# LLVM's/clang's "-load" option.
-if (MSVC OR NOT LLVM_ENABLE_PIC)
+if (WIN32 OR NOT LLVM_ENABLE_PIC)
# Add dummy target, either because loadable modules are not supported
# as on Windows or because PIC code has been disabled
add_custom_target(LLVMPolly)
Index: polly/cmake/CMakeLists.txt
===================================================================
--- polly/cmake/CMakeLists.txt
+++ polly/cmake/CMakeLists.txt
@@ -10,7 +10,7 @@
endif()
set(POLLY_CONFIG_EXPORTED_TARGETS Polly ${ISL_TARGET})
-if (NOT MSVC AND LLVM_ENABLE_PIC)
+if (NOT WIN32 AND LLVM_ENABLE_PIC)
# LLVMPolly is a dummy target on Win or if PIC code is disabled.
list(APPEND POLLY_CONFIG_EXPORTED_TARGETS LLVMPolly)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87524.291256.patch
Type: text/x-patch
Size: 960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200911/ccc6085e/attachment.bin>
More information about the llvm-commits
mailing list