Giter Site home page Giter Site logo

Consider linking tbb statically about mold HOT 5 CLOSED

rui314 avatar rui314 commented on July 17, 2024
Consider linking tbb statically

from mold.

Comments (5)

rui314 avatar rui314 commented on July 17, 2024 1

I made a change to static-link oneTBB by default. Let's see how it works.

from mold.

Logarithmus avatar Logarithmus commented on July 17, 2024

Maybe we could go away without tbb altogether? https://news.ycombinator.com/item?id=26246849

from mold.

gjimye avatar gjimye commented on July 17, 2024

Maybe we could go away without tbb altogether? https://news.ycombinator.com/item?id=26246849

gcc and clang's stdlib parallel STL implementation uses tbb as a backing (it was donated by Intel), and you need -ltbb to get parallel execution...

from mold.

rui314 avatar rui314 commented on July 17, 2024

And C++ standard library doesn't provide parallel containers such as concurrent_hash_map, so even if we use STL for parallel for loop, we still need TBB.

from mold.

rui314 avatar rui314 commented on July 17, 2024

Statically linking TBB makes sense in most cases, and subtree-ing the TBB repo may be a good idea. TBB comes with different versions, and it is not very likely that a system already has a required version of TBB.

We need an escape hatch to use system-wide TBB library for distros that don't want to link TBB statically, though.

from mold.

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.