GithubHelp home page GithubHelp logo

Comments (6)

rcdailey avatar rcdailey commented on August 16, 2024

You have to set BOOST_DOWNLOAD_TO_BINARY_DIR to ON (It's off by default). This will ensure that parallel downloads are not affecting the same physical file (which by default is in your CMAKE_SOURCE_DIR). This option will make each download go into the respective CMAKE_BINARY_DIR. Give it a shot and let me know. There's a pull request ongoing that will improve this from a configuration standpoint (i.e. your scenario will work by default with no additional configuration needed).

from boost-cmake.

RogueLogix avatar RogueLogix commented on August 16, 2024

while that works, it requires this hacky seeming line before my add_subdirectory to work correctly

set(BOOST_DOWNLOAD_TO_BINARY_DIR ON CACHE BOOL "")

from boost-cmake.

rcdailey avatar rcdailey commented on August 16, 2024

from boost-cmake.

Orphis avatar Orphis commented on August 16, 2024

Could you just try the #68 and see if it fixes it for you too?

from boost-cmake.

Orphis avatar Orphis commented on August 16, 2024

If we don't go down this route, we might have to use file locking to enable multiple processes to run concurrently.

from boost-cmake.

RogueLogix avatar RogueLogix commented on August 16, 2024

that seems to have resolved the issue.

from boost-cmake.

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.