springmeyer / build-llvm Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED - Script to build latest llvm, clang, lldb, and include-what-you-use
DEPRECATED - Script to build latest llvm, clang, lldb, and include-what-you-use
The OS X build is working, but linux is not working due to:
/home/travis/build/springmeyer/build-llvm/llvm/tools/lldb/source/Core/../../include/lldb/Host/Editline.h:48:10: fatal error:
'histedit.h' file not found
#include <histedit.h>
^
In file included from CommandInterpreter.cpp:53:
/home/travis/build/springmeyer/build-llvm/llvm/tools/lldb/source/Interpreter/../../include/lldb/Host/Editline.h:48:10: fatal error:
'histedit.h' file not found
#include <histedit.h>
https://travis-ci.org/springmeyer/build-llvm/builds/58762019#L5789
Hitting:
FAILED: : && /Users/dane/.homebrew/Cellar/cmake/3.5.0/bin/cmake -E remove lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/GCDAProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingValue.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingBuffer.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMerge.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMergeFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingWriter.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformDarwin.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformLinux.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformOther.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingRuntime.cc.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingUtil.c.o && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && :
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
[56/3732] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.osx.dir/asan_interceptors.cc.o
ninja: build stopped: subcommand failed.
From a clean rebuild:
[1270/3737] Linking CXX static library lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a
FAILED: : && /Users/dane/.homebrew/Cellar/cmake/3.5.0/bin/cmake -E remove lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/GCDAProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfiling.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingValue.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingBuffer.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMerge.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingMergeFile.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingWriter.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformDarwin.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformLinux.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingPlatformOther.c.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingRuntime.cc.o projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile_osx.dir/InstrProfilingUtil.c.o && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a && :
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: library member: lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a(InstrProfilingRuntime.cc.o) is not an object file (not allowed in a library with multiple architectures)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
[1270/3737] Linking CXX executable bin/llvm-tblgen
ninja: build stopped: subcommand failed.
Can learn how to do this from https://gist.github.com/daniel-j-h/8ee8c511f89ebe80821b
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.