Skip to content

Commit

Permalink
Merge pull request conda-forge#50 from matthiasdiener/patch-1
Browse files Browse the repository at this point in the history
add meson instructions to osx_arm64 migration instructions
  • Loading branch information
isuruf authored Dec 10, 2021
2 parents 9b4178e + f864652 commit 7264229
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions posts/2020-10-29-macos-arm64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,19 @@ For cmake packages, add the following to ``recipe/build.sh``,
.. code-block:: bash
cmake ${CMAKE_ARGS} ..
For ``meson`` packages, add the following to ``recipe/build.sh``,

.. code-block:: bash
meson ${MESON_ARGS} builddir/
.. note::

Conda automatically creates a `cross build definition file <https://mesonbuild.com/Cross-compilation.html>`__
when cross-compiling, and adds
the necessary argument to ``${MESON_ARGS}`` to point ``meson`` to that file.
``${MESON_ARGS}`` is only defined when cross-compiling, not for normal builds.

For rust packages, add the following to ``recipe/meta.yaml``,

Expand Down

0 comments on commit 7264229

Please sign in to comment.