Displaying 20 results from an estimated 1000 matches similar to: "Compiling LLVM with locally built clang | Errors"
2017 Aug 08
2
Safety of changing values of variables by editing CMakeCache.txt Vs supplying them through the command line
Hello,
I'm working on a project involving LLVM and keep shifting between the Debug
and Release build by assigning different values to CMAKE_BUILD_TYPE in
<llvm_build>/CMakeCache.txt and then building it.
I wanted to know if this was a safe alternative to re-configuring the build
after removing <llvm_build>/CMakeFiles/ and <llvm_build>/CMakeCache.txt.
Thanks,
Sanjay
2019 Sep 05
3
Building LLVM with LLVM
Hi folks!
I'm trying to build LLVM with LLVM on Ubuntu using the commands below.
Building it with the GNU stuff (cpp, gcc, g++ and binutils packages) works,
but after removing it, moving LLVM to /usr/local and symlinking /usr/bin/ld
to ld.lld, I'm getting the following:
=== snip ===
-- The C compiler identification is Clang 8.0.1
-- The CXX compiler identification is Clang 8.0.1
-- The
2015 Feb 20
3
[LLVMdev] Building Compiler-RT on Windows
[+Saleem]
On Fri Feb 20 2015 at 10:31:04 PM Daniel Dilts <diltsman at gmail.com> wrote:
> I am using CMake 3.1.2.
>
> On Fri, Feb 20, 2015 at 10:00 AM, Alexey Samsonov <vonosmas at gmail.com>
> wrote:
>
>> It looks like your command fails early in CMake TryCompile tests. Does
>> (your version of) CMake supports using Clang on Windows at all?
>>
2016 Oct 21
4
llvm build failed on Fedora 24
Hi,
I'm try to build llvm on my PC but it failed. I'm using following command,
$ cmake -G "Ninja" ../llvm -DCMAKE_INSTALL_PREFIX=prefix=$INSTALL_PATH
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On
$ ninja-build -j 2
I have skipped libcxx and libcxxabi package.
It shows below error,
00:04:23 [3261/3430] Building CXX object
2015 Feb 20
2
[LLVMdev] Building Compiler-RT on Windows
Has anyone built Compiler-RT on Windows? I am attempting to compile it for
ARM, but I get errors from CMake. It appears to be trying to pass VC++
flags to Clang. I am using a version of Clang built from trunk.
PS D:\llvm\arm_test\compiler-rt-build> cmake -G Ninja
-DCMAKE_C_COMPILER=clang.exe -DCMAKE_CXX_COMPILER=clang++.exe -DCM
AKE_RC_COMPILER=rc.exe -DCMAKE_CXX_FLAGS=""
2018 Aug 03
10
[7.0.0 Release] rc1 has been tagged
Dear testers,
7.0.0-rc1 was just tagged (from the branch at r338847).
It's early in the release process, but I'd like to find out what the
status is of the branch on our various platforms.
Please run the test script, share the results, and upload binaries.
Thanks,
Hans
2017 Mar 12
2
What does it mean by a "DICompileUnit missing from llvm.dgs.cu" ? | Where is the error ?
On Sat, Mar 11, 2017, at 07:34 PM, David Blaikie via llvm-dev wrote:
> On Sat, Mar 11, 2017 at 3:10 AM SANJAY SRIVALLABH SINGAPURAM via llvm-dev
> <
> llvm-dev at lists.llvm.org> wrote:
>
> > Hello,
> >
> > One of my Julia programs failed to execute with the following error,
> > DICompileUnit not listed in llvm.dbg.cu
> > !11 = distinct
2020 Aug 09
3
Switching to Ninja
Sigh. I ask for your indulgence yet again.
I installed Ninja and deleted my old build tree. When I run CMake now, I'm told that it can't find the compilers and assembler. So, of course, I need to put a compiler toolset on my path. I tried MinGW but was instantly reminded that it doesn't have localtime_s. So I tried to find the Visual Studio binaries and located four different
2018 Sep 21
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
my build environment:
Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)
x64 Native Tools Command Prompt for VS 2017
directory structure:
test
llvm <-- git clone https://github.com/llvm-mirror/llvm, git checkout
release_70
tools
clang <-- git clone https://github.com/llvm-mirror/clang, git
checkout
2012 Mar 28
2
[LLVMdev] Building past few days with Clang++ and Clang produces errors on Cmake for Debian Linux
*System:* Debian Linux Sid/Unstable amd64
*LLVM/Clang:* Trunk
*Scenario:* In the past couple of days I've been compiling against trunk
I get two separate and spurious hang ups with CMake.
*Note:* I build against more than just X86 follow along the progress of
other platforms, though just building for X86 produces the same results
below.
*Assumption:* Configure cmake with prior built
2015 Feb 26
0
[LLVMdev] Building Compiler-RT on Windows
On Fri, Feb 20, 2015 at 12:54 PM, Timur Iskhodzhanov <timurrrr at google.com>
wrote:
> [+Saleem]
>
>
> On Fri Feb 20 2015 at 10:31:04 PM Daniel Dilts <diltsman at gmail.com> wrote:
>
>> I am using CMake 3.1.2.
>>
>> On Fri, Feb 20, 2015 at 10:00 AM, Alexey Samsonov <vonosmas at gmail.com>
>> wrote:
>>
>>> It looks like your
2019 Jun 08
2
Help Building LLVM for Android
Hey Guys,
I'm working on a project in Android related to System-level Audio DSP
Effects for Tuning Android Audio. I want to leverage Faust (
https://faust.grame.fr/) to allow users to program their own filters.
Faust provides a libfaust implementation which includes a JIT Compiler
which leverages LLVM and seems to be the best path for me to use.
Unfortunately I'm having problems
2015 Feb 26
1
[LLVMdev] Building Compiler-RT on Windows
I am attempting to build for bare-metal ARM.
On Wed, Feb 25, 2015 at 9:13 PM, Saleem Abdulrasool <compnerd at compnerd.org>
wrote:
>
>
> On Fri, Feb 20, 2015 at 12:54 PM, Timur Iskhodzhanov <timurrrr at google.com>
> wrote:
>
>> [+Saleem]
>>
>>
>> On Fri Feb 20 2015 at 10:31:04 PM Daniel Dilts <diltsman at gmail.com>
>> wrote:
2008 Jul 31
0
[LLVMdev] Is there room for another build system?
Albert Graef wrote:
> The broken mingw support (as pointed out by Stuart) [...]
s/Stuart/Kenneth/ Sorry.
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email: Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW: http://www.musikinformatik.uni-mainz.de/ag
2020 Aug 08
5
Switching to Ninja
I built my first submission with Visual Studio, but everything I read and watch suggests Ninja, about which I know nothing. Is it okay if I rerun CMake with -G "Ninja" in the same build directory, then just run ninja?
2016 Jul 07
3
Configure error on Solaris 10
Hello, I get the following error while trying to configure an llvm build on Solaris 10-SPARC:
CMake Error at projects/libcxx/CMakeLists.txt:268 (message):
C++11 is required but the compiler does not support -std=c++11
However, the error is about a missing header file (llvm/Support/Solaris.h) as reported in build/CMakeFiles/CMakeError.log:
Performing C++ SOURCE FILE Test
2020 Feb 04
2
CMakeTestCCompiler fails
Trunk clang does not pass CMake C Compiler test like below:
CMake Error at
/home/usr4/c74014i/opt/cmake-3.16.3-Linux-x86_64/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60
(message):
The C compiler
"/home/usr4/c74014i/opt/clang/current/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
2017 May 22
5
Default Location of CUDA headers in Windows and macOS
Hello,
Can anyone help me with the default installation locations of CUDA headers
in Windows and macOS ? e.g. /usr/local/cuda/include is the default for
Linux.
Thanks,
Sanjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170522/ca97c66b/attachment.html>
2018 Sep 19
4
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
>because with that generator the CMAKE_BUILD_TYPE variable is ignored
>because it is a "multi-configuration target".
thanks for the link, is that a bug in the CMake configuration (or better
not getting any warning) or is there just documentation missing?
so i can use --config Debug or --config Release and get the correct
results - i hope that works the build takes hours
2018 Sep 19
2
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
my build environment:
Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)
directory structure
test
llvm <-- git clone https://github.com/llvm-mirror/llvm
tools
clang <-- git clone https://github.com/llvm-mirror/clang
llvm_build
Debug build: clean build, llvm_build is deleted before
llvm_build> cmake