Displaying 6 results from an estimated 6 matches for "with_polly".
2013 Oct 31
2
[LLVMdev] Why does cmake use LLVMBuild.txt to specify the LLVM-libs link order?
...formUtils LLVMVectorize LLVMipa)
The dependences set by the LLVMBuild.txt infrastructure are redundant with the
dependences specified in the CMakeLists.txt using add_dependencies as in:
add_dependencies(LLVMipo intrinsics_gen)
That also means that a conditional cmake dependence of the form:
if (WITH_POLLY AND NOT POLLY_BUILD_SHARED_LIB)
add_dependencies(LLVMipo LLVMPolly)
endif (WITH_POLLY AND NOT POLLY_BUILD_SHARED_LIB)
is not satisfied on the link command (the only place the add_dependencies is
currently used is to establish a build order of the components.)
It seems to me that the LLVMBuild.t...
2019 Apr 18
3
Opt plugin linkage
...s
ExecutionEngine
)
# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)
add_llvm_tool(opt
AnalysisWrappers.cpp
BreakpointPrinter.cpp
Debugify.cpp
GraphPrinters.cpp
NewPMDriver.cpp
PassPrinters.cpp
PrintSCC.cpp
opt.cpp
DEPENDS
intrinsics_gen
)
export_executable_symbols(opt)
if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
target_link_libraries(opt PRIVATE Polly)
endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS)
target_link_libraries(opt PUBLIC LLVMExecutionEngine)
```
Modified opt's LLVMBuild.txt:
```
;===- ./tools/opt/LLVMBuild.txt --------------------------------*- Conf -*--===;
;
;...
2019 Apr 16
2
Opt plugin linkage
Hey:
I spent sometime debugging this, it seems like editing ``llvm/tools/opt.cpp`` and move ``cl::ParseCommandLineOptions(argc, argv,
"llvm .bc -> .bc modular optimizer and analysis printer\n");`` to the beginning of main() solved it for me. I'm not sure if this is a bug on LLVM side
Zhang
------------------ Original ------------------
From: "Viktor Was BSc via
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
[ brutal-snip ]
...
> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
> optimized binaries) ]
>
> How do I anable LTO via CMAKE?
>
>
> LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...EPENDS:STATIC=
//Sanitizers can use cxxabi
SANITIZER_CAN_USE_CXXABI:BOOL=ON
//Dependencies for target
SampleAnalyzerPlugin_LIB_DEPENDS:STATIC=
//subversion command line client
Subversion_SVN_EXECUTABLE:FILEPATH=/usr/bin/svn
//Plist name
TOOL_INFO_PLIST:STRING=Info.plist
//Build LLVM with Polly
WITH_POLLY:BOOL=ON
//Dependencies for target
clangARCMigrate_LIB_DEPENDS:STATIC=
//Dependencies for target
clangASTMatchers_LIB_DEPENDS:STATIC=
//Dependencies for target
clangAST_LIB_DEPENDS:STATIC=
//Dependencies for target
clangAnalysis_LIB_DEPENDS:STATIC=
//Dependencies for target
clangApplyReplacemen...