Displaying 20 results from an estimated 1000 matches similar to: "Build files"
2020 Apr 10
4
Running clang tests
Hi,
I’d just like to interject to say that building within Visual Studio isn’t really that bad. Running the lit tests is a bit painful because the LLVM build tools that are integrated with the build system don’t play nice with msbuild. Particularly, I’ve never been able to actually cancel an invocation of lit or tablegen via visual studio. That said, there is a huge upside to building with
2020 Apr 10
2
Running clang tests
Hi Team,
I have checked out the clang and llvm source code and
built the executables using the visual studio 2015 community edition. I am
using Windows as my platform.
However I see that there are some test cases under the clang test folder
in the LLVM.sln. Eg AstMatcherTest,ASTTests etc. I see that these tests
make use of the Google test framework.
In my visual studio I have
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
my build environment:
Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)
my build steps:
open VS2017 x64 developer command prompt
cd D:\projects\fun\jit_tests
mkdir llvm
cd llvm
git clone https://github.com/llvm-mirror/llvm
mkdir llvm-build
cd llvm-build
cmake -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=ON
2017 Dec 07
2
Updating LLVM/Clang support for VS for VS2017
CCing Zach, who did a lot of the VS 2017 support work (AFAIK), and Reid, who's the general Microsoft support overlord.
By full support for VS 2017, do you mean within the IDE itself? I haven't ever used clang from within the VS IDE, so I can't speak to that. All non-IDE stuff should work though, as far as I know.
Which compiler options/switches specifically are missing? Filing bugs
2020 Nov 05
1
How to use mainline clang/llvm with CMake
Dear all, I am not sure whether this is a right place to ask basic questions about usage of CLang/LLVM, but also not sure if there is any other mailing list for such.
Kindly point me to such a list in such case.
I had built mainline CLang/LLVM on OSX and tried to use it with CMake. I had override following variables in CMake:
2018 May 16
2
Windows build strangeness
I have the git monorepo, and Visual Studio 2015. I am finding that
running a build from the command line with msbuild (as a nightly job)
invariably fails on the first try, and succeeds on a retry.
The first msbuild command looks like this:
msbuild ALL_BUILD.vcxproj /p:Configuration="RelWithDebInfo" /m:6 /t:Rebuild
This appears to compile everything okay, but invariably fails with
2015 Jul 08
2
[LLVMdev] How to run LLVM3.6.1 on OS X (Yosemite, Xcode6.4) OR how to link bitcode generated by OS X clang with LLVM3.6.1
Thank you. I found a partial answer to the problem (1), namely “how to run Clang compiled with LLVM3.6.1 on OS X Yosemite/Xcode6.4"
It’s a combination of -isysroot and -resource-dir
I’m using these compiler options:
"/Users/meister/Development/externals-clasp/build/release/bin/clang" -v \
-resource-dir
2018 May 16
1
Windows build strangeness
What kind of missing symbols are you getting?
I had to work around dependencies for a Mingw32 build. See
https://reviews.llvm.org/D44650
On Wed, May 16, 2018, 13:13 via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I have the git monorepo, and Visual Studio 2015. I am finding that
> running a build from the command line with msbuild (as a nightly job)
> invariably fails on the
2018 May 16
2
Windows build strangeness
I think MSBuild isn't capable of re-running cmake and then reloading the
project files when CMakeLists.txt changes. It re-runs cmake, but then
continues the build with the stale projects. That probably explains the
"PipSqueek.cxx doesn't exist" errors. As for the link error, it could also
be caused by things like a file rename not getting picked up by MSBuild.
The fix is
2020 May 07
2
Ld64.lld cannot find Foundation framework
Dear LLVM community I need some help please.
I want to use LLVM's clang and lld within a MacOSX sandboxed app. This is because sandboxing does not allow calls to /usr/bin/clang.
The clang binary works fine to compile a file, but ld64.lld comes up with the error "cannot find framework".
However similar arguments using /usr/bin/ld instead of ld64.lld works fine.
Here are the
2012 Jun 16
5
[LLVMdev] Fwd: RFC: "Building with MinGW on Windows" (DOC, NEW)
On Sat, Jun 16, 2012 at 3:29 AM, Mikael Lyngvig <mikael at lyngvig.org> wrote:
> Hi Takumi,
>
> THANK YOU for your excellent review! It makes all the work worthwhile in
> itself.
>
> It is getting "late" here (it is early morning) so I am about to call it a
> day. But I will contemplate and incorporate your suggestions tomorrow, and
> send you a full
2018 May 16
0
Windows build strangeness
Here are a couple of representative errors. C:\Dev\upstream\gitmono is where I keep my clone.
"C:\Dev\upstream\gitmono\wbuild\ALL_BUILD.vcxproj" (Rebuild target) (1) ->
"C:\Dev\upstream\gitmono\wbuild\unittests\Support\DynamicLibrary\SecondLib.vcxproj" (default target) (170:2) ->
c1xx : fatal error C1083: Cannot open source file:
2018 May 16
2
Windows build strangeness
With VS2013 I found that editing a CMakeLists.txt file caused CMake to be re-run successfully and the build to also continue successfully, but since I switched to VS2015 the CMake re-run occurs - apparently successfully, but more often than not the build failed afterwards from either the IDE and from MSBuild. Since I seldom change the CMakeLists.txt files, I simply do a clean CMake configuration
2018 May 16
0
Windows build strangeness
msbuild is is able to re-run cmake if a CMakeLists.txt changes. CMake
adds a special project "ZERO_CHECK" that does this. However, I am not
sure it runs when invoking on the individual projects instead of the
solution.
Try the cmake --build command, which should output the following:
> cmake --build . --target opt
CMake is re-running because
2020 May 23
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hello,
I am trying to run this basic C++ hello-world code in my iOS app that has
LLVM libraries linked in (the app runs on the actual device - iPad Pro, iOS
13.4.1).
#include <iostream>
int main (int argh, char *argv[]) {
std::cout << "Hello World!" << std::endl;
return 0;
}
So below is the break down of the steps that I do:
First I compile this code to an
2018 May 14
1
Unable to build 'lld' on Mac OS 10.9
Hi All,
I am trying to build the 'lld' linker on Mac OS 10.9, but during the build, I am getting the errors. Following are the steps that I have followed:
1. I have downloaded the ‘llvm-stable’ source code from the following location:
https://github.com/llvm-mirror/llvm/tree/stable
2. Machine details(on which llvm source code isbeing built) are as follows:
$ sw_vers
2020 Jun 20
1
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hi Dave,
Yep. This is JITLink specific, so we could only have observed it on MachO
x86-64 or arm64 until recently. It takes a little bit of poking to get IR
to produce a zero-lengh section on MachO, but not much.
Jared Wyles recently contributed an initial JITLink ELF implementation, so
the fix seems timely -- we might have been about to see more of it.
-- Lang.
On Fri, Jun 19, 2020 at 4:02 PM
2018 May 17
0
Windows build strangeness
>From my own experience this is what I think happens when building the whole
solution through Visual Studio's UI. This also happens for building
individual projects. I assume something similar happens when building via
the command-line, but I rarely do that, so I can't be certain.
1) Visual Studio/MSBuild (I don't know which, but probably MSBuild)
determines the dependency graph of
2018 May 17
1
Windows build strangeness
It looks like building ZERO_CHECK first to reconstruct the project files as needed, then running msbuild a second time to do the actual build, has solved the problem. At least, last night's run didn't take the usual two tries. Running msbuild twice is a little bit simpler than running cmake explicitly, the way I have my scripts set up, but I'm sure that would work as well.
Thanks
2020 Jun 06
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hi Lang,
Please see below is the trace.
--
Thanks,
Igor
*2020-06-06 12:05:21.016705-0400 CppDevProCompiler[6613:3000073] Running...*
*jitLink_MachO: magic = 0xfeedfacf, identifier =
"llvm-link.submodule-jitted-objectbuffer"*
*jitLink_MachO: cputype = 0x0100000c, cpusubtype = 0x00000000*
*Creating normalized sections...*
* __text: 0x0000000000000000 -- 0x0000000000000064, align: