Code Monkey home page Code Monkey logo

Comments (4)

minrk avatar minrk commented on September 26, 2024 2

If you are only building for yourself, you should be able to build with:

export CONDA_BUILD_SYSROOT=/

but there's more work to do if you are attempting to build redistributable packages. The conda compilers use open source llvm 7, which doesn't yet support Apple's .tbd stub format, adopted in more recent SDKs. To work around this, you need to:

  1. download an old mac sdk (10.9 or 10.10, I think)
  2. tell the compilers to use this by setting CONDA_BUILD_SYSROOT to point to it

The conda-forge CI setup does this here.

from mpi-feedstock.

mikaem avatar mikaem commented on September 26, 2024

Well, it does fix it:-) But it seems like an ugly hack for someone that simply wants to use mpi from conda to work locally?

from mpi-feedstock.

minrk avatar minrk commented on September 26, 2024

There's an ongoing discussion about making the conda compilers work by default without any help. Apple makes it surprisingly tricky by changing things on almost every release. The current behavior should indeed work by default once llvm 8 is out with support for TAPI .tbd stubs that Apple started using in their SDKs but didn't open source promptly.

I may look into having openmpi-mpicc set CONDA_BUILD_SYSROOT=/ by default on mac because of this as a possible experiment, since that ought to work better.

from mpi-feedstock.

leofang avatar leofang commented on September 26, 2024

Close due to inactivity. Feel free to reopen if needed.

from mpi-feedstock.

Related Issues (4)

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.