Displaying 20 results from an estimated 24 matches for "dllvm_config_path".
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...Yes it is.
>>> Are you doing a Debug or Release build?
>>> Using ninja?
>>
>> Release build, cmake + MSVC (not using ninja).
>>
>> Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
>>
>> E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
>> "Visual Studio 12" ..\compiler-rt
>
> Sorry, that should read:
>
> E:\llvm\crt_build>cmake
> -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin\llvm-config.exe -G "Visual
> Studio 12" ..\compiler-rt
>
> ~Aaron
>>
>>...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...3 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
> Yes it is.
> Are you doing a Debug or Release build?
> Using ninja?
Release build, cmake + MSVC (not using ninja).
Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
"Visual Studio 12" ..\compiler-rt
Opened up the solution, hit Build All.
~Aaron
>
> 2014-10-23 9:51 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>> Hello! I'm wondering whether compiler-rt is expected to be buildable
>> with...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...e build?
>>>>> Using ninja?
>>>>
>>>> Release build, cmake + MSVC (not using ninja).
>>>>
>>>> Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
>>>>
>>>> E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
>>>> "Visual Studio 12" ..\compiler-rt
>>>
>>> Sorry, that should read:
>>>
>>> E:\llvm\crt_build>cmake
>>> -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin\llvm-config.exe -G "Visual
>>> Studio 1...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...gt;>>>>
>>>>>> Release build, cmake + MSVC (not using ninja).
>>>>>>
>>>>>> Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
>>>>>>
>>>>>> E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
>>>>>> "Visual Studio 12" ..\compiler-rt
>>>>>
>>>>> Sorry, that should read:
>>>>>
>>>>> E:\llvm\crt_build>cmake
>>>>> -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin\llvm-...
2014 Sep 23
3
[LLVMdev] compiler-rt with MSVC?
...em
automatically. Do I need to do anything specific to get the same with MSVC?
I've tried setting -DLLVM_BUILD_EXTERNAL_COMPILER_RT either ON or OFF, but
can't find any evidence of compiler-rt getting built. If I build compiler-rt
separately, pointing it to an installed LLVM build with -DLLVM_CONFIG_PATH,
the only thing that ends up in the install result is the sanitizer headers.
Should this be working, or is it still under construction? When I tried with
LLVM 3.3 I was getting a bunch of syntax errors from MSVC in compiler-rt, so
presumably it wasn't yet MSVC-compatible at that time. Has t...
2015 Feb 13
2
[LLVMdev] [Compiler-rt] i386 is not supported in compiler-rt build
I am trying to build compiler-rt on a x86_64 machine using clang.
Command used:
CC=clang CXX=clang++ cmake <path to compiler-rt> -DLLVM_CONFIG_PATH=<Path
to llvm toolchain>/bin/llvm-config -DCOMPILER_RT_INSTALL_PATH=<Path to llvm
toolchain>/lib/clang/3.7.0
after this command on console it prints,
-- Compiler-RT supported architectures: x86_64
Instead if I use gcc in above command, it supports both i386, x86_64
-- Compiler-RT supp...
2014 Oct 23
3
[LLVMdev] compiler-rt with MSVC 2013
...>>> Release build, cmake + MSVC (not using ninja).
>>>>>>>>
>>>>>>>> Perhaps I have it configured stupidly; I have it as an out-of-tree folder, did:
>>>>>>>>
>>>>>>>> E:\llvm\crt_build>cmake -DLLVM_CONFIG_PATH=E:\llvm\2013\Debug\bin -G
>>>>>>>> "Visual Studio 12" ..\compiler-rt
>>>>>>>
>>>>>>> Sorry, that should read:
>>>>>>>
>>>>>>> E:\llvm\crt_build>cmake
>>>>>>>...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
Hello! I'm wondering whether compiler-rt is expected to be buildable
with MSVC 2013. I am currently getting:
Error 49 error LNK2005: _free already defined in asan_malloc_win.obj
E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll)
Which seems to be the only issue (aside from ~50 warnings, which I'll
happily work on cleaning up). I get this when I build the ALL_BUILD
project in the
2014 Feb 21
4
[LLVMdev] compiler-rt CMake build
...g
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_OUTPUT_INTDIR}/clang/${CLANG_VERSION}
-DCOMPILER_RT_INSTALL_PATH=lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}
# -DCOMPILER_RT_INCLUDE_TESTS=ON
INSTALL_COMMAND ""
)
add_de...
2015 Mar 09
5
[LLVMdev] Build failure with compiler-rt on trunk under linux
I've been building clang on linux for a couple of years now,
contributing to the testing on Ubuntu, but this one has me stumped:
fatal error: 'asm/socket.h' file not found
#include <asm/socket.h>
[1556/4006] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cc.o
FAILED:
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...clang/bin/clang
-DCMAKE_AR=/usr/local/myclang/bin/llvm-ar
-DCMAKE_NM=/usr/local/myclang/bin/llvm-nm
-DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
-DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf"
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
-DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config
-DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a
--gcc-toolchain=/home/crichter/arm-linux-gnueabihf/gcc-arm
--sysroot=/home/crichter/arm-linux-gnueabihf/sysroot-glibc/"
-DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a
--...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...ocal/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY -DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf" -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config -DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-toolchain=/home/crichter/arm-linux-gnueabihf/gcc-arm --sysroot=/home/crichter/arm-linux-gnueabihf/sysroot-glibc/" -DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-t...
[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)
...if(FOUND_CLANG GREATER -1)
> > set(CLANG_IN_TOOLCHAIN On)
> > @@ -135,6 +140,14 @@
> > CMAKE_ARGS ${${nameCanon}_CMAKE_ARGS}
> > ${compiler_args}
> > -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
> > + -DLLVM_CONFIG_PATH=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-config
> > + -DLLVM_LIBRARY_OUTPUT_INTDIR=${LLVM_LIBRARY_OUTPUT_INTDIR}
> > + -DLLVM_RUNTIME_OUTPUT_INTDIR=${LLVM_RUNTIME_OUTPUT_INTDIR}
> > + -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
> > +...
2020 Sep 14
2
Cross compiling for ARMv7-m
Hi Peter,
On Wed, 26 Feb 2020 at 18:37, Peter Smith via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hello Arslan,
>
> > I am guessing I can borrow libraries such as lc and lm from GCC
> > arm-none-eabi*, but for clang_rt.builtins-arm.a (which I thought
> > should've been built with LLVM build but I couldn't find that library
> > in my build
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ocal/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY -DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf" -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config -DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-toolchain=/home/crichter/arm-linux-gnueabihf/gcc-arm --sysroot=/home/crichter/arm-linux-gnueabihf/sysroot-glibc/" -DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-t...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ocal/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY -DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf" -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config -DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-toolchain=/home/crichter/arm-linux-gnueabihf/gcc-arm --sysroot=/home/crichter/arm-linux-gnueabihf/sysroot-glibc/" -DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-t...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...clang/bin/clang
-DCMAKE_AR=/usr/local/myclang/bin/llvm-ar
-DCMAKE_NM=/usr/local/myclang/bin/llvm-nm
-DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
-DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf"
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
-DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config
-DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a"
-DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a"
now "ninja builtins" at least starts working, but fails after a while
(see below). The error seems similar...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ocal/myclang/bin/clang -DCMAKE_AR=/usr/local/myclang/bin/llvm-ar -DCMAKE_NM=/usr/local/myclang/bin/llvm-nm -DCMAKE_RANLIB=/usr/local/myclang/bin/llvm-ranlib -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY -DCMAKE_C_COMPILER_TARGET="arm-linux-gnueabihf" -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_CONFIG_PATH=/usr/local/myclang/bin/llvm-config -DCMAKE_ASM_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-toolchain=/home/crichter/arm-linux-gnueabihf/gcc-arm --sysroot=/home/crichter/arm-linux-gnueabihf/sysroot-glibc/" -DCMAKE_C_FLAGS="--target=arm-linux-gnueabihf -march=armv7a --gcc-t...
2019 Jan 01
3
llvm-config deprecation
My build process:
$ cd llvm/
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local
-DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=Release
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="WebAssembly;AVR;RISCV"
-DLLVM_ENABLE_LIBXML2=OFF
$ make install
$ cd clang/
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local
-DCMAKE_PREFIX_PATH=$HOME/local
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