GithubHelp home page GithubHelp logo

Comments (2)

advancedwebdeveloper avatar advancedwebdeveloper commented on July 27, 2024

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.

aguinet avatar aguinet commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.