diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3e61aa24..8b4ef2f9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,6 +1,6 @@
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
-# -*- mode: yaml -*-
+# -*- mode: jinja-yaml -*-
version: 2
diff --git a/README.md b/README.md
index 658f1e0d..a07e75cc 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,200 @@
+About ctng-compiler-activation-feedstock
+========================================
+
+Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/ctng-compiler-activation-feedstock/blob/main/LICENSE.txt)
+
About ctng-compiler-activation
-==============================
+------------------------------
Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
Package license: BSD-3-Clause
-Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/ctng-compiler-activation-feedstock/blob/main/LICENSE.txt)
+Summary: Activation scripts for gcc, g++, gfortran and binutils
+About binutils_linux-ppc64le
+----------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
Summary: The GNU Binutils are a collection of binary tools (activation scripts)
+About gcc_bootstrap_linux-ppc64le
+---------------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: GPL
+
+Summary: GCC bootstrap compilers for building deps
+About gcc_linux-ppc64le
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C Compiler (activation scripts)
+About gfortran_linux-ppc64le
+----------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU Fortran Compiler (activation scripts)
+About gxx_linux-ppc64le
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C++ Compiler (activation scripts)
+About binutils_linux-s390x
+--------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: The GNU Binutils are a collection of binary tools (activation scripts)
+About gcc_bootstrap_linux-s390x
+-------------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: GPL
+
+Summary: GCC bootstrap compilers for building deps
+About gcc_linux-s390x
+---------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C Compiler (activation scripts)
+About gfortran_linux-s390x
+--------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU Fortran Compiler (activation scripts)
+About gxx_linux-s390x
+---------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C++ Compiler (activation scripts)
+About binutils_linux-aarch64
+----------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: The GNU Binutils are a collection of binary tools (activation scripts)
+About gcc_bootstrap_linux-aarch64
+---------------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: GPL
+
+Summary: GCC bootstrap compilers for building deps
+About gcc_linux-aarch64
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C Compiler (activation scripts)
+About gfortran_linux-aarch64
+----------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU Fortran Compiler (activation scripts)
+About gxx_linux-aarch64
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C++ Compiler (activation scripts)
+About binutils_linux-64
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: The GNU Binutils are a collection of binary tools (activation scripts)
+About gcc
+---------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C native compiler (symlinks)
+About gcc_bootstrap_linux-64
+----------------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: GPL
+
+Summary: GCC bootstrap compilers for building deps
+About gcc_linux-64
+------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C Compiler (activation scripts)
+About gfortran
+--------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU Fortran native compiler (symlinks)
+About gxx
+---------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C++ native compiler (symlinks)
+About gfortran_linux-64
+-----------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU Fortran Compiler (activation scripts)
+About gxx_linux-64
+------------------
+
+Home: https://github.com/conda-forge/ctng-compiler-activation-feedstock
+
+Package license: BSD-3-Clause
+
+Summary: GNU C++ Compiler (activation scripts)
Current build status
====================
@@ -30,448 +217,448 @@ Current build status
linux_64_conda_glibc_ver2.12ctng_gcc10.4.0ctng_target_platformlinux-64 |
-
+
|
| linux_64_conda_glibc_ver2.12ctng_gcc11.3.0ctng_target_platformlinux-64 |
-
+
|
| linux_64_conda_glibc_ver2.12ctng_gcc12.2.0ctng_target_platformlinux-64 |
-
+
|
| linux_64_conda_glibc_ver2.12ctng_gcc9.5.0ctng_target_platformlinux-64 |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-s390x |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-s390x |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-s390x |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-s390x |
-
+
|
| linux_aarch64_conda_glibc_ver2.12ctng_gcc10.4.0ctng_target_platformlinux-64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.12ctng_gcc11.3.0ctng_target_platformlinux-64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.12ctng_gcc12.2.0ctng_target_platformlinux-64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.12ctng_gcc9.5.0ctng_target_platformlinux-64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-s390x |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-s390x |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-s390x |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_aarch64_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-s390x |
-
+
|
| linux_ppc64le_conda_glibc_ver2.12ctng_gcc10.4.0ctng_target_platformlinux-64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.12ctng_gcc11.3.0ctng_target_platformlinux-64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.12ctng_gcc12.2.0ctng_target_platformlinux-64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.12ctng_gcc9.5.0ctng_target_platformlinux-64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-s390x |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-s390x |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-s390x |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_ppc64le_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-s390x |
-
+
|
| linux_s390x_conda_glibc_ver2.12ctng_gcc10.4.0ctng_target_platformlinux-64 |
-
+
|
| linux_s390x_conda_glibc_ver2.12ctng_gcc11.3.0ctng_target_platformlinux-64 |
-
+
|
| linux_s390x_conda_glibc_ver2.12ctng_gcc12.2.0ctng_target_platformlinux-64 |
-
+
|
| linux_s390x_conda_glibc_ver2.12ctng_gcc9.5.0ctng_target_platformlinux-64 |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc10.4.0ctng_target_platformlinux-s390x |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc11.3.0ctng_target_platformlinux-s390x |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc12.2.0ctng_target_platformlinux-s390x |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-aarch64 |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-ppc64le |
-
+
|
| linux_s390x_conda_glibc_ver2.17ctng_gcc9.5.0ctng_target_platformlinux-s390x |
-
+
|
diff --git a/recipe/activate-gcc.sh b/recipe/activate-gcc.sh
index a97a6357..3aa70295 100644
--- a/recipe/activate-gcc.sh
+++ b/recipe/activate-gcc.sh
@@ -141,16 +141,30 @@ _CMAKE_ARGS="-DCMAKE_AR=${CONDA_PREFIX}/bin/@CHOST@-ar -DCMAKE_CXX_COMPILER_AR=$
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_RANLIB=${CONDA_PREFIX}/bin/@CHOST@-ranlib -DCMAKE_CXX_COMPILER_RANLIB=${CONDA_PREFIX}/bin/@CHOST@-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=${CONDA_PREFIX}/bin/@CHOST@-gcc-ranlib"
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_LINKER=${CONDA_PREFIX}/bin/@CHOST@-ld -DCMAKE_STRIP=${CONDA_PREFIX}/bin/@CHOST@-strip"
+_MESON_ARGS="--buildtype release"
+
if [ "${CONDA_BUILD:-0}" = "1" ]; then
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY"
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_FIND_ROOT_PATH=$PREFIX;${BUILD_PREFIX}/@CHOST@/sysroot"
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_INSTALL_LIBDIR=lib"
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_PROGRAM_PATH=${BUILD_PREFIX}/bin;$PREFIX/bin"
+ _MESON_ARGS="${_MESON_ARGS} --prefix=$PREFIX -Dlibdir=lib"
fi
# shellcheck disable=SC2050 # templating will fix this error
if [ "@CONDA_BUILD_CROSS_COMPILATION@" = "1" ]; then
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=@LINUX_MACHINE@"
+ _MESON_ARGS="${_MESON_ARGS} --cross-file ${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "[host_machine]" > "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "system = 'linux'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "cpu = '@LINUX_MACHINE@'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "cpu_family = '@LINUX_MACHINE@'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "endian = 'little'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ # specify path to correct binaries from build (not host) environment,
+ # which meson will not auto-discover (out of caution) if not told explicitly.
+ echo "[binaries]" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "cmake = '${CONDA_PREFIX}/bin/cmake'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
+ echo "pkgconfig = '${CONDA_PREFIX}/bin/pkg-config'" >> "${CONDA_PREFIX}/meson_cross_file.txt"
fi
_tc_activation \
@@ -170,6 +184,7 @@ _tc_activation \
"CC_FOR_BUILD,${CONDA_PREFIX}/bin/@CBUILD@-cc" \
"build_alias,@CBUILD@" \
"host_alias,@CHOST@" \
+ "MESON_ARGS,${_MESON_ARGS}" \
"CMAKE_ARGS,${_CMAKE_ARGS}"
unset _CMAKE_ARGS
diff --git a/recipe/deactivate-gcc.sh b/recipe/deactivate-gcc.sh
index 4febe015..1bf63d9f 100644
--- a/recipe/deactivate-gcc.sh
+++ b/recipe/deactivate-gcc.sh
@@ -129,6 +129,7 @@ _tc_activation \
"CC_FOR_BUILD,${CONDA_PREFIX}/bin/@CBUILD@-cc" \
"build_alias,@CBUILD@" \
"host_alias,@CHOST@" \
+ "MESON_ARGS,${_MESON_ARGS:-}" \
"CMAKE_ARGS,${_CMAKE_ARGS:-}"
if [ $? -ne 0 ]; then
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 2be1b39e..d4a89b46 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -8,7 +8,7 @@ source:
path: .
build:
- number: 11
+ number: 12
skip: True # [not linux]
requirements: