Displaying 20 results from an estimated 52 matches for "build_llvm".
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
On Sat, 3 Jun 2017 16:04:57 -0700
Tim Northover <t.p.northover at gmail.com> wrote:
[snip]
> I think you should be able to fix it by changing the
> compiler-rt/lib/xray/test/CMakeLists.txt. If you find the
> "add_compiler_rt_test" call and move "-lstdc++" to the end, just after
> "-lrt" it should work.
Thanks, Tim. I don't see "-lrt":
2017 Jun 03
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
...t/openmp/tags/RELEASE_400/final/ openmp
svn co http://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_400/final/ libcxx
svn co http://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_400/final/ libcxxabi
svn co http://llvm.org/svn/llvm-project/test-suite/tags/RELEASE_400/final/ test-suite
mkdir $BASE/build_llvm
cd $BASE/build_llvm
cmake3 -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/.local/llvm \
-DCMAKE_BUILD_TYPE=Release $BASE/llvm_Rel400
ninja-build
ninja-build check-all 2>&1 | tee check.log
-----
The last few lines of the log file look like this:
[112/475] cd /home/hanzer/build/build_llvm/projects...
2009 Jun 19
1
[LLVMdev] Compiler error when building LLVM-GCC
...VE_CONFIG_H -Wno-unused
-DTARGET_NAME=\"i686-pc-linux-gnu\" -I. -I. -I../../../llvm-gcc/gcc
-I../../../llvm-gcc/gcc/. -I../../../llvm-gcc/gcc/../include
-I../../../llvm-gcc/gcc/../libcpp/include
-I../../../llvm-gcc/gcc/../libdecnumber -I../libdecnumber
-I/home/mcuelenaere/llvm_build/build_llvm-gcc/obj/../../build_llvm//include
-I//include -DENABLE_LLVM
-I/home/mcuelenaere/llvm_build/build_llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I.
-I../../../llvm-gcc/gcc -I../../../llvm-gcc/gcc/.
-I../../../llvm-gcc/gcc/../include
-I../../../llvm-gcc/gcc/....
2011 Jul 12
0
[LLVMdev] Cross-compile to ARM using Code Sourcery Lite Toolchain
...etc. instead of a fully qualified name with the triple as prefix) or there's something broken in the host tools installation.
-Jim
On Jul 11, 2011, at 9:03 PM, Whee Cheng Ong wrote:
> Hi Jim
>
> Thanks for your suggestion of building llvm in a dedicated directory.
> However, it (build_llvm) does not work, and for some reasons, it
> appear to re-run configure when make is called, using different host
> and target configurations:
> fusion at fusion-desktop:~/Desktop/Samsung/OpenCL/src/build_llvm$ make
> checking build system type... i686-pc-linux-gnu
> checking host syst...
2011 Jul 11
3
[LLVMdev] Cross-compile to ARM using Code Sourcery Lite Toolchain
Hello
I am new to LLVM and would like to cross-compile LLVM 2.9 on x86
(Ubuntu) to ARM using Code Sourcery LIte toolchain for ARM EABI
(2011.03-41).
This is the command I used to configure:
./configure --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi
--target=arm-none-linux-gnueabi
followed by:
make -C llvm.2.9 ENABLE_OPTIMIZED=0
I encountered the following errors:
configure:error:
2009 Oct 08
4
[LLVMdev] fudging the top-level Makefile
Currently, to get LLVM to build "Apple-style," it's necessary to copy
two files (utils/buildit/GNUmakefile and utils/buildit/build_llvm)
into the top-level directory. This is generally a PITA inside of
Apple. (I'll spare you the gory details. :-)
I'd like to fix this for Apple, and I want to avoid compromising
anybody else's build system. I've never used CMAKE, so I would be
very grateful if a Windows/C...
2009 Oct 09
0
[LLVMdev] fudging the top-level Makefile
On Oct 8, 2009, at 4:52 PM, Stuart Hastings wrote:
> Currently, to get LLVM to build "Apple-style," it's necessary to
> copy two files (utils/buildit/GNUmakefile and utils/buildit/
> build_llvm) into the top-level directory.
Why not:
$ RC_ARCHS="x86" make
echo Apple Build.
Apple Build.
$ make
echo Standard Build
Standard Build
$ cat Makefile
ifneq ($(RC_ARCHS),)
include Makefile.apple
else
all:
echo Standard Build
endif
mrs $ cat Makefile.apple
all:
echo Apple Build.
It lea...
2011 Sep 26
1
[LLVMdev] Compiling LLVM w/ Clang for ARMv7 and ARMv6 archs from a i386 OSX machine
...e:
>
>> checking for armv7-apple-darwin-clang... no
>> checking for armv7-apple-darwin-llvm-gcc... no
>> checking for armv7-apple-darwin-gcc... no
>
> It's because you don't have a compiler around that targets arm by default.
Exactly right.
You can look in the build_llvm script for an ugly-but-effective way to work around that on Darwin.
-Jim
2009 Oct 09
2
[LLVMdev] fudging the top-level Makefile
On Oct 8, 2009, at 5:18 PM, Mike Stump wrote:
> On Oct 8, 2009, at 4:52 PM, Stuart Hastings wrote:
>> Currently, to get LLVM to build "Apple-style," it's necessary to
>> copy two files (utils/buildit/GNUmakefile and utils/buildit/
>> build_llvm) into the top-level directory.
>
> Why not:
>
> $ RC_ARCHS="x86" make
> echo Apple Build.
> Apple Build.
> $ make
> echo Standard Build
> Standard Build
> $ cat Makefile
> ifneq ($(RC_ARCHS),)
> include Makefile.apple
> else
> all:
> echo Stan...
2016 Feb 26
0
[LLVM v3.8.0rc3] cmake-2.8.12: Statistics gcc-4.9 VS. clang-3.8
...-r-- 1 wearefam wearefam 14295 Feb 24 15:53
logs/configure-log_llvm-toolchain-3.8.0rc3.txt
$ cat disc-usage_llvm-toolchain-3.8.0rc3.txt
315 llvm
1464 llvm-build
864 /opt/llvm-toolchain-3.8.0rc3
- EOT -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain_clang-cmake-ninja.sh
Type: application/x-sh
Size: 3058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160226/44a815cc/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain_gcc-m...
2009 Oct 09
0
[LLVMdev] fudging the top-level Makefile
...;
> On Oct 8, 2009, at 5:18 PM, Mike Stump wrote:
>
>> On Oct 8, 2009, at 4:52 PM, Stuart Hastings wrote:
>>> Currently, to get LLVM to build "Apple-style," it's necessary to
>>> copy two files (utils/buildit/GNUmakefile and utils/buildit/
>>> build_llvm) into the top-level directory.
>>
>> Why not:
>>
>> $ RC_ARCHS="x86" make
>> echo Apple Build.
>> Apple Build.
>> $ make
>> echo Standard Build
>> Standard Build
>> $ cat Makefile
>> ifneq ($(RC_ARCHS),)
>> include Ma...
2015 Mar 10
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
...(incidentally, I
really wish it was!), I had to modify the definition of the classes and
functions that I need in order to have something like:
class LLVM_EXPORT Compilation { . };
rather than
class Compilation { . };
with LLVM_EXPORT being defined as:
#ifdef _WIN32
#ifdef BUILD_LLVM
#define LLVM_EXPORT __declspec(dllexport)
#else
#define LLVM_EXPORT __declspec(dllimport)
#endif
#else
#define LLVM_EXPORT
#endif
Now, as I mentioned before, that approach works fine up to LLVM+Clang 3.5.1,
but it fails with LLVM+Clang 3.6. Not for all the cla...
2013 Jul 05
2
[LLVMdev] Any suggestion for "Unknown instruction type encountered" error?
...I was playing with LLVM pass. I changed the
lib/Transforms/Hello/Hello.cpp 's content to be my own pass. Then I make
install the pass and use an example test1.c to see whether it works or not.
When I run example using the following command:
clang -emit-llvm test1.c -c -o test1.bc
opt -load ../build_llvm/Debug+Asserts/lib/LLVMHello.so -hello < test1.bc >
/dev/null
It shows the following error:
Unknown instruction type encountered!
UNREACHABLE executed at include/llvm/InstVisitor.h:120!
0 opt 0x00000000014190b6 llvm::sys::PrintStackTrace(_IO_FILE*)
+ 38
1 opt 0x0000...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...> ( For testing RCs I tend to use slow build - one single (c)make job. )
>
> My build-script and configure-log are attached.
>
> Thanks.
>
> Regards,
> - Sedat -
>
>
> [1] http://llvm.org/docs/CMake.html
> <configure-log_llvm-toolchain-3.8.0rc3.txt><build_llvm-toolchain.sh>_______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...L=OFF
#
#### TRYOUT #4: TABLEGEN
# LLVM_OPTIMIZED_TABLEGEN:BOOL=OFF
#
##### END *** SECTION WILL BE DELETED ***
Thanks for any help and ideas.
Regards,
- Sedat -
[1] http://llvm.org/releases/3.8.0/docs/CMake.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain_clang-cmake-ninja.sh
Type: application/x-sh
Size: 4638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160312/6249bc5d/attachment.sh>
2013 Jul 05
0
[LLVMdev] Any suggestion for "Unknown instruction type encountered" error?
...pass. I changed the
> lib/Transforms/Hello/Hello.cpp 's content to be my own pass. Then I make
> install the pass and use an example test1.c to see whether it works or
> not. When I run example using the following command:
> clang -emit-llvm test1.c -c -o test1.bc
> opt -load ../build_llvm/Debug+Asserts/lib/LLVMHello.so -hello < test1.bc
> > /dev/null
>
> It shows the following error:
>
> Unknown instruction type encountered!
> UNREACHABLE executed at include/llvm/InstVisitor.h:120!
The error message here means that the type of instruction -- alloca,
add, s...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...;>
>>> My build-script and configure-log are attached.
>>>
>>> Thanks.
>>>
>>> Regards,
>>> - Sedat -
>>>
>>>
>>> [1] http://llvm.org/docs/CMake.html
>>> <configure-log_llvm-toolchain-3.8.0rc3.txt><build_llvm-toolchain.sh>_______________________________________________
>>> LLVM Developers mailing list
>>> llvm-dev at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
> _______________________________________________
> LLVM Developers m...
2016 Feb 25
4
Building with LLVM_PARALLEL_XXX_JOBS
...ow build - one single (c)make job. )
>>
>> My build-script and configure-log are attached.
>>
>> Thanks.
>>
>> Regards,
>> - Sedat -
>>
>>
>> [1] http://llvm.org/docs/CMake.html
>> <configure-log_llvm-toolchain-3.8.0rc3.txt><build_llvm-toolchain.sh>_______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...>
>
>
> Not having to manually track down a bunch of dependencies before building
> is a feature. Not having to have an internet connection at build time (if
> we were to script the getting of the custom CMake) is a feature. Being able
> to just call cmake instead of using some build_llvm.sh that (probably
> poorly) wraps cmake and downloads the correct version is a feature. Being
> able to use CMake that is distributed with visual studio so that invoking
> cmake from the developer powershell just works without fiddling with PATHs
> is a feature. Not having to install ms...
2016 Feb 25
2
Building with LLVM_PARALLEL_XXX_JOBS
...S_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wearefam/src/llvm-toolchain/llvm-build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain.sh
Type: application/x-sh
Size: 3786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160225/0393e162/attachment.sh>