Code Monkey home page Code Monkey logo

Comments (8)

pvelesko avatar pvelesko commented on June 14, 2024

Do these packages not create a symlink to clang++-14 -> clang++ as is the case when installing LLVM from source?

from chipstar.

pjaaskel avatar pjaaskel commented on June 14, 2024

Not by default (it seems) as it's common to use multiple different versions in the same system.

from chipstar.

linehill avatar linehill commented on June 14, 2024

There is a symlink to clang++ but the clang++ itself resides in /usr/lib/llvm-14/bin/ [source].

from chipstar.

pjaaskel avatar pjaaskel commented on June 14, 2024

Symlink to clang++-14 to be accurate. Paulius was hoping there would be a clang++ symlink since the script assumes the executable to be called 'clang++'. Perhaps this can be set up with the 'update-alternatives' mechanism of Ubuntu, but I think a more robust way is to refer to the exact path of the Clang++ binary to be used since there are major incompatibilities between versions.

from chipstar.

pvelesko avatar pvelesko commented on June 14, 2024

but I think a more robust way is to refer to the exact path of the Clang++

Current HIP_CLANG_PATH refers to the directory path where it will look for clang++ I will make the change to for HIP_CLANG_PATH to require a full path to the binary.

from chipstar.

pvelesko avatar pvelesko commented on June 14, 2024

HIPAMD currently also expects clang++. In the next release we will be migrating to C++ based hipcc and this Perl script will be deprecated. Let's make this change then. In the meantime, if using Ubuntu the user should just make a symlink.

from chipstar.

pjaaskel avatar pjaaskel commented on June 14, 2024

OK, it would be good to at least document this in README.md or even check in cmake time?

from chipstar.

pvelesko avatar pvelesko commented on June 14, 2024

I will make a note in README.md

from chipstar.

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.