search for: cmakelists

Displaying 20 results from an estimated 852 matches for "cmakelists".

2010 Jan 04
2
[LLVMdev] [PATCH] Add InstCombine to CMake.
Fixes build of bugpoint, llvm-ld and opt. OK for commit? --- CMakeLists.txt | 1 + tools/bugpoint/CMakeLists.txt | 2 +- tools/llvm-ld/CMakeLists.txt | 2 +- tools/opt/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bce039..0edd509 100644 --- a/CMakeLists.txt +...
2020 May 20
3
10.0.1-rc1 release has been tagged
...; > Will you provide them later or is there a new development/workflow > > decision I do not know of? > > > > I've uploaded all the tarballs now. > I have build from the below tarball. But the version-strings look odd. First I added... --- llvm-project-10.0.1rc1/llvm/CMakeLists.txt 2020-05-19 21:16:37.000000000 +0200 +++ llvm-project/llvm/CMakeLists.txt 2020-05-20 18:02:42.443960091 +0200 @@ -25,7 +25,7 @@ if(NOT DEFINED LLVM_VERSION_PATCH) set(LLVM_VERSION_PATCH 1) endif() if(NOT DEFINED LLVM_VERSION_SUFFIX) - set(LLVM_VERSION_SUFFIX "") + set(LLVM_V...
2014 May 29
3
[LLVMdev] [PATCH] Use GCC_INSTALL_PREFIX for rpath if set.
This way, an LLVM compiled after setting GCC_INSTALL_PREFIX will work correctly if you don't want to install LLVM into the GCC_INSTALL_PREFIX. --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ec3e33..c85a028 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -450,7 +450,12 @@ if (APPLE) set(CMAKE_INSTALL_RPATH "@executable_path/../lib") else(UNIX) if(NOT...
2015 Feb 27
2
[LLVMdev] [PATCH] CMake: Use LLVM_VERSION_SUFFIX instead of hardcoded "svn" string
Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed7aeb026f5d..60fe427e456e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ set(LLVM_VERSION_PATCH 0) set(LLVM_VERSION_SUFFIX svn) if (NOT PACKAGE_VERSION) - set(PACK...
2014 May 30
3
[LLVMdev] [PATCH] Use GCC_INSTALL_PREFIX for rpath if set.
...> On Thu, May 29, 2014 at 3:37 PM, Russell Harmon <eatnumber1 at google.com> > wrote: > >> This way, an LLVM compiled after setting GCC_INSTALL_PREFIX will work >> correctly >> if you don't want to install LLVM into the GCC_INSTALL_PREFIX. >> --- >> CMakeLists.txt | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) >> >> diff --git a/CMakeLists.txt b/CMakeLists.txt >> index 9ec3e33..c85a028 100644 >> --- a/CMakeLists.txt >> +++ b/CMakeLists.txt >> @@ -450,7 +450,12 @@ if (APPLE) >> set(CMAKE_I...
2012 Aug 03
2
[LLVMdev] Unable to build compiler-rt (Windows)
...stands, I cannot build nor test compiler-rt. I downloaded the latest sources from svn (http://llvm.org/svn/llvm-project/compiler-rt/trunk) and ran cmake ../../Source/compiler-rt -G"MinGW Makefiles" and got the following error: ... -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:10 (include): include could not find load file: LLVMParseArguments CMake Error at lib/CMakeLists.txt:4 (string): string sub-command REGEX, mode MATCH needs at least 5 arguments total to command. CMake Error at lib/CMakeLists.txt:19 (set_target_properties): set_target_properties call...
2020 May 21
2
10.0.1-rc1 release has been tagged
...;10.0.1rc1" (see above). In the past this was the case - but what is with today :-)? IMHO this is only possible with changing LLVM_VERSION_SUFFIX. But I may be wrong or missing something. - Sedat - > -Tom > > > First I added... > > > > --- llvm-project-10.0.1rc1/llvm/CMakeLists.txt 2020-05-19 > > 21:16:37.000000000 +0200 > > +++ llvm-project/llvm/CMakeLists.txt 2020-05-20 18:02:42.443960091 +0200 > > @@ -25,7 +25,7 @@ if(NOT DEFINED LLVM_VERSION_PATCH) > > set(LLVM_VERSION_PATCH 1) > > endif() > > if(NOT DEFINED LLVM_VERSION_SU...
2008 Oct 26
3
[LLVMdev] CMake builds clang.
Óscar Fuentes wrote: > "Anton Korobeynikov" <asl at math.spbu.ru> writes: > > >>> at all, it would be great if you reflect your changes on the file list >>> inside the corresponding CMakeLists.txt when you add, remove or rename >>> a .cpp file. >>> >> Isn't is possible for cmake just to glob everything in the corresponding >> directory? >> > > Yes, but then the build would not notice a change on the file > structure. You'l...
2011 Apr 24
0
[LLVMdev] Problem with compiling the runtime libary
...You can apply the attachment to LLVM 2.9 Release. It has been tested on FreeBSD/x86. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 -------------- next part -------------- diff -ruN llvm-2.9/CMakeLists.txt llvm-2.9.new/CMakeLists.txt --- llvm-2.9/CMakeLists.txt 2011-03-02 06:31:19.000000000 +0800 +++ llvm-2.9.new/CMakeLists.txt 2011-04-24 15:41:07.180714774 +0800 @@ -233,6 +233,13 @@ add_subdirectory(tools) endif() +option(LLVM_BUILD_RUNTIME + " Build the LLVM runtime. If OFF, just ge...
2010 Jun 13
2
[LLVMdev] CMake sample project?
This isn't meant to be a sample, but I can share with you the cmake files I use for my compiler. It builds in both windows user MSVC, and linux using G++, but should work with MinGW. the structure is src/ CMakeLists.txt # root make file front/ CMakeLists.txt # library middle/ CMakeLists.txt # library back/ CMakeLists.txt # library npp/ CMakeLists.txt # executable On Sun, Jun 13, 2010 at 8:00 AM, Óscar Fuentes <ofv at wanadoo.es> wrote: > sam lee <skynare at gmail.com&g...
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
Hi Dean, For me the build is still broken: -- Builtin supported architectures: i386;x86_64;x86_64h CMake Error at projects/compiler-rt/lib/xray/tests/CMakeLists.txt:21 (add_library): add_library cannot create target "RTXRay.test.osx" because another target with the same name already exists. The existing target is a static library created in source directory "/Volumes/Transcend/code/llvm/projects/compiler-rt/lib/xray/tests". Se...
2008 Oct 26
0
[LLVMdev] CMake builds clang.
...tice a change on the file >> structure. You'll need to explicitly invoke cmake for being sure that >> whatever changes were made by the last svn update are reflected on the >> generated makefiles, which is a bigger incovenience than the occassional >> modification of the CMakeLists.txt file. >> > It would be simpler for autoconf builds to have a Perl script that > updates the CMakeLists.txt files when necessary. (This doesn't look > *that* hard, but I can't say when I'll surface long enough to work on that.) In theory, it is possible to do th...
2012 Aug 03
0
[LLVMdev] Unable to build compiler-rt (Windows)
...-rt. I downloaded the > latest sources from svn > (http://llvm.org/svn/llvm-project/compiler-rt/trunk) and ran > cmake ../../Source/compiler-rt -G"MinGW Makefiles" > > and got the following error: > ... > -- Detecting CXX compiler ABI info - done > CMake Error at CMakeLists.txt:10 (include): > include could not find load file: > LLVMParseArguments > CMake Error at lib/CMakeLists.txt:4 (string): > string sub-command REGEX, mode MATCH needs at least 5 arguments total to > command. > CMake Error at lib/CMakeLists.txt:19 (set_target_properties)...
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick Thanks for you reply. CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified? I managed to compile the run time library on a mac machine. Yafan On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > yafan zhao wrote: > >> Hi All >> Thanks for
2020 May 20
3
10.0.1-rc1 release has been tagged
Hi Tom, thanks and congrats for LLVM 10.0.1-rc1 release. [1] shows 2 assets. 10.0.0 RCs had a lot of more assets. I am missing the llvm-project-10.0.1rc1.tar.xz tarball. Will you provide them later or is there a new development/workflow decision I do not know of? BTW, the source zip and tar.gz tarballs show no sizes. I am using Mobile LTE/UMTS to download stuff from the Internet. For now I
2010 Dec 20
1
[LLVMdev] [LLVMDev] CmakeLists.txt in Codegen is not current
Like the title says, the CMakeLists.txt does not contain the current information. Attached is a patch to fix it. - Thanks, Jeff Kunkel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101220/285746bf/attachment.html> -------------- next part...
2013 Jun 21
1
[LLVMdev] Patch for the fact that all llvm python scripts are python 2.x compatible.
720beaedce6f19c81156fe20168f85989a8db53d CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb70f15..e327427 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,7 +249,7 @@ set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_HOST_TRIPLE}" CACHE STRING set(TARGET_TRIPLE "${...
2015 Feb 27
0
[LLVMdev] [PATCH] CMake: Use LLVM_VERSION_SUFFIX instead of hardcoded "svn" string
LGTM. -Chris > On Feb 27, 2015, at 3:27 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote: > > Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com> > --- > CMakeLists.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/CMakeLists.txt b/CMakeLists.txt > index ed7aeb026f5d..60fe427e456e 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -66,7 +66,7 @@ set(LLVM_VERSION_PATCH 0) > set(LLVM_VERSION_SUFFIX svn) &...
2013 Dec 29
2
[LLVMdev] [PATCH] Prevent CMake from installing libgtest*.
This library is intended to be used locally for tests and not installed as a global system library. And even if it were, the install doesn't belong to LLVM but to a dedicated gtest package. --- utils/unittest/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/unittest/CMakeLists.txt b/utils/unittest/CMakeLists.txt index fd1a048..c11c110 100644 --- a/utils/unittest/CMakeLists.txt +++ b/utils/unittest/CMakeLists.txt @@ -38,6 +38,9 @@ if(MSVC AND MSVC_VERSION EQUAL 1700) add_definitions(-D...
2012 Oct 05
4
[LLVMdev] problem with my LLVM pass
hi, i am wondering if this link is still updated? http://www.llvm.org/docs/CMake.html#developing-llvm-pass-out-of-source i follow the instruction from the link, and create in my ~/test/ directory the CMakeLists.txt with following content: $cat test/CMakeLists.txt find_package(LLVM) # Define add_llvm_* macro's. include(AddLLVM) add_definitions(${LLVM_DEFINITIONS}) include_directories(${LLVM_INCLUDE_DIRS}) link_directories(${LLVM_LIBRARY_DIRS}) add_subdirectory(Hello) ====== inside test/, i put He...