Displaying 3 results from an estimated 3 matches for "mybuilddir".
Did you mean:
builddir
2012 Nov 27
0
[LLVMdev] Building llvm and clang with mixed assertion modes
...y,
enabling/disabling assertions as you like).
You can also modify clang/CMakeLists.txt by changing
add_definitions( -D_GNU_SOURCE )
to
add_definitions( -D_GNU_SOURCE -U_DEBUG -DNDEBUG )
which disables assertions for clang. Then build LLVM+Clang using the
option for enabling assertions:
mkdir mybuilddir && cd mybuilddir
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON path/to/llvm/src
(In the cmake build, assertions are disabled by default in Release mode)
2012 Nov 27
2
[LLVMdev] Building llvm and clang with mixed assertion modes
Hi,
I'd like to build llvm with assertions enabled, but build clang with
assertions disabled. In other words, I'd like lvm in Release+Asserts mode,
but clang in Release mode.
Is it possible to do this with one top level configure/make command? If not,
any idea how much work would it be to add this feature to llvm? I'm not very
familiar with llvm's build system.
Thanks!
2011 Sep 29
1
[LLVMdev] Beginner Question on Linking
...--help` for more information`. I drop the
`-defaultlib:libcmt` and the linker creates an executable but when I try to
run it I get the following errors:
Popup:
---------------------------
Unsupported 16-Bit Application
---------------------------
The program or feature
"\??\D:\OpenSource\LLVM\mybuilddir\bin\Debug\HelloWorld.exe" cannot start or
run due to incompatibity with 64-bit versions of Windows. Please contact the
software vendor to ask if a 64-bit Windows compatible version is available.
---------------------------
OK
---------------------------
Console:
`This version of D:\OpenSour...