Coder Social home page Coder Social logo

Comments (5)

siddharthab avatar siddharthab commented on July 17, 2024 2

I have pushed a new tag (0.5.6) which has this fix.

from toolchains_llvm.

siddharthab avatar siddharthab commented on July 17, 2024

The error message you are getting is because something is missing in the declared builtin include paths. I think we need to add a lib64 directory in addition to the lib directory in these two places:
https://github.com/grailbio/bazel-toolchain/blob/f2d0aeca399e70297414341d228c7be460b4d6a0/toolchain/cc_toolchain_config.bzl.tpl#L504
https://github.com/grailbio/bazel-toolchain/blob/f2d0aeca399e70297414341d228c7be460b4d6a0/toolchain/cc_toolchain_config.bzl.tpl#L514

This could be independent of whether you are using absolute paths or not.

If you are familiar with how to test changes to external repos, can you test it and see if it resolves your problems? I am afraid I am not able to reproduce your issue easily.

As an aside, do you find the absolute paths feature useful? It has been a while since the feature was originally introduced, and there have been improvements in bazel sandbox since, so I was thinking of removing the feature.

from toolchains_llvm.

rockwotj avatar rockwotj commented on July 17, 2024

@siddharthab Thanks for the speedy reply! I actually only use the absolute paths because without it https://github.com/bazelbuild/rules_foreign_cc/ does not work (I think it runs stuff from a different directory so the paths are incorrect).

Let me add in those patches and test

from toolchains_llvm.

rockwotj avatar rockwotj commented on July 17, 2024

@siddharthab your suggestion to add lib64 worked! 🎊

from toolchains_llvm.

siddharthab avatar siddharthab commented on July 17, 2024

Awesome! Can you send a PR?

from toolchains_llvm.

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.