search for: llvm_enable_pic

Displaying 7 results from an estimated 7 matches for "llvm_enable_pic".

Did you mean: dllvm_enable_pic
2009 Sep 16
0
[LLVMdev] Suppressing cmake's LLVM_ENABLE_PIC for the Xcode generator
Hi, If you create an Xcode project with cmake -G Xcode ~/llvm and do a build, you end up with 68 warnings like this: -mdynamic-no-pic overrides -fpic or -fPIC This can be easily avoided doing: cmake -G Xcode -ULLVM_ENABLE_PIC ~/llvm But I think it would be nicer if it built warning-free with the simpler form. What do you think? Ray PS: CMake generated make style builds on Mac OS X don't use the - mdynamic-no-pic, so I guess you want -fPIC enabled there. -------------- next part -------------- An HTML attac...
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
...include and lib environment variables to point to zlib headers and libraries. Cmake version is 2.8.12.2 cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D TARGET_TRIPLE:STRING=%TRIPLE% -D LLVM_DEFAULT_TARGET_TRIPLE:STRING=%TRIPLE% -D LLVM_TARGET_ARCH:STRING=%TRIPLE% -D LLVM_ENABLE_PIC:BOOL=ON -D LLVM_ENABLE_ASSERTIONS:BOOL=ON -D CMAKE_INSTALL_PREFIX=%win_top_install_dir% -D CMAKE_BUILD_TYPE=%BLDMODE% -DLLVM_APPEND_VC_REV:BOOL=ON -D LLVM_VENDOR_NAME:STRING=%NAME% -D LLVM_VENDOR_VERSION:STRING=%VER% %win_top_src_dir%/llvm As far as I know, cmake tries to compile a simple file wi...
2015 Sep 20
3
LLVM static libs
Hi, the first question is addressed both to llvm-dev and gentoo-dev. The second one is Gentoo specific. Is there any possibility to build LLVM both as static and shared libraries? What I see currently is that our ebuild makes LLVM to build shared libs unconditionally. Is there a possibility (if it is impossible to build both lib types) to at least give to user control on what kind of libs he
2014 Jun 13
2
[LLVMdev] LLVMgold.so in windows LLVM builds
I am trying to build LLVMgold.so on windows. I came across this piece of code which includes “gold” source directory in tools/CMakeLists.txt if( LLVM_ENABLE_PIC ) # TODO: support other systems: if( (CMAKE_SYSTEM_NAME STREQUAL "Linux") OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ) add_llvm_tool_subdirectory(gold) else() ignore_llvm_tool_subdirectory(gold) endif() else() ignore_llvm_tool_subdirectory(gold) endif() This basically says, I c...
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
...FF //Compile with C++ modules enabled. LLVM_ENABLE_MODULES:BOOL=OFF //Compile with -gmodules. LLVM_ENABLE_MODULE_DEBUGGING:BOOL=OFF //Build OCaml bindings documentation. LLVM_ENABLE_OCAMLDOC:BOOL=ON //Compile with pedantic enabled. LLVM_ENABLE_PEDANTIC:BOOL=ON //Build Position-Independent Code LLVM_ENABLE_PIC:BOOL=ON //Semicolon-separated list of projects to build (clang;libcxx;libcxxabi;lldb;compiler-rt;lld;polly), // or "all". LLVM_ENABLE_PROJECTS:STRING= //Enable run time type information LLVM_ENABLE_RTTI:BOOL=OFF //Use Sphinx to generate llvm documentation. LLVM_ENABLE_SPHINX:BOOL=OFF...