From 3b1a7d29ecd9dbf949d0a55420e84d75c3ec64dc Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 13:58:24 +0200 Subject: [PATCH 01/19] Check that CI fails --- .github/workflows/static_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 58ee404f80..ea0edb9b69 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -18,6 +18,7 @@ concurrency: cancel-in-progress: true jobs: + # TMP Check that CI fails conda-build: name: "micromamba - ${{ matrix.platform }}-${{ matrix.arch }}" runs-on: ${{ matrix.os }} From de65c565ee23f3bc557d4010cba262a66680eac3 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 14:26:47 +0200 Subject: [PATCH 02/19] Run CI through conda-forge script --- .github/workflows/static_build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index ea0edb9b69..1e787aa1b8 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -46,12 +46,10 @@ jobs: - uses: mamba-org/setup-micromamba@v1 with: environment-name: mambabuild - create-args: boa + create-args: python boa - name: Build conda package shell: bash -l {0} - run: | - conda-mambabuild -m micromamba-feedstock/.ci_support/${{ matrix.platform }}_${{ matrix.arch }}_.yaml \ - micromamba-feedstock/recipe ${{ matrix.arch != '64' && '--no-test' || '' }} + run: python micromamba-feedstock/build-locally.py ${{ matrix.platform }}_${{ matrix.arch }}_ - name: Unpack micromamba package shell: bash -l {0} run: | From e9cd13b57b3d4170159595e328bd67083e090e7e Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 14:35:43 +0200 Subject: [PATCH 03/19] Run conda-forge script in feddstock dir --- .github/workflows/static_build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 1e787aa1b8..b38a210d89 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -49,7 +49,9 @@ jobs: create-args: python boa - name: Build conda package shell: bash -l {0} - run: python micromamba-feedstock/build-locally.py ${{ matrix.platform }}_${{ matrix.arch }}_ + run: | + cd micromamba-feedstock/ + python build-locally.py ${{ matrix.platform }}_${{ matrix.arch }}_ - name: Unpack micromamba package shell: bash -l {0} run: | From 2c97b7088b92d0149b6523a2cdd9255cb9878832 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 15:05:33 +0200 Subject: [PATCH 04/19] Try setting mamba source visible to conda-forge script --- .github/workflows/static_build.yml | 8 ++++++-- micromamba/recipe/meta.yaml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index b38a210d89..5b7f01714a 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -32,13 +32,17 @@ jobs: - { os: macos-latest, platform: osx, arch: 64 } - { os: macos-latest, platform: osx, arch: arm64 } steps: - - name: Checkout branch - uses: actions/checkout@v3 - name: Checkout micromamba-feedstock uses: actions/checkout@v3 with: repository: conda-forge/micromamba-feedstock path: micromamba-feedstock + - name: Clear micromamba-feedstock git directory + run: rm -rf "micromamba-feedstock/.git" + - name: Checkout mamba branch + uses: actions/checkout@v3 + with: + path: micromamba-feedstock/mamba # replace the url: ... until the libmamba.patch line with git_url: ../.. - name: Patch micromamba-feedstock run: | diff --git a/micromamba/recipe/meta.yaml b/micromamba/recipe/meta.yaml index 8646e516c0..1369de3f56 100644 --- a/micromamba/recipe/meta.yaml +++ b/micromamba/recipe/meta.yaml @@ -6,7 +6,7 @@ package: version: {{ version }} source: - - git_url: ../../ + - git_url: /home/conda/feedstock_root/mamba build: number: {{ build_num }} From 4d161234a3185f72311c8fc613ca20d7a80f1755 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 15:08:56 +0200 Subject: [PATCH 05/19] Fix feedstock patch path --- .github/workflows/static_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 5b7f01714a..e61c643df6 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -46,7 +46,7 @@ jobs: # replace the url: ... until the libmamba.patch line with git_url: ../.. - name: Patch micromamba-feedstock run: | - cp ./micromamba/recipe/* micromamba-feedstock/recipe/ + cp micromamba-feedstock/mamba/micromamba/recipe/* micromamba-feedstock/recipe/ - uses: mamba-org/setup-micromamba@v1 with: environment-name: mambabuild @@ -59,6 +59,7 @@ jobs: - name: Unpack micromamba package shell: bash -l {0} run: | + micromamba package extract micromamba-feedstock/ cd $MAMBA_ROOT_PREFIX/envs/mambabuild/conda-bld/${{ matrix.platform }}-${{ matrix.arch }} tar -xvf micromamba-*.tar.bz2 mkdir -p ${{ github.workspace }}/artifacts From 9c4a98f756be73a7883e5d1334130ec1926ba1f6 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 16:25:44 +0200 Subject: [PATCH 06/19] Checkout TMP AntoinePrv repo --- .github/workflows/static_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index e61c643df6..06904ff63c 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -35,7 +35,8 @@ jobs: - name: Checkout micromamba-feedstock uses: actions/checkout@v3 with: - repository: conda-forge/micromamba-feedstock + repository: AntoinePrv/micromamba-feedstock + branch: dyn-source path: micromamba-feedstock - name: Clear micromamba-feedstock git directory run: rm -rf "micromamba-feedstock/.git" From 186f4afbc3102313de58859e9062b2193d974141 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 16:28:46 +0200 Subject: [PATCH 07/19] Don't template micromamba-feedstock --- .github/workflows/static_build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 06904ff63c..d4c651ecca 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -43,11 +43,7 @@ jobs: - name: Checkout mamba branch uses: actions/checkout@v3 with: - path: micromamba-feedstock/mamba - # replace the url: ... until the libmamba.patch line with git_url: ../.. - - name: Patch micromamba-feedstock - run: | - cp micromamba-feedstock/mamba/micromamba/recipe/* micromamba-feedstock/recipe/ + path: micromamba-feedstock/source - uses: mamba-org/setup-micromamba@v1 with: environment-name: mambabuild @@ -56,6 +52,9 @@ jobs: shell: bash -l {0} run: | cd micromamba-feedstock/ + # Special values for running the feedstock with a local source + export FEEDSTOCK_ROOT="${PWD}" + export CI="local" python build-locally.py ${{ matrix.platform }}_${{ matrix.arch }}_ - name: Unpack micromamba package shell: bash -l {0} From 07197bc9062a35bb7ae5e23754868570bdce0edd Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 16:48:42 +0200 Subject: [PATCH 08/19] Fix checkout ref --- .github/workflows/static_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index d4c651ecca..2fbbc7f45b 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v3 with: repository: AntoinePrv/micromamba-feedstock - branch: dyn-source + ref: dyn-source path: micromamba-feedstock - name: Clear micromamba-feedstock git directory run: rm -rf "micromamba-feedstock/.git" From f986298cd5df80cf7474ab38fb83c1e82dc1d7d4 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 17:26:17 +0200 Subject: [PATCH 09/19] Extract static package --- .github/workflows/static_build.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 2fbbc7f45b..cecfb48de7 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -26,10 +26,10 @@ jobs: fail-fast: false matrix: include: - - { os: ubuntu-latest, platform: linux, arch: 64 } + - { os: ubuntu-latest, platform: linux, arch: "64" } - { os: ubuntu-latest, platform: linux, arch: aarch64 } - { os: ubuntu-latest, platform: linux, arch: ppc64le } - - { os: macos-latest, platform: osx, arch: 64 } + - { os: macos-latest, platform: osx, arch: "64" } - { os: macos-latest, platform: osx, arch: arm64 } steps: - name: Checkout micromamba-feedstock @@ -55,15 +55,14 @@ jobs: # Special values for running the feedstock with a local source export FEEDSTOCK_ROOT="${PWD}" export CI="local" - python build-locally.py ${{ matrix.platform }}_${{ matrix.arch }}_ + python build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" - name: Unpack micromamba package shell: bash -l {0} run: | - micromamba package extract micromamba-feedstock/ - cd $MAMBA_ROOT_PREFIX/envs/mambabuild/conda-bld/${{ matrix.platform }}-${{ matrix.arch }} - tar -xvf micromamba-*.tar.bz2 - mkdir -p ${{ github.workspace }}/artifacts - cp bin/micromamba ${{ github.workspace }}/artifacts + micromamba package extract \ + "micromamba-feedstock/build_artifacts/${{ matrix.platform }}-${{ matrix.arch }}/"micromamba-*.tar.bz2 "pkg/" + mkdir -p "${{ github.workspace }}/artifacts" + cp pkg/bin/micromamba "${{ github.workspace }}/artifacts" - name: Test micromamba on emulated target architecture if: ${{ matrix.arch != '64' && matrix.platform == 'linux' }} uses: uraimo/run-on-arch-action@v2 From b11c01210af9d1b2086007d909a939ea64c97f33 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 18:18:06 +0200 Subject: [PATCH 10/19] TMP debug OSX build --- .github/workflows/static_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index cecfb48de7..dcf000adb8 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -59,6 +59,7 @@ jobs: - name: Unpack micromamba package shell: bash -l {0} run: | + ls micromamba-feedstock/build_artifacts micromamba package extract \ "micromamba-feedstock/build_artifacts/${{ matrix.platform }}-${{ matrix.arch }}/"micromamba-*.tar.bz2 "pkg/" mkdir -p "${{ github.workspace }}/artifacts" From 673de8c152565a214518f9b3c9f8e46343cb211b Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Wed, 16 Aug 2023 18:52:00 +0200 Subject: [PATCH 11/19] Set OSX out dir --- .github/workflows/static_build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index dcf000adb8..ffcd02af28 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -55,6 +55,9 @@ jobs: # Special values for running the feedstock with a local source export FEEDSTOCK_ROOT="${PWD}" export CI="local" + # For OSX no using Docker + export CONDA_BLD_PATH="${PWD}/build_artifacts" + mkdir -p "${CONDA_BLD_PATH}" python build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" - name: Unpack micromamba package shell: bash -l {0} From 6038915f0807f94bcba5761256dee4d2a5a3a2b5 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 08:21:28 +0200 Subject: [PATCH 12/19] Disable cleanup --- .github/workflows/static_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index ffcd02af28..4da1ba6381 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -48,6 +48,7 @@ jobs: with: environment-name: mambabuild create-args: python boa + post-cleanup: none # FIXME the cleanup fails on OSX - name: Build conda package shell: bash -l {0} run: | From 2b9d72760f5f9887c5713b749fb931225ea840d1 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 08:35:23 +0200 Subject: [PATCH 13/19] Run Linux ppc64le and aarch64 builds on emulated arch --- .github/workflows/static_build.yml | 33 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 4da1ba6381..82bdac2df5 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -49,17 +49,31 @@ jobs: environment-name: mambabuild create-args: python boa post-cleanup: none # FIXME the cleanup fails on OSX - - name: Build conda package + - name: Build conda package (Unix native) + if: ${{ !(matrix.platform == 'linux' && matrix.arch != '64') }} shell: bash -l {0} run: | cd micromamba-feedstock/ # Special values for running the feedstock with a local source export FEEDSTOCK_ROOT="${PWD}" export CI="local" - # For OSX no using Docker + # For OSX not using Docker export CONDA_BLD_PATH="${PWD}/build_artifacts" mkdir -p "${CONDA_BLD_PATH}" python build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" + # The build_locally.py script will test all Linux builds, which fails outside of linux-64 + - name: Build conda package (Linux emulated) + if: ${{ matrix.platform == 'linux' && matrix.arch != '64' }} + uses: uraimo/run-on-arch-action@v2 + with: + arch: ${{ matrix.arch }} + distro: ubuntu_latest + run: | + cd micromamba-feedstock/ + # Special values for running the feedstock with a local source + export FEEDSTOCK_ROOT="${PWD}" + export CI="local" + python build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" - name: Unpack micromamba package shell: bash -l {0} run: | @@ -68,21 +82,6 @@ jobs: "micromamba-feedstock/build_artifacts/${{ matrix.platform }}-${{ matrix.arch }}/"micromamba-*.tar.bz2 "pkg/" mkdir -p "${{ github.workspace }}/artifacts" cp pkg/bin/micromamba "${{ github.workspace }}/artifacts" - - name: Test micromamba on emulated target architecture - if: ${{ matrix.arch != '64' && matrix.platform == 'linux' }} - uses: uraimo/run-on-arch-action@v2 - with: - arch: ${{ matrix.arch }} - distro: ubuntu_latest - dockerRunArgs: | - -v "${{ github.workspace }}/artifacts:/artifacts" - run: | - cd /artifacts - ./micromamba --version - ./micromamba --help - ./micromamba - apt update && apt install -y ca-certificates - ./micromamba create -p /tmp/testenv --override-channels -c conda-forge --yes python=3.9 - name: Archive conda-build artifact if: failure() run: tar -czf ${{ github.workspace }}/micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz $MAMBA_ROOT_PREFIX/envs/mambabuild/conda-bld/micromamba_* From 97484ea60bf8fdebcc9bc02ba5828b0ae2f7e0f1 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 08:48:44 +0200 Subject: [PATCH 14/19] Try running python on fedora --- .github/workflows/static_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 82bdac2df5..9e3b390f38 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -67,13 +67,13 @@ jobs: uses: uraimo/run-on-arch-action@v2 with: arch: ${{ matrix.arch }} - distro: ubuntu_latest + distro: fedora_latest run: | cd micromamba-feedstock/ # Special values for running the feedstock with a local source export FEEDSTOCK_ROOT="${PWD}" export CI="local" - python build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" + python3 build-locally.py "${{ matrix.platform }}_${{ matrix.arch }}_" - name: Unpack micromamba package shell: bash -l {0} run: | From b016facca69e773d09757f9a3d96f1e2d9356198 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 09:03:17 +0200 Subject: [PATCH 15/19] Run docker in docker --- .github/workflows/static_build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 9e3b390f38..4f42f7b467 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -68,6 +68,10 @@ jobs: with: arch: ${{ matrix.arch }} distro: fedora_latest + dockerRunArgs: -v /var/run/docker.sock:/var/run/docker.sock + install: | + dnf -y update + dnf -y install docker run: | cd micromamba-feedstock/ # Special values for running the feedstock with a local source From 7cedfb717c7e844d04712d6065af06908cb46463 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 10:26:39 +0200 Subject: [PATCH 16/19] Try ubuntu --- .github/workflows/static_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 4f42f7b467..f97763b74a 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -67,11 +67,11 @@ jobs: uses: uraimo/run-on-arch-action@v2 with: arch: ${{ matrix.arch }} - distro: fedora_latest + distro: ubuntu_latest dockerRunArgs: -v /var/run/docker.sock:/var/run/docker.sock install: | - dnf -y update - dnf -y install docker + apt-get update -y + apt-get install -y python3 docker.io run: | cd micromamba-feedstock/ # Special values for running the feedstock with a local source From 6dd3383d6589a2cf01c2ef786b6c451ab70f8592 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 11:09:14 +0200 Subject: [PATCH 17/19] Change repo to conda-forge --- .github/workflows/static_build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index f97763b74a..4410c93d5e 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -35,8 +35,7 @@ jobs: - name: Checkout micromamba-feedstock uses: actions/checkout@v3 with: - repository: AntoinePrv/micromamba-feedstock - ref: dyn-source + repository: conda-forge/micromamba-feedstock path: micromamba-feedstock - name: Clear micromamba-feedstock git directory run: rm -rf "micromamba-feedstock/.git" From 9dd4eb6c9baeb7abe728da4918935eeca197bb7b Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 11:09:26 +0200 Subject: [PATCH 18/19] Revert "Check that CI fails" This reverts commit 3b1a7d29ecd9dbf949d0a55420e84d75c3ec64dc. --- .github/workflows/static_build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 4410c93d5e..697ce1fcc0 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -18,7 +18,6 @@ concurrency: cancel-in-progress: true jobs: - # TMP Check that CI fails conda-build: name: "micromamba - ${{ matrix.platform }}-${{ matrix.arch }}" runs-on: ${{ matrix.os }} From e8849c0af1b7446124fae9bdfcce3528a1cc2928 Mon Sep 17 00:00:00 2001 From: AntoinePrv Date: Thu, 17 Aug 2023 11:10:57 +0200 Subject: [PATCH 19/19] Remove unused recipe fork --- micromamba/recipe/build.sh | 32 ----------- micromamba/recipe/meta.yaml | 106 ------------------------------------ 2 files changed, 138 deletions(-) delete mode 100644 micromamba/recipe/build.sh delete mode 100644 micromamba/recipe/meta.yaml diff --git a/micromamba/recipe/build.sh b/micromamba/recipe/build.sh deleted file mode 100644 index 59e25bcf5b..0000000000 --- a/micromamba/recipe/build.sh +++ /dev/null @@ -1,32 +0,0 @@ -# Conda's binary relocation can result in string changing which can result in errors like -# > warning: command substitution: ignored null byte in input -# https://github.com/mamba-org/mamba/issues/1517 -export CXXFLAGS="${CXXFLAGS} -fno-merge-constants" -export CFLAGS="${CFLAGS} -fno-merge-constants" -export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY=1" - -cmake -B build \ - -G Ninja \ - ${CMAKE_ARGS} \ - -D CMAKE_INSTALL_PREFIX=${PREFIX} \ - -D CMAKE_BUILD_TYPE="Release" \ - -D BUILD_LIBMAMBA=ON \ - -D BUILD_STATIC=ON \ - -D BUILD_MICROMAMBA=ON -cmake --build build/ --parallel ${CPU_COUNT} -cmake --install build/ - -# remove everything related to `libmamba` -rm -rf $PREFIX/lib/libmamba* -rm -rf $PREFIX/include/mamba -rm -rf $PREFIX/lib/cmake/libmamba - -${STRIP:-strip} ${PREFIX}/bin/micromamba - -if [[ "$target_platform" == "osx-"* ]]; then - OTOOL_OUTPUT=$(${OTOOL:-otool} -L ${PREFIX}/bin/micromamba) - if [[ "$OTOOL_OUTPUT" == *libc++.1.dylib* ]]; then - echo "micromamba is linked to libc++.1.dlyb" - exit 1 - fi -fi diff --git a/micromamba/recipe/meta.yaml b/micromamba/recipe/meta.yaml deleted file mode 100644 index 1369de3f56..0000000000 --- a/micromamba/recipe/meta.yaml +++ /dev/null @@ -1,106 +0,0 @@ -{% set version = "1.1.0" %} -{% set build_num = 1 %} - -package: - name: micromamba - version: {{ version }} - -source: - - git_url: /home/conda/feedstock_root/mamba - -build: - number: {{ build_num }} - string: {{ build_num }} - ignore_run_exports_from: - - libcurl # [unix] - - libarchive-minimal-static # [unix] - - reproc-cpp # [unix] - - openssl # [unix] - - spdlog 1.10 *_0 - - fmt - - {{ compiler('c') }} # [linux] - - {{ compiler('cxx') }} # [linux] - - python # [win] - -requirements: - build: - - {{ compiler('c') }} - - {{ compiler('cxx') }} - - cmake >=3.16 # [unix] - - ninja - - vcpkg # [win] - - python # [win] - - curl >=7.87 # [win] - - zlib # [win] - host: - - cli11 >=2.2,<3 - - cpp-expected - - nlohmann_json - - spdlog 1.10 *_0 - - fmt - - yaml-cpp-static # [unix] - - libcurl >=7.87 # [linux] - - libcurl-static >=7.87 # [linux] - - libcurl 7.86 # [osx] - - libcurl-static 7.86 # [osx] - - xz-static # [unix] - - libssh2-static # [unix] - - libarchive-minimal-static # [unix] - - krb5-static # [unix] - - libsolv-static # [unix] - - openssl {{ openssl }} # [unix] - - libopenssl-static {{ openssl }} # [unix] - - zstd-static # [unix] - - zlib # [unix] - - libnghttp2-static # [unix] - - lz4-c-static # [unix] - - reproc-static # [unix] - - reproc-cpp # [unix] - - reproc-cpp-static # [unix] - - winreg # [win] - -test: - commands: - - test -f $PREFIX/bin/micromamba # [unix] - - micromamba --help - - export TMPDIR="${TMPDIR:-/tmp}" # [unix and not (ppc64le or aarch64)] - - if [ ! -d "${TMPDIR}" ]; then mkdir -p "${TMPDIR}"; fi # [unix and not (ppc64le or aarch64)] - - stat $TMPDIR # [unix and not (ppc64le or aarch64)] - - export MAMBA_ROOT_PREFIX=$TMPDIR/mamba # [unix and not (ppc64le or aarch64)] - - micromamba create -p $TMPDIR/testenv --override-channels -c conda-forge --yes python=3.9 # [unix and not (ppc64le or aarch64)] - - $TMPDIR/testenv/bin/python --version # [unix and not (ppc64le or aarch64)] - - $TMPDIR/testenv/bin/python -c 'import ssl' # [unix and not (ppc64le or aarch64)] - -about: - home: https://github.com/mamba-org/mamba - license_file: - - LICENSE - - CURL_LICENSE.txt - - LIBARCHIVE_LICENSE.txt - - KRB5_LICENSE.txt - - LIBSOLV_LICENSE.txt - - LIBOPENSSL_LICENSE.txt - - LIBOPENSSL_3_LICENSE.txt - - CLI11_LICENSE.txt - - NLOHMANN_JSON_LICENSE.txt - - ZSTD_LICENSE.txt - - LIBLZ4_LICENSE.txt - - C_ARES_LICENSE.txt - - LIBEV_LICENSE.txt - - LIBNGHTTP2_LICENSE.txt - - REPROC_LICENSE.txt - - SPDLOG_LICENSE.txt - - FMT_LICENSE.txt - - TL_EXPECTED_LICENSE.txt - license: BSD-3-Clause AND MIT AND OpenSSL - license_family: BSD - summary: Micromamba is a tiny version of mamba, the fast conda package installer. - dev_url: https://github.com/mamba-org/mamba - -extra: - recipe-maintainers: - - wolfv - - SylvainCorlay - - JohanMabille - - mariusvniekerk - - adriendelsalle