# This file created by conda-build 25.1.2
# meta.yaml template originally from:
# /home/task_176398831373055/ocl-icd-feedstock/recipe, last modified Mon Nov 24 12:54:09 2025
# ------------------------------------------------

package:
  name: ocl-icd
  version: 2.3.3
source:
  patches:
    - check_icds_recursively.diff
  sha256: 8cd8e8e129db3081a64090fc1252bec39dc88cdb7b3f929315e014b75069bd9d
  url: https://github.com/OCL-dev/ocl-icd/archive/v2.3.3.tar.gz
build:
  number: '0'
  run_exports:
    - ocl-icd >=2.3.3,<3.0a0
  string: h47b2149_0
requirements:
  build:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - autoconf 2.71 pl5340h5eee18b_0
    - automake 1.16.5 pl5340h06a4308_1
    - binutils_impl_linux-64 2.44 h4b9a079_2
    - binutils_linux-64 2.44 hc03a8fd_2
    - ca-certificates 2025.11.4 h06a4308_0
    - gcc_impl_linux-64 14.3.0 h4943218_4
    - gcc_linux-64 14.3.0 hda73cce_12
    - gmp 6.3.0 h6a678d5_0
    - kernel-headers_linux-64 4.18.0 h3108a97_1
    - ld_impl_linux-64 2.44 h153f514_2
    - libgcc 15.2.0 h69a1729_7
    - libgcc-devel_linux-64 14.3.0 he7458c1_104
    - libgcc-ng 15.2.0 h166f726_7
    - libgomp 15.2.0 h4751f2c_7
    - libsanitizer 14.3.0 hd4faa28_4
    - libstdcxx 15.2.0 h39759b7_7
    - libstdcxx-ng 15.2.0 hc03a8fd_7
    - libtool 2.4.7 h6a678d5_0
    - libxcb 1.17.0 h9b100fa_0
    - libzlib 1.3.1 hb25bd0a_0
    - m4 1.4.18 h4e445db_0
    - make 4.2.1 h1bed415_1
    - ncurses 6.5 h7934f7d_0
    - openssl 1.1.1w h7f8727e_0
    - perl 5.40.2 0_h5eee18b_perl5
    - pkg-config 0.29.2 h1bed415_8
    - pthread-stubs 0.3 h0ce48e5_1
    - readline 8.3 hc2a1206_0
    - ruby 2.5.1 haf1161a_0
    - sysroot_linux-64 2.28 h3108a97_1
    - tk 8.6.15 h54e0aa7_0
    - tzdata 2025b h04d1e81_0
    - xorg-libx11 1.8.12 h9b100fa_1
    - xorg-libxau 1.0.12 h9b100fa_0
    - xorg-libxdmcp 1.1.5 h9b100fa_0
    - xorg-xorgproto 2024.1 h5eee18b_1
    - yaml 0.1.7 had09818_2
    - zlib 1.3.1 hb25bd0a_0
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - libgcc 15.2.0 h69a1729_7
    - libgomp 15.2.0 h4751f2c_7
    - opencl-headers 2025.07.22 hfb20e49_0
  run:
    - __glibc >=2.28,<3.0.a0
    - libgcc >=14
    - opencl-headers >=2025.7.22
test:
  commands:
    - test -f "${PREFIX}/include/CL/cl.h"
    - test -f "${PREFIX}/lib/libOpenCL.so.1"
    - test -d "${PREFIX}/etc/OpenCL/vendors"
    - $CC -o test ocl_test.c -L${PREFIX}/lib -lOpenCL -I${PREFIX}/include
    - ./test
    - ./test | grep "No platforms found!"
    - pkg-config OpenCL --libs --cflags
  requires:
    - gcc_linux-64 14.3.0.*
    - pkg-config
    - sysroot_linux-64 2.28.*
  source_files:
    - ocl_test.c
about:
  description: '`libOpenCL.so` is the library linked by OpenCL programs. It does not
    contains

    any OpenCL implementation itself, but merely act as a dispatcher to real OpenCL

    implementations provided as OpenCL Installable Client Driver (ICD).

    '
  dev_url: https://github.com/OCL-dev/ocl-icd
  doc_source_url: https://github.com/OCL-dev/ocl-icd/tree/v2.3.3/doc
  home: https://github.com/OCL-dev/ocl-icd
  license: BSD-2-Clause
  license_family: BSD
  license_file: COPYING
  summary: An OpenCL ICD Loader under an open-source license
extra:
  copy_test_source_files: true
  final: true
  recipe-maintainers:
    - inducer
    - isuruf
    - matthiasdiener
