Displaying 11 results from an estimated 11 matches for "llvm_cxxflag".
Did you mean:
llvm_cxxflags
2010 Sep 09
2
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...fy in the CMakeLists.txt file for the component.
The attached patches remove this requirement, and add real CMake
package export capabilities. A CMake user wishing to use LLVM can now
use something similar to this:
cmake_minimum_required(VERSION 2.8)
find_package(LLVM REQUIRED)
add_definitions(${LLVM_CXXFLAGS})
add_executable(llvm-external-test llvm-external-test.cpp)
target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS}
${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS})
llvm+clang compile with these changes on both Linux and MSVS.
Currently both patches must be applied at the same time. I can
refact...
2010 Sep 09
0
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...nt.
>
> The attached patches remove this requirement, and add real CMake
> package export capabilities. A CMake user wishing to use LLVM can now
> use something similar to this:
>
> cmake_minimum_required(VERSION 2.8)
>
> find_package(LLVM REQUIRED)
> add_definitions(${LLVM_CXXFLAGS})
> add_executable(llvm-external-test llvm-external-test.cpp)
> target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS}
> ${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS})
>
> llvm+clang compile with these changes on both Linux and MSVS.
> Currently both patches must be applied...
2009 Mar 09
0
[LLVMdev] Cross-Module Function Calls
...t rv = engine->runFunctionAsMain( fn_main, args, environ );
return rv;
}
////
#### Makefile
AS=/home/terrence/programming/OSS-rcs/llvm/Debug/bin/llvm-as
LD=/home/terrence/programming/OSS-rcs/llvm/Debug/bin/llvm-ld
CC=g++
LLVM_CONFIG=/home/terrence/programming/OSS-rcs/llvm/Debug/bin/llvm-config
LLVM_CXXFLAGS=`${LLVM_CONFIG} --cxxflags`
LLVM_LDFLAGS=`${LLVM_CONFIG} --ldflags`
LLVM_LIBS=`${LLVM_CONFIG} --libs`
lower:
${AS} -f -o=foo.bc foo.ll
${AS} -f -o=bar.bc bar.ll
link: lower
${LD} -native -o=linked foo.bc bar.bc
test: lower
${CC} -o test.o -c ${LLVM_CXXFLAGS} test.cpp
${CC} -o test test.o $...
2019 Mar 26
2
ORC JIT fails with standard math librrary
...Name: KaleidoscopeJIT.h
Type: text/x-chdr
Size: 5065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190326/10780d64/attachment.h>
-------------- next part --------------
LLVM_CONFIG = /home/fwinter/toolchain/install/llvm-8.0-x86-debug/bin/llvm-config
LLVM_CXXFLAGS = $(shell $(LLVM_CONFIG) --cxxflags)
LLVM_LDFLAGS = $(shell $(LLVM_CONFIG) --ldflags)
LLVM_LIBS = $(shell $(LLVM_CONFIG) --libs)
all: test
test.o: test.cc KaleidoscopeJIT.h
g++ -c -o $@ $< $(LLVM_CXXFLAGS)
test: test.o
g++ -o $@ $< $(LLVM_LDFLAGS) $(LLVM_LIBS)
clean:
rm -f *.o
r...
2020 May 20
3
10.0.1-rc1 release has been tagged
...lvm/tools/llvm-config/CMakeLists.txt
--- llvm-project-10.0.1rc1/llvm/tools/llvm-config/CMakeLists.txt
2020-05-19 21:16:37.000000000 +0200
+++ llvm-project/llvm/tools/llvm-config/CMakeLists.txt 2020-05-20
18:28:03.793999462 +0200
@@ -49,7 +49,7 @@ set(LLVM_CFLAGS "${LLVM_C_STD_FLAG} ${LL
set(LLVM_CXXFLAGS
"${CMAKE_CXX${CMAKE_CXX_STANDARD}_STANDARD_COMPILE_OPTION}
${LLVM_CXX_STDLIB_FLAG} ${COMPILE_FLAGS} ${LLVM_DEFINITIONS}")
set(LLVM_BUILD_SYSTEM cmake)
set(LLVM_HAS_RTTI ${LLVM_CONFIG_HAS_RTTI})
-set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}")
+set(LLVM_D...
2012 Mar 13
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
..., it will remain the same when it
goes into another CMakeLists.txt.
Inside the llvm-config's source folder, the CMakeLists.txt shows how its
--cxxflags is set:
set(CXX_FLGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_
CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}")
...
COMMAND echo s!@LLVM_CXXFLAGS@!${CXX_FLGS}! >> ${SEDSCRIPT_OBJPATH}
and my LLVM_DEFINITIONS is:
-D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic
-Wno-long-long -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
I also use "make VERBOSE=1" to check how llvm and clang...
2020 May 21
2
10.0.1-rc1 release has been tagged
...ect-10.0.1rc1/llvm/tools/llvm-config/CMakeLists.txt
> > 2020-05-19 21:16:37.000000000 +0200
> > +++ llvm-project/llvm/tools/llvm-config/CMakeLists.txt 2020-05-20
> > 18:28:03.793999462 +0200
> > @@ -49,7 +49,7 @@ set(LLVM_CFLAGS "${LLVM_C_STD_FLAG} ${LL
> > set(LLVM_CXXFLAGS
> > "${CMAKE_CXX${CMAKE_CXX_STANDARD}_STANDARD_COMPILE_OPTION}
> > ${LLVM_CXX_STDLIB_FLAG} ${COMPILE_FLAGS} ${LLVM_DEFINITIONS}")
> > set(LLVM_BUILD_SYSTEM cmake)
> > set(LLVM_HAS_RTTI ${LLVM_CONFIG_HAS_RTTI})
> > -set(LLVM_DYLIB_VERSION "${LLVM_VERSI...
2008 Feb 20
0
[LLVMdev] Problems building LLVM 2.2 for ARM
Try make VERBOSE=1 first. Perhaps it'll tell us something.
Evan
On Feb 19, 2008, at 4:19 PM, Tobias Oberstein wrote:
> Hello,
>
> I'd like to do some initial experiments with LLVM on embedded ARM
> (Nokia N800), but ran into a build issue. Could s.o. give me a tip?
>
> Thx alot,
> Tobias
>
> P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
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
2008 Feb 20
2
[LLVMdev] Problems building LLVM 2.2 for ARM
Hello,
I'd like to do some initial experiments with LLVM on embedded ARM
(Nokia N800), but ran into a build issue. Could s.o. give me a tip?
Thx alot,
Tobias
P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
===
I'm building on Ubuntu/Scratchbox/ARMEL using GCC 3.4.4 (CodeSourcery
ARM 2005q3-2) using
./configure --prefix=$HOME/local/llvm-2.2 --enable-jit
2015 Feb 07
5
[LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2
...-DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LLVM=0x0306 -DLLVM_VERSION_PATCH=0
LLVM_CFLAGS: -I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_CXXFLAGS: -I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++11 -fno-rtti
LLVM_CPPFLAGS: -I/opt/llvm-toolchain-3.6.0rc2/include -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS...