Comments (10)
when trying to compile the 'llvm' native build, using the provided 'build.sh', I get the following error:
[ 55%] Performing patch step for 'extllvm'
patching file lib/DebugInfo/DWARFContext.cpp
patching file lib/CodeGen/LexicalScopes.cpp
patching file lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patching file lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patching file lib/Target/AArch64/AArch64FrameLowering.cpp
patching file lib/Target/ARM/ARMFrameLowering.cpp
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/tools/clang/tools/libclang/CMakeLists.txt b/tools/clang/tools/libclang/CMakeLists.txt
|index f1c3f4c..92390be 100644
|--- a/tools/clang/tools/libclang/CMakeLists.txt
|+++ b/tools/clang/tools/libclang/CMakeLists.txt
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
CMakeFiles/extllvm.dir/build.make:98: recipe for target 'extllvm-prefix/src/extllvm-stamp/extllvm-patch' failed
make[2]: *** [extllvm-prefix/src/extllvm-stamp/extllvm-patch] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/extllvm.dir/all' failed
make[1]: *** [CMakeFiles/extllvm.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
linux-x86_64 build failed
Perhaps it is related?
from aura.
I built this a few hours ago on centos
Scanning dependencies of target extllvm
[ 47%] Creating directories for 'extllvm'
[ 52%] Performing download step for 'extllvm'
[ 57%] Performing patch step for 'extllvm'
patching file lib/DebugInfo/DWARFContext.cpp
patching file lib/CodeGen/LexicalScopes.cpp
patching file lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patching file lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patching file lib/Target/AArch64/AArch64FrameLowering.cpp
patching file lib/Target/ARM/ARMFrameLowering.cpp
patching file tools/clang/tools/libclang/CMakeLists.txt
[ 63%] No update step for 'extllvm'
Only thing I can think of is for some reason libclang/CMakeLists.txt file doesn't exit
$ find . -name CMakeLists.txt | grep libclang
./extclang/tools/libclang/CMakeLists.txt
./extclang/unittests/libclang/CMakeLists.txt
./target.llvm/build/linux-x86_64/extclang-prefix/src/extclang/tools/libclang/CMakeLists.txt
./target.llvm/build/linux-x86_64/extclang-prefix/src/extclang/unittests/libclang/CMakeLists.txt
Can you see it there?
from aura.
yeah looks like it's there:
zubzub@localhost ~/git/aura $ find . -name CMakeLists.txt | grep libclang
./llvm/target.llvm/build/linux-x86_64/extclang-prefix/src/extclang/tools/libclang/CMakeLists.txt
./llvm/target.llvm/build/linux-x86_64/extclang-prefix/src/extclang/unittests/libclang/CMakeLists.txt
./llvm/extclang/tools/libclang/CMakeLists.txt
./llvm/extclang/unittests/libclang/CMakeLists.txt
What patch & cmake version do you use? GNU patch 2.7.5
& cmake version 3.4.3
on this machine.
from aura.
cmake 2.8.11 on centos
Patch version: GNU patch 2.7.1
from aura.
Doing some googling looks like there is/was a bug with 'patch' not following symm links -- could be related to that
from aura.
A quick first investigation also makes me suspect that to be the problem.
from aura.
any patch version > 2.7.3 fails (so that means 2.7.4 & 2.7.5). Since 2.7.4 patch refuses to follow symlinks of directories. I advice including it in the wiki :)
from aura.
using 2.7.3 seems to fix the original issue. however I do seem to get an error pretty far on during compilation. (not compatible libxml2 found). Are you willing to provide the info (dependencies) required to build the aura/robovm llvm to the wiki as well?
from aura.
I've added a list of deps I've identified here: https://github.com/ashleyj/aura/wiki/Compiling-Aura
If you come across any I've missed, let me know.
from aura.
I was able to fix the libxml2 issue by installing a multilib compatible variant (32 & 64bit x86 ABI). Maybe other distro do this by default (I had to explicitly tell gentoo to enable 32 bit ABI for libxml2).
I did not need to install anything specifically to make the compilation succeed so I can not comment if the dependency list is complete or not.
from aura.
Related Issues (20)
- JavaFX Support
- Add resource arg
- Expand readme.md HOT 2
- Building native code fails HOT 4
- Building java code fails during test phase HOT 3
- Compiler wrapper
- Library support
- OpenJDK8/9 port HOT 2
- Runtime shared library. HOT 1
- old dependencies on robovm ext-clang & ext-llvm
- Generate shared libs
- create docker image
- Unable to compile under Mac OS X 10.12
- RoboVM Debugger HOT 4
- Does not compile on OS X
- Add line debugging HOT 1
- fix aura script
- Active RoboVM fork? HOT 3
- -D properties aren't working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aura.