GithubHelp home page GithubHelp logo

Comments (6)

mattgodbolt avatar mattgodbolt commented on July 22, 2024

@jzzheng22 do you have any ideas on this? I will re-enable this build to show the error and process we build with.

from clang-builder.

mattgodbolt avatar mattgodbolt commented on July 22, 2024

Example build failure: https://github.com/compiler-explorer/compiler-workflows/runs/4299859849?check_suite_focus=true

from clang-builder.

AnastasiaStulova avatar AnastasiaStulova commented on July 22, 2024

It seems, that the translator is built as an LLVM subproject but it is currently an independent project... so the instructions for building it in the LLVM tree are documented here: https://github.com/KhronosGroup/SPIRV-LLVM-Translator#llvm-in-tree-build

Has there been any change in godbolt about spirv-llvm build?

from clang-builder.

mattgodbolt avatar mattgodbolt commented on July 22, 2024

Not knowingly, but I'll take another look in case some build refactoring i did broke it! thanks for the hint!

from clang-builder.

AnastasiaStulova avatar AnastasiaStulova commented on July 22, 2024

Ok, it seems that it was a change in LLVM in Sep:
https://reviews.llvm.org/D110016

So my guess is that we should build llvm-spirv differently now... but I wonder if the instructions in the translator repo are up to dat because they only seem to activate clang in cmake...

from clang-builder.

AnastasiaStulova avatar AnastasiaStulova commented on July 22, 2024

Looking at the translator build bots it seems that they never set LLVM_ENABLE_PROJECTS="llvm-spirv" when building in LLVM tree https://github.com/KhronosGroup/SPIRV-LLVM-Translator/runs/4293773208?check_suite_focus=true.

So I feel if we just drop this option from cmake line then the build will succeed.

from clang-builder.

Related Issues (8)

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.