Displaying 8 results from an estimated 8 matches for "link_polly_into_tools".
2016 Feb 03
2
opt with Polly doesn't find the passes
...y which I did not
>>>> select. But that's likely not the problem since a lot of polly options
>>>> are apparently there.
>>>>
>>>> Out of ideas for now.
>>>
>>> This is surprising, indeed.
>>>
>>> The option is: LINK_POLLY_INTO_TOOLS:BOOL=ON. It might be worth giving
>>> it a try.
>>>
>>> What ubuntu version are you on precisely? I can try the 3.8 branch
>>> tonight myself.
>>
>> Ubuntu 14.04 LTS x86-64.
>
> Thanks. If you have cycles to try a LINK_POLLY_INTO_TOOLS:BOOL=ON b...
2016 Feb 03
2
opt with Polly doesn't find the passes
...the
>> option to link opt statically with the polly library which I did not
>> select. But that's likely not the problem since a lot of polly options
>> are apparently there.
>>
>> Out of ideas for now.
>
> This is surprising, indeed.
>
> The option is: LINK_POLLY_INTO_TOOLS:BOOL=ON. It might be worth giving
> it a try.
>
> What ubuntu version are you on precisely? I can try the 3.8 branch
> tonight myself.
Ubuntu 14.04 LTS x86-64.
>
> Best,
> Tobias
>
2019 Apr 18
3
Opt plugin linkage
...gine
)
# 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 -*--===;
;
; The LLV...
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 Feb 03
4
opt with Polly doesn't find the passes
Hi Tobias,
I tried to invoke other passes and none of them are available, e.g.:
~/toolchain/install/llvm-3.8/bin/opt -load
~/toolchain/install/llvm-3.8/lib/libPolly.so -polly-cleanup
opt: Unknown command line argument '-polly-cleanup'. Try:
'/home/fwinter/toolchain/install/llvm-3.8/bin/opt -help'
opt: Did you mean '-polly-tiling'?
I am just shooting around hoping to
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
...BCXX_TARGET_TRIPLE:STRING=x86_64-pc-linux
//Path to a file.
LIBXML2_INCLUDE_DIR:PATH=/usr/include/libxml2
//Path to a library.
LIBXML2_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libxml2.so
//Path to a program.
LIBXML2_XMLLINT_EXECUTABLE:FILEPATH=/usr/bin/xmllint
//Static link Polly into tools
LINK_POLLY_INTO_TOOLS:BOOL=OFF
//Command used to spawn llvm-lit
LIT_COMMAND:STRING=/usr/bin/python;/usr/local/google/home/blaikie/dev/llvm/src/utils/lit/lit.py
//Build the lld tools. If OFF, just generate build targets.
LLD_BUILD_TOOLS:BOOL=ON
//Enable VTune user task tracking.
LLD_USE_VTUNE:BOOL=OFF
//Dependencies...