Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] MSVC Targets in CMake"
2008 Nov 12
1
[LLVMdev] cmake patch to build other targets
Hi, attached is a patch to improve including targets other than X86 in
CMake MSVC builds.
When adding libs to link, rather than always using LLVMX86CodeGen and
LLVMX86AsmPrinter, it grabs the correct ones.
It also adds "force-link-ints" to the various TargetMachine cpp files,
as well as X86AsmPrinter and PPCAsmPrinter. These are needed to be
able to encourage the Win32 linker to
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
Hi,
I have having hard time to let cmake configuration detect the zlib
header in windows with "Visual Studio 12" generator. My cmake
configuration goes like
>> Set path, include and lib environment variables to point to zlib
headers and libraries. Cmake version is 2.8.12.2
cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D
2010 Mar 17
2
[LLVMdev] patches for the LLVM cmake build system
Hi Óscar,
On 14 March 2010 15:06, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Victor Zverovich <victor.zverovich at googlemail.com> writes:
>
> > Hi llvm-dev,
> >
> > Attached are two patches for the LLVM cmake build system.
> >
> > The first one adds static runtimes (MT and MTd) to the list of runtimes
> for
> > the MSVC build.
>
>
2010 Mar 17
0
[LLVMdev] patches for the LLVM cmake build system
Victor Zverovich <victor.zverovich at googlemail.com> writes:
>> > Attached are two patches for the LLVM cmake build system.
>> >
>> > The first one adds static runtimes (MT and MTd) to the list of
>> > runtimes for the MSVC build.
>>
>> This seems not to be as easy as you put it. It was discussed here
>> recently:
>>
>>
2015 May 22
2
[LLVMdev] How to determine the architecture that clang/llvm will compile in CMake.
I've been working on getting the LLVM OpenMP library to build smoothly alongside llvm/clang using CMake, but one problem I'm having is determining exactly which CMake option designates the architecture the compiler will compile. I see LLVM_TARGET_ARCH, LLVM_TARGETS_TO_BUILD, LLVM_DEFAULT_TARGET_TRIPLE, etc.
I thought I should just ask which one designates the architecture the compiler
2008 Sep 24
1
[LLVMdev] State of CMake build system.
On Sun, Sep 21, 2008 at 9:27 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> This is an updated version of the patch that fixes some issues on VC++
> builds.
Hi, FYI
I just tried this (from r56534). I get an "error" (below) from cmake
(2.6.1) about Intrinsics.gen but it seems to write out sln/vcproj
anyway.
Project.sln opens and builds OK (modulo a build error in llvmc2
2010 Aug 02
0
[LLVMdev] CMake broken?
Tom Care <tcare at apple.com> writes:
> This was after starting with an empty build directory. It seems to
> work if I omit -DLLVM_TARGETS_TO_BUILD=X86, but a few days ago this
> was working with just this target.
Yep. I can replicate the problem on Linux with
mkdir foo && cd foo
cmake -DLLVM_TARGETS_TO_BUILD=X86 ../llvm
I'll investigate a bit.
2014 Oct 07
5
[LLVMdev] [lld] lld build needs to have flags that specify what flavor/targets to build ?
On 10/7/2014 4:10 PM, Nick Kledzik wrote:
> Shankar,
>
> Can you give provide a scenario where you want this? I’m not sure what you want here.
a) LLVM could be built just for one target(LLVM_TARGETS_TO_BUILD)
b) With LTO this case might happen more often, where an user would have
compiled LLVM just for one architecture and lld would support other
architectures that LLVM would not
2010 Aug 02
6
[LLVMdev] CMake broken?
Hi all,
CMake seems to have broken in the last few days - or is it just me?
tcare:llvm-release tcare$ make -j4
-- Target triple: x86_64-apple-darwin10.5.0
-- Native target architecture is X86
-- Threads enabled.
-- Building with -fPIC
-- Targeting X86
CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
Library LLVMARMAsmParser not found in list of llvm libraries.
Call Stack (most
2008 Oct 30
0
[LLVMdev] Warning for users of the CMake build on MSVC
Hi,
I just commited ( rev 58461 ) a patch which change the name of the
generated solution file for a CMake build. (from 'project' to 'LLVM').
This has the consequence that if you use the GUI of MSVC, you will need
to manually open to the new solution (the old one isn't deleted but will
not be updated anymore). This will also force a full rebuild.
Regards,
Cédric
ps: Is
2012 May 18
0
[LLVMdev] Build script for llvm/cmake/msvc
Hi everyone,
I'm using this script to build llvm on windows, I thougt it might be useful for others too. Just rename the extension to .cmd
The steps to build on windows:
1. Svn checkout
2. Cmake
3. Run this script in the build folder
Regards,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Oct 26
0
[LLVMdev] Header files on VC project (was: Growing up CMake)
On Sat, Oct 25, 2008 at 9:09 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> I've checked that Intellisense can jump to an unlisted header file when
> you ask for a declaration on a cpp file. So, what's the benefit of
> having the header files explicitly listed in the solution? If it is for
> text searching, maybe putting them on just one project (Hello.lib, for
>
2014 Aug 27
2
[LLVMdev] migrating from autoconf to cmake+ninja
I want to start using cmake+ninja instead of autoconf for configuring
and building llvm from svn, but I have no idea how to map my existing
list of autoconf flags to cmake.
Here's how I run ./configure right now in the top directory:
PREFIX=_some_prefix_dir_ \
../llvm/configure \
--prefix=$PREFIX \
--libdir=$PREFIX/lib/llvm \
--sysconfdir=$PREFIX/etc \
--enable-shared \
2008 Oct 26
1
[LLVMdev] Header files on VC project (was: Growing up CMake)
Argiris Kirtzidis <akyrtzi at gmail.com> writes:
> Óscar Fuentes wrote:
>> All the headers in include/llvm? Or just those local to each library?
>>
>
> All the headers. It's a pain to manually update the project files but it
> will be a bigger pain trying to use them without the include files..
> included.
There are almost 300 headers under include/llvm.
2014 Sep 02
2
[LLVMdev] migrating from autoconf to cmake+ninja
On Wed, Aug 27, 2014 at 4:29 PM, Mueller-Roemer, Johannes Sebastian
<Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de> wrote:
> prefix = CMAKE_INSTALL_PREFIX
> enabled-shared = BUILD_SHARED_LIBS
> targets = LLVM_TARGETS_TO_BUILD (defaults to all, or use a semicolon separated list)
> disable-assertions = LLVM_ENABLE_ASSERTIONS (obviously inverted ;)
>
> I don't
2018 Mar 15
1
"Build Experimental Targets not working"
I tried to build LLVM to include the RISCV (experimental) target. I
noticed that the instructions on the wiki were out of dat because they said
to use '-DLLVM_TARGETS_TO_BUILD', but this gave a warning to use
`LLVM_EXPERIMENTAL_TARGETS_TO_BUILD`
as well (or instead?).
So I compiled with these options:
cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=gcc
>
2017 Oct 18
2
LLVM cross-compilation cmake issues
I'm an idiot and sent to llvm-commits instead of llvm-dev. Fixing.
On 10/17/17, 5:09 PM, "llvm-commits on behalf of Shoaib Meenai via llvm-commits" <llvm-commits-bounces at lists.llvm.org on behalf of llvm-commits at lists.llvm.org> wrote:
Hi all (CC beanz for cmake advice),
I'm running into a cmake problem when I try to cross-compile a
2014 Oct 08
2
[LLVMdev] [lld] lld build needs to have flags that specify what flavor/targets to build ?
On Wed, Oct 8, 2014 at 11:45 AM, Alex Rosenberg <alexr at leftfield.org> wrote:
> This it totally "armchair quarterbacking," but I am a little frustrated
> that we've come to conflate flavors and targets.
>
> The original intent of flavors was to internally translate each flavor
> into a neutral lld-native command line syntax. We now have baked in
>
2019 Mar 08
2
[CMake] Re-configuring Debug and Release builds
If I've configured a Release build, build it and then go back and re-run
cmake with -DCMAKE_BUILD_TYPE=Debug (and nothing else changed), almost
nothing gets rebuilt when I try to build. Is this expected? I know I
can edit CMakeCache.txt directly and trigger an essentially full
rebuild.
-David
2018 Dec 27
2
[CMake] CMAKE_TOOLCHAIN_FILE and projects
Hi,
I'm working on cross-compiling llvm and sub-projects to dynamically build
Clang toolchain and associated libraries for an embedded project.
I'm starting with this mailing list, as I see the pattern using
"config-ix.cmake" a common one; it's found in all the sub-projects.
For those that are not aware, in CMake the standard approach for dealing
with unique toolchains,