Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
23156484
Commit
23156484
authored
13 years ago
by
Tobias Grosser
Browse files
Options
Downloads
Patches
Plain Diff
cmake: Create libPollyExchange as in the autoconf build
llvm-svn: 145072
parent
4dca439c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
polly/lib/CMakeLists.txt
+4
-11
4 additions, 11 deletions
polly/lib/CMakeLists.txt
polly/lib/Exchange/CMakeLists.txt
+18
-0
18 additions, 0 deletions
polly/lib/Exchange/CMakeLists.txt
with
22 additions
and
11 deletions
polly/lib/CMakeLists.txt
+
4
−
11
View file @
23156484
add_subdirectory
(
Analysis
)
add_subdirectory
(
Analysis
)
add_subdirectory
(
Exchange
)
add_subdirectory
(
Support
)
add_subdirectory
(
Support
)
add_subdirectory
(
JSON
)
add_subdirectory
(
JSON
)
set
(
MODULE TRUE
)
set
(
MODULE TRUE
)
set
(
LLVM_NO_RTTI 1
)
set
(
LLVM_NO_RTTI 1
)
if
(
OPENSCOP_FOUND
)
set
(
POLLY_EXCHANGE_FILES
Exchange/OpenScopImporter.cpp Exchange/OpenScopExporter.cpp
)
endif
(
OPENSCOP_FOUND
)
if
(
SCOPLIB_FOUND
)
if
(
SCOPLIB_FOUND
)
set
(
POLLY_SCOPLIB_FILES
set
(
POLLY_SCOPLIB_FILES Pocc.cpp
)
Pocc.cpp
Exchange/ScopLib.cpp
Exchange/ScopLibExporter.cpp
Exchange/ScopLibImporter.cpp
)
endif
(
SCOPLIB_FOUND
)
endif
(
SCOPLIB_FOUND
)
set
(
LLVM_USED_LIBS
set
(
LLVM_USED_LIBS
PollyAnalysis
PollyAnalysis
PollyExchange
PollySupport
PollySupport
PollyJSON
PollyJSON
)
)
...
@@ -33,13 +27,12 @@ add_polly_library(LLVMPolly
...
@@ -33,13 +27,12 @@ add_polly_library(LLVMPolly
RegionSimplify.cpp
RegionSimplify.cpp
RegisterPasses.cpp
RegisterPasses.cpp
ScheduleOptimizer.cpp
ScheduleOptimizer.cpp
Exchange/JSONExporter.cpp
${
POLLY_EXCHANGE_FILES
}
${
POLLY_SCOPLIB_FILES
}
${
POLLY_SCOPLIB_FILES
}
)
)
add_dependencies
(
LLVMPolly
add_dependencies
(
LLVMPolly
PollyAnalysis
PollyAnalysis
PollyExchange
PollySupport
PollySupport
PollyJSON
PollyJSON
)
)
...
...
This diff is collapsed.
Click to expand it.
polly/lib/Exchange/CMakeLists.txt
0 → 100644
+
18
−
0
View file @
23156484
if
(
OPENSCOP_FOUND
)
set
(
POLLY_OPENSCOP_FILES
OpenScopImporter.cpp
OpenScopExporter.cpp
)
endif
(
OPENSCOP_FOUND
)
if
(
SCOPLIB_FOUND
)
set
(
POLLY_SCOPLIB_FILES
ScopLib.cpp
ScopLibExporter.cpp
ScopLibImporter.cpp
)
endif
(
SCOPLIB_FOUND
)
add_polly_library
(
PollyExchange
JSONExporter.cpp
${
POLLY_OPENSCOP_FILES
}
${
POLLY_SCOPLIB_FILES
}
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment