Displaying 20 results from an estimated 54 matches for "include_directory".
2009 Aug 06
1
[LLVMdev] MSVC can't Inlcude *.inc files properly
I means visual studio c++ 2008, do you build clang+llvm with .sln
files, and these files are generated by cmake? I do of that. And
because vs c++ can't recognize path such a:/filepath/.. Properlyn it's
recognized as a:/filepath
So we need change /.. to /../ or /../.
2009/8/6, Daniel Dunbar <daniel at zuster.org>:
> I don't understand this problem, I have built clang on
2020 Jul 14
5
Multiple documents in one test file
Sometimes it is convenient if we can specify multiple independent tests
in one file. To give an example, let's discuss test/MC/ELF/debug-md5.s and
test/MC/ELF/debug-md5-err.s (.file directive in the assembler).
a) An invalid .file makes the whole file invalid. Because errors lead to a
non-zero exit code, We have to use `RUN: not llvm-mc %s` for the whole file.
This often lead to users placing
2005 Jan 24
1
.call file creation
I am curious partly because it has occurred randomly in my asterisk
system. How does one go about creating a .call file for placing a call
between two extensions/phones? I know this has been mentioned and is
probably in one of the wikis somewhere, but I am unsure exactally how to
go about doing it. Can anyone point me in the right direction.
Dan
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
[Please CC the mailing list]
Eli Gottlieb <eligottlieb at gmail.com> writes:
> OK, I'm just going to paste in my CMakeLists.txt file. Like I said,
> I'm building an LLVM install myself by untarring llvm, mkdir build in
> the root dir of the source, cd build/, cmake .., make.
>
>> cmake_minimum_required (VERSION 2.6)
>> project (libjllvm)
>>
2020 Jul 14
2
Multiple documents in one test file
On 14/07/2020 03:27, David Blaikie via llvm-dev wrote:
> (+Richard - it's handy to include folks from previous discussions
> explicitly so everyone can more easily keep track of the conversation)
>
> On Mon, Jul 13, 2020 at 6:17 PM Fangrui Song via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Sometimes it is
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
I compiled and installed it to the prefix /usr, but that's not the
issue. Once I actually compile and install LLVM with CMake by hand, I
get the share/llvm/cmake stuff installed correctly (can those files be
included in "normal" builds, or will LLVM switch to CMake as its primary
build system?). Now I'm running into the problem of cflags or includes
or something not being
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Hi Timo:
You need to find LLVMConfig.cmake in the binary or install directory tree,
not the source tree.
Although I don't embed clang/llvm, my config might help you figure it --
clang/llvm installed under (could have used build directory) ~/usr :
$ cd /Users/dhinton/projects/cover/build/ && rm -rf * && CC=~/usr/bin/clang
CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
Hi again,
I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
did a slight rewrite of my CMakeLists.txt file for building the C code.
Problem is, cmake no longer finishes at all. I receive the
following output, and then it just runs forever (while still responding
to a CTRL-C):
> eli at
2012 Jul 23
2
[LLVMdev] building a pass with cmake
Dear all,
I want to build an LLVM pass by using CMake.
After reading the ralevant part of the documentation (
http://llvm.org/releases/3.1/docs/CMake.html#passdev),
I copied the files in the llvm/lib/Transforms/Hello to another folder in
order to give a try.
Then I renamed the folder as Hello2.
Then I have changed CMakeLists.txt as following:
cmake_minimum_required(VERSION 2.8)
# A
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})
2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
Hi All,
The proposed patch makes possible to use LLVM's CMake build infrastructure
(most importantly add_llvm_library and add_llvm_executable macros) from the
project that has llvm in a subdirectory.
For example:
demo/
llvm/
demo.cpp
CMakeLists.txt
where CMakeLists.txt is as follows:
# ----------------------------- Start
of CMakeLists.txt
2012 Aug 10
1
[LLVMdev] how to compile my LLVM project with CMake (on Windows)?
hi,
i already successfully compiled & installled LLVM 3.1 on Windows (with
CMake & Visual Studio 2008). next, i am trying to understand how to
create a standalone LLVM project, and compile that on Windows (also
using CMake & Visual Studio 2008).
to start, i picked up the "examples\BrainF" project, renamed it to
"examples\BrainF2" (and i still put BrainF2 under the
2013 Jan 19
0
[LLVMdev] Embed LLVM/Clang in our project
Ashok Nalkund <ashoknn at qti.qualcomm.com> writes:
> We want to compile LLVM/Clang and use the resulting
> headers/libraries in our project. But we compile it during out build
> process. I can build LLVM/Clang by adding it to our cmakelists.txt but
> when our code tries to use one of the headers
> (clang/CodeGen/ModuleBuilder.h), its not found as it doesnt exist. If
> I
2012 Jul 23
0
[LLVMdev] building a pass with cmake
erkan diken <erkandiken at gmail.com> writes:
[snip]
> It seems that cmake is ok. When I run make install, it gives errors (see
> below) and i think the reason is that it can not find the directory to llvm
> header files.
> I could not figure it out which variable to set and how to use it in order
> to point the required directory ?
> ( as in the make pass build which
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Sorry my example wasn't helpful.
I did take a quick look at rust -- though I didn't download or try to build
it -- and they seem to allow you to use an installed or prebuilt version in
addition to building it in-tree. However, even when they build it in-tree,
they build the whole thing -- see mk/llvm.mk.
Good luck...
On Mon, Oct 10, 2016 at 1:33 AM, Timo Janssen via llvm-dev <
2013 Jan 19
2
[LLVMdev] Embed LLVM/Clang in our project
Hi All,
We want to compile LLVM/Clang and use the resulting headers/libraries
in our project. But we compile it during out build process. I can build
LLVM/Clang by adding it to our cmakelists.txt but when our code tries to
use one of the headers (clang/CodeGen/ModuleBuilder.h), its not found as
it doesnt exist. If I do a 'make install' in the llvm directory, then
the file is
2016 Oct 09
3
Embedding llvm as a git submodule in Project
Hi all.
I want to use llvm in my project and I want to make llvm a git submodule
in my project.
http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project
At this in the documentation it claims to describe how to embed llvm
into a project. I tried it that way but it doesn't work, because there
isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i
don't
2020 Jul 14
2
Multiple documents in one test file
We have a similar option (-split-input-file) in `mlir-opt`:
https://github.com/llvm/llvm-project/blob/master/mlir/test/Dialect/Affine/invalid.mlir
With a single `RUN:` lit invocation the tool itself will loop over all the
split sections in the file. This is convenient to test error cases where
the tool would abort at the first error otherwise. I don't think we can
easily achieve this with a
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
On Fri, 5 Oct 2012 13:04:46 +0530
Jun Koi <junkoi2004 at gmail.com> wrote:
> 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:
>
<snip>
> CMake Warning at
2020 Mar 26
12
Upgrading LLVM's minimum required CMake version
We had this discussion a few months ago and it petered out, and it’s recently been revived in the context of upgrading the CMake version specifically for libc++ (at which point people suggested upgrading the CMake version used by all of LLVM), so let’s try to move this forward.
Our current required minimum version is CMake 3.4.3, which was released on January 25th 2016. It’s interesting to note