search for: dllvm_optimized_tablegen

Displaying 20 results from an estimated 61 matches for "dllvm_optimized_tablegen".

2020 Apr 11
2
using the bat script build_llvm_package.bat on windows
where should the file build_llvm_package.bat be placed and how should the build_llvm_package.bat be called? or is there a another way to do a two stage build of the llvm project on windows starting with using visual studio 2017 community. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2019 Apr 16
3
Opt plugin linkage
...reproductivity: cmake -G "Sublime Text 2 - Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON -DLLVM_BUILD_TESTS=ON -DLLVM_BUILD_EXAMPLES=ON -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_TOOL_CLANG_BUILD=ON -DLLVM_TOOL_CLANG_TOOLS_EXTRA=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCLANG_BUILD_EXAMPLES=ON -DCLANG_PLUGIN_SUPPORT=ON Hope someone can help me out. Viktor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190416/5d782e46/attachment.html>
2020 Apr 10
2
Running clang tests
Hi Team, I have checked out the clang and llvm source code and built the executables using the visual studio 2015 community edition. I am using Windows as my platform. However I see that there are some test cases under the clang test folder in the LLVM.sln. Eg AstMatcherTest,ASTTests etc. I see that these tests make use of the Google test framework. In my visual studio I have
2019 Jul 06
2
Linker errors after installing/compiling LLVM/CLANG
...lowing folder structure as I do not want clang and llc to go to /usr/local >> >> LLVM-9 >> llvm-project (cloned from github) >> install >> >> I ran the following command line from the build directory in llvm-project as described in the doc, but added the DLLVM_OPTIMIZED_TABLEGEN=On variable : >> >> cmake -G Xcode -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install -DLLVM_OPTIMIZED_TABLEGEN=On ../llvm >> >> The cmake command above seems to work ok, but after that, when I compile the “install” or “build_all” schemes I get...
2019 Jun 29
2
Tablegen ridiculously slow when compiling for Debug
Hi Florian, Ok, I ran this: cmake -S LLVM -DCMAKE_INSTALL_PREFIX=INSTALL -DLLVM_OPTIMIZED_TABLEGEN=On -G Xcode Compiled it again from clean, and the situation is worse than before. Incremental builds take an incredible amount of time stuck in running Tablegen scripts for all targets. Now this happens both in Release and Debug configurations. Just before this, at least Release compiled fine, but...
2020 Jan 22
4
Longstanding failing tests - clang-tidy, MachO, Polly
...Failures: 7 The clang-tidy tests fail since end of November-December. The MachO tests fail since about the beginning of December. The Polly test fails since a few days ago. (see below for more info) I'm using the following cmake cmd-line: cmake -GNinja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_LIBXML2=OFF -DCMAKE_C_COMPILER="%VS2019%/bin/HostX64/x64/cl.EXE" -DCMAKE_CXX_COMPILER="%VS2019%/bin/HostX64/x64/cl.EXE" -DCMAKE_LINKER="%VS2019%/bin/HostX64/x64/link.EXE" -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;clang-too...
2018 May 16
2
Windows build strangeness
...or errors and run the second round, because it has been happening so consistently, but a proper build system shouldn't require such a workaround. For reference, I generated the sln/project files like this: cmake -G "Visual Studio 14 Win64" -Thost=x64 ^ -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON ^ -DLLVM_ENABLE_PROJECTS="llvm;clang;clang-tools-extra" ^ ..\llvm-project\llvm (Yes I know the optimized tablegen comes from a separate tree, that's built separately and always works. It's just the main build that fails.) Thanks, --paulr
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...y certain I'm compiling LLVM in optimized mode, but for reference, this is my build line:     cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" The overall time split, from valgrind, between shared libraries in my code is:     80.48%, libLLVM-6.0.so     8.83% libc-2.23.so     2.34% libleaf_lang.so (my front-end) -- edA-qa mort-ora-y http://mortoray.com/ Creator of the Leaf la...
2018 Mar 15
1
"Build Experimental Targets not working"
...to use '-DLLVM_TARGETS_TO_BUILD', but this gave a warning to use `LLVM_EXPERIMENTAL_TARGETS_TO_BUILD` as well (or instead?). So I compiled with these options: cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=gcc > -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=../install > -DLLVM_OPTIMIZED_TABLEGEN=On -LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="RISCV" > -DLLVM_TARGETS_TO_BULD="RISCV" .. > However after completing that compilation I get this message: CMake Warning: > Manually-specified variables were not used by the project: > LLVM_TARGETS_TO_BULD And RISCV d...
2020 Apr 10
4
Running clang tests
...Community 2019. I don’t recommend building LLVM inside Visual Studio. However you can generate or update the VS solution once in a while: * mkdir buildVS && cd buildVS * cmake {your_llvm_root}/llvm -G"Visual Studio 16 2019" -Thost=x64 -DLLVM_ENABLE_PROJECTS=clang;llvm -DLLVM_OPTIMIZED_TABLEGEN=ON Use Ninja instead for building: https://ninja-build.org/ it’s a lot faster - keep Visual Studio only for debugging. Ensure ninja.exe is in %PATH%. From a Visual Studio shell (“x64 Native Tools Command Prompt for VS 2019” in the Start menu) run the following: * mkdir buildNinjaRel &&am...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...-DLLVM_ENABLE_CXX1Y=ON \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_ENABLE_LIBCXX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_THREADS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_INCLUDE_EXAMPLES=ON \ -DLLVM_INCLUDE_UTILS=ON \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_PARALLEL_COMPILE_JOBS=15 \ -DLLVM_PARALLEL_LINK_JOBS=15 \ -DLLVM_TARGETS_TO_BUILD="X86" \ -DLLVM_TARGETS_WITH_JIT="X86" Any suggestions? Thank you in advance. -H
2017 Oct 04
2
Unit tests in compiler-rt not rebuilding with changes to runtimes?
...can you provide your CMake configuration command line? cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja -DCMAKE_CXX_COMPILER=clang++-3.9 -DCMAKE_C_COMPILER=clang-3.9 -DCMAKE_ASM_COMPILER=clang-3.9 -DLLVM_USE_LINKER=gold -DLLVM_USE_SPLIT_DWARF=On -DBUILD_SHARED_LIBS=ON -DLLVM_OPTIMIZED_TABLEGEN=On -DCOMPILER_RT_BUILD_XRAY=On -DLLVM_ENABLE_ASSERTIONS=On -DCOMPILER_RT_INCLUDE_TESTS=On -DLLVM_ENABLE_SPHINX=On -DSPHINX_WARNINGS_AS_ERRORS=On -DCMAKE_CXX_FLAGS="-Wpedantic" -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ../llvm I'm building in Linux, x86_64. Cheers > > Thanks, >...
2019 Jul 07
2
Linker errors after installing/compiling LLVM/CLANG
...nd llc to go to /usr/local >>>> >>>> LLVM-9 >>>> llvm-project (cloned from github) >>>> install >>>> >>>> I ran the following command line from the build directory in llvm-project as described in the doc, but added the DLLVM_OPTIMIZED_TABLEGEN=On variable : >>>> >>>> cmake -G Xcode -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install -DLLVM_OPTIMIZED_TABLEGEN=On ../llvm >>>> >>>> The cmake command above seems to work ok, but after that, when I compile the “instal...
2019 Jun 30
2
Tablegen ridiculously slow when compiling for Debug
...e try building llvm as a shared objects.. > > On Jun 30, 2019 1:30 AM, "Joan Lluch via llvm-dev" <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > Hi Florian, > > Ok, I ran this: > > cmake -S LLVM -DCMAKE_INSTALL_PREFIX=INSTALL -DLLVM_OPTIMIZED_TABLEGEN=On -G Xcode > > Compiled it again from clean, and the situation is worse than before. Incremental builds take an incredible amount of time stuck in running Tablegen scripts for all targets. Now this happens both in Release and Debug configurations. Just before this, at least Release compiled...
2019 Jul 26
2
Some xcode schemes not appearing now in Xcode after cmake install (??)
...ever, the ‘clang’ schema, and anything related with clang, is completely missing in the generated xcode project, so clang can’t be compiled. This is the full command line that I used from the 'llvm-project/build' directory: cmake -G Xcode -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_ENABLE_PROJECTS="clang" ../llvm I know that the quick reply to my issue is: 'just use Ninja’, but I have already replied to that in the past. My work on LLVM+clang to create a compiler backend is essentially completed and the compiler is just a small part of a bigger projec...
2018 May 16
1
Windows build strangeness
...d, > because it has been happening so consistently, but a proper build > system shouldn't require such a workaround. > > For reference, I generated the sln/project files like this: > > cmake -G "Visual Studio 14 Win64" -Thost=x64 ^ > -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON ^ > -DLLVM_ENABLE_PROJECTS="llvm;clang;clang-tools-extra" ^ > ..\llvm-project\llvm > > (Yes I know the optimized tablegen comes from a separate tree, > that's built separately and always works. It's just the main > build that fails.) > > Thanks, &gt...
2019 Jul 07
2
Linker errors after installing/compiling LLVM/CLANG
...created the following folder structure as I do not want clang and > llc to go to /usr/local > > LLVM-9 > llvm-project (cloned from github) > install > > I ran the following command line from the build directory in llvm-project > as described in the doc, but added the DLLVM_OPTIMIZED_TABLEGEN=On variable > : > > cmake -G Xcode -DLLVM_ENABLE_PROJECTS=clang > -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install > -DLLVM_OPTIMIZED_TABLEGEN=On ../llvm > > The cmake command above seems to work ok, but after that, when I compile > the “install” or “build_all” schemes I ge...
2019 Jun 30
3
Tablegen ridiculously slow when compiling for Debug
...red objects.. >> >> On Jun 30, 2019 1:30 AM, "Joan Lluch via llvm-dev" <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> Hi Florian, >> >> Ok, I ran this: >> >> cmake -S LLVM -DCMAKE_INSTALL_PREFIX=INSTALL -DLLVM_OPTIMIZED_TABLEGEN=On -G Xcode >> >> Compiled it again from clean, and the situation is worse than before. Incremental builds take an incredible amount of time stuck in running Tablegen scripts for all targets. Now this happens both in Release and Debug configurations. Just before this, at least Release...
2018 Aug 30
2
Building/Running LLVM Tests with Sanitizers
...m the same toolchain in step 1 couldn't find the libc++ with msan instrumentation. Here's the CMake command I'm using: ==== cmake -GNinja -DCMAKE_C_COMPILER=$HOME/xray/llvm-project-build/bin/clang -DCMAKE_CXX_COMPILER=$HOME/xray/llvm-project-build/bin/clang++ -DCMAKE_BUILD_TYPE=Debug -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_USE_SANITIZER=MemoryWithOrigins -DLLVM_ENABLE_LLD=On -DLLVM_INCLUDE_TESTS=On -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DCMAKE_LINK_FLAGS=-stdlib=libc++ ../llvm-project/llvm ==== And I'm running the tests like so: ==== ninja check-llvm ==== I'm doing this wit...
2019 Jul 07
3
Linker errors after installing/compiling LLVM/CLANG
...ructure as I do not want clang and >> llc to go to /usr/local >> >> LLVM-9 >> llvm-project (cloned from github) >> install >> >> I ran the following command line from the build directory in llvm-project >> as described in the doc, but added the DLLVM_OPTIMIZED_TABLEGEN=On variable >> : >> >> cmake -G Xcode -DLLVM_ENABLE_PROJECTS=clang >> -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install >> -DLLVM_OPTIMIZED_TABLEGEN=On ../llvm >> >> The cmake command above seems to work ok, but after that, when I compile >> the “inst...