Comments (2)
I was able to build using Clang 11:
$cmake -DBUILD_TESTS=ON -DCMAKE_MODULE_PATH=/usr/lib64/cmake/clang -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja .. && ninja -j4
and GCC 10.2.1
$cmake -DBUILD_TESTS=ON -DCMAKE_MODULE_PATH=/usr/lib64/cmake/clang -G Ninja .. && ninja -j4
.
Due to the current bug https://bugzilla.opensuse.org/show_bug.cgi?id=1180748#c8 - I had to apply a patch:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 393a533..67b02d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,15 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party)set(LLVM_LINK_COMPONENTS
- ${LLVM_NATIVE_ARCH}
${LLVM_NATIVE_ARCH} - commenting out, as proposed in issue #1180748
- #Adding the following, on behave of resolving the above issue:
- RISCVCodeGen
- RISCVAsmParser
- RISCVDisassembler
- RISCVDesc
- RISCVInfo
- RISCVUtils
- AggressiveInstCombine
Analysis
AsmParser
from dragonffi.
Please reformat your patch,it can't be read properly.
From what I understand, this is the patch proposed in the OpenSUSE ticket. I will try it as soon as I have time. Closing this issue and reopening a cleaner one to track this patch: #60 .
About RiscV support, it's not something I have time to invest into right now. Feel free to submit PRs that could fix the issue you face!
from dragonffi.
Related Issues (20)
- Using with llvmlite HOT 24
- Trouble Building HOT 8
- Calling C++ HOT 4
- Doesn't load on Debian testing HOT 2
- _ZN4llvm32createAggressiveInstCombinerPassEv HOT 2
- Accessing fields in unnamed unions / structures (Microsoft) HOT 6
- Wheel pip for Python 3.8 HOT 2
- No member named 'getProcessTriple' in namespace 'llvm::sys' , on FreeBSD 13.0 HOT 6
- crt1.o: ABI version 1 is not supported , on ppc64 HOT 1
- terminate called after throwing an instance of 'std::logic_error', on Debian bullseye/sid (ppc64) HOT 6
- Segfault in dlopen test (ppc64) HOT 2
- compile_error test can't be compiled, on ppc64: anon_cu_0.c:1:1: error: unknown type name 'this' HOT 3
- Fix build under OpenSUSE using the distro's clang packages
- Known issues on PPC64
- Preserving the last error. HOT 5
- error: no member named 'ThreadModel' in 'clang::CodeGenOptions', on Aarch64 (LLVM 13) HOT 2
- Function callbacks in Python?
- [req] nodejs support
- Running on macos
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 dragonffi.