# This file created by conda-build 3.21.8
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Thu Feb 10 22:04:06 2022
# ------------------------------------------------

package:
  name: singularity
  version: 3.8.6
source:
  - folder: src/github.com/hpcng/singularity
    patches:
      - patches/0003-Use-external-CNI.patch
      - patches/0004-Find-unsquashfs-from-PATH.diff
      - patches/set-version-from-env.patch
    sha256: bb5a3b7670ac9c7a4b3ce5b2c9f3d6b5be60e21b08d338c9dfdabb7b2a99f528
    url: https://github.com/hpcng/singularity/releases/download/v3.8.6/singularity-3.8.6.tar.gz
build:
  detect_binary_files_with_prefix: false
  number: '0'
  string: h9c2343c_0
requirements:
  build:
    - _go_select 2.3.0 cgo
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 h5bd9786_13
    - binutils_impl_linux-64 2.36.1 h193b22a_2
    - binutils_linux-64 2.36 hf3e587d_4
    - gcc_impl_linux-64 9.4.0 h03d3576_12
    - gcc_linux-64 9.4.0 h391b98a_4
    - go 1.17.6 h17d2266_0
    - go-cgo_linux-64 1.17.6 hb09e268_1
    - go-dep 0.5.4 ha8f183a_1
    - gxx_impl_linux-64 9.4.0 h03d3576_12
    - gxx_linux-64 9.4.0 h0316aca_4
    - kernel-headers_linux-64 3.10.0 h4a8ded7_13
    - ld_impl_linux-64 2.36.1 hea4e1c9_2
    - libgcc-devel_linux-64 9.4.0 hd854feb_12
    - libgcc-ng 11.2.0 h1d223b6_12
    - libgfortran-ng 11.2.0 h69a702a_12
    - libgfortran5 11.2.0 h5c6108e_12
    - libgomp 11.2.0 h1d223b6_12
    - libsanitizer 9.4.0 h79bfe98_12
    - libstdcxx-devel_linux-64 9.4.0 hd854feb_12
    - libstdcxx-ng 11.2.0 he4da1e4_12
    - make 4.3 hd18ef5c_1
    - pkg-config 0.29.2 h36c2ea0_1008
    - sed 4.8 he412f7d_0
    - sysroot_linux-64 2.17 h4a8ded7_13
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 1_gnu
    - bzip2 1.0.8 h7f98852_4
    - ca-certificates 2021.10.8 ha878542_0
    - icu 69.1 h9c3ff4c_0
    - libarchive 3.5.2 hccf745f_1
    - libgcc-ng 11.2.0 h1d223b6_12
    - libgomp 11.2.0 h1d223b6_12
    - libiconv 1.16 h516909a_0
    - libseccomp 2.4.4 h7f98852_1
    - libstdcxx-ng 11.2.0 he4da1e4_12
    - libuuid 2.32.1 h7f98852_1000
    - libxml2 2.9.12 h885dcf4_1
    - libzlib 1.2.11 h36c2ea0_1013
    - lz4-c 1.9.3 h9c3ff4c_1
    - lzo 2.10 h516909a_1000
    - openssl 1.1.1l h7f98852_0
    - xz 5.2.5 h516909a_1
    - zlib 1.2.11 h36c2ea0_1013
    - zstd 1.5.2 ha95c52a_0
  run:
    - __glibc >=2.17,<3.0.a0
    - cni-plugins >=0.7.4
    - libarchive >=3.5.2,<3.6.0a0
    - libgcc-ng >=9.4.0
    - libseccomp >=2.4.4,<3.0a0
    - libstdcxx-ng >=9.4.0
    - libuuid >=2.32.1,<3.0a0
    - openssl >=1.1.1l,<1.1.2a
    - squashfs-tools
  run_constrained: []
test:
  commands:
    - singularity --help
    - singularity --version
    - singularity --version | grep 3.8.6
    - test ! -d $PREFIX/libexec/singularity/cni
    - test -d $PREFIX/lib/cni
    - test ! -d $PREFIX/etc/singularity/network
    - test -f $PREFIX/etc/cni/net.d/00_bridge.conflist
    - singularity build --sandbox lolcow docker://godlovedc/lolcow
    - 'singularity --verbose --debug run -u lolcow || (singularity --verbose --debug
      run -u lolcow 2>&1 | grep ''Failed to create user namespace: user namespace
      requires to set'')'
    - singularity pull library://alpine
    - singularity --verbose --debug run -u alpine_latest.sif echo "Hello world"
about:
  description: 'Singularity is a container platform focused on supporting "Mobility
    of

    Compute"


    Mobility of Compute encapsulates the development to compute model where

    developers can work in an environment of their choosing and creation and

    when the developer needs additional compute resources, this environment

    can easily be copied and executed on other platforms. Additionally as the

    primary use case for Singularity is targeted towards computational

    portability, many of the barriers to entry of other container solutions do

    not apply to Singularity making it an ideal solution for users (both

    computational and non-computational) and HPC centers.

    '
  dev_url: https://github.com/hpcng/singularity/blob/master/CONTRIBUTING.md
  doc_url: https://singularity.hpcng.org/docs
  home: https://singularity.hpcng.org
  license: BSD-3-Clause
  license_file: src/github.com/hpcng/singularity/LICENSE-LBNL.md
  summary: 'Singularity: Application containers for Linux'
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - bgruening
    - chrisburr
    - jakirkham
    - ngam
    - sodre
