Displaying 7 results from an estimated 7 matches for "cmake_arg".
Did you mean:
cmake_ar
2012 Jun 17
0
[LLVMdev] Compiling libc++ from within llvm (3.1)
...rkspace/llvm/src/projects/libcxx/include/algorithm:591:0,
> from /local/mnt/workspace/llvm/src/projects/libcxx/src/algorithm.cpp:10:
> /local/mnt/workspace/llvm/src/projects/libcxx/include/type_traits:731:2: error: #error is_base_of not implemented.
My command looks:
> cmake_args="Unix Makefiles"
> cmake -G "$cmake_args" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../bin" ../src
> make
Alternatively, I tried to compile llvm/clang with libc++ but couldnt
figure out how to pass...
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...oject_Add name source_dir)
> > - cmake_parse_arguments(ARG "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL"
> > + cmake_parse_arguments(ARG
> > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN"
> > "SOURCE_DIR"
> > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIBRARIES;DEPENDS;EXTRA_TARGETS" ${ARGN})
> > canonicalize_tool_name(${name} nameCanon)
> > @@ -52,6 +53,10 @@
> > endif()
> > endforeach()
> >
> > + if(ARG_ALWAYS_CLEAN)
> > + set(always_clean clean)
> > +...
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 09
2
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...> - cmake_parse_arguments(ARG "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL"
>>> > + cmake_parse_arguments(ARG
>>> > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN"
>>> > "SOURCE_DIR"
>>> > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIBRARIES;DEPENDS;EXTRA_TARGETS" ${ARGN})
>>> > canonicalize_tool_name(${name} nameCanon)
>>> > @@ -52,6 +53,10 @@
>>> > endif()
>>> > endforeach()
>>> >
>>> > + if(ARG_ALWAYS_CLEAN)
&g...
2014 Feb 21
4
[LLVMdev] compiler-rt CMake build
...k as expected.
I add the following code to the tools/clang/runtime/CMakeLists.txt to
configure compiler-rt as external project:
ExternalProject_Add(compiler-rt
#DEPENDS clang clang++ llvm-config
PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt
SOURCE_DIR ${COMPILER_RT_SRC_ROOT}
CMAKE_ARGS -DCMAKE_C_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang
-DCMAKE_CXX_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang++
-DCMAKE_BUILD_TYPE=Release
-DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config
-DCOMPILER_RT_OUTPUT_DIR=${LLVM_LIBRARY_OUTPU...
2012 Jun 20
0
[LLVMdev] Build llvm/clang with cmake vs configure produces different set of artifacts
...option, it just puts
everything in the build directory
- configure doesnt create the include dir under "Release+Asserts"
- configure doesnt create files like clang/CodeGen/ModuleBuilder.h
The list of artifacts is attached. Any pointers? The commands I used are:
> cmake -G "$cmake_args" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../bin" ../src
> ../src/configure --prefix=$PWD/../bin --enable-libcpp --enable-optimized --disable-docs --enable-targets=host --with-extra-options="-I$PWD/../../libcxx/...
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
2016 Jun 10
4
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...G "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL"
>>>>> > + cmake_parse_arguments(ARG
>>>>> > + "USE_TOOLCHAIN;EXCLUDE_FROM_ALL;NO_INSTALL;ALWAYS_CLEAN"
>>>>> > "SOURCE_DIR"
>>>>> > "CMAKE_ARGS;TOOLCHAIN_TOOLS;RUNTIME_LIBRARIES;DEPENDS;EXTRA_TARGETS" ${ARGN})
>>>>> > canonicalize_tool_name(${name} nameCanon)
>>>>> > @@ -52,6 +53,10 @@
>>>>> > endif()
>>>>> > endforeach()
>>>>> >
>...
2014 Feb 06
3
[LLVMdev] compiler-rt CMake build
On Thu, Feb 6, 2014 at 7:57 PM, Jean-Daniel Dupas <devlists at shadowlab.org>wrote:
>
> Le 6 févr. 2014 à 16:20, Brad King <brad.king at kitware.com> a écrit :
>
> > On 02/06/2014 08:12 AM, Alexey Samsonov wrote:
> >> Please note that it makes a lot of sense to built compiler-rt (and
> sanitizers) with just-built
> >> Clang. In fact, even though we