<commit_before>{% set name = "omniscidb-cuda" %}
{% set version = "4.8.1" %}
{% set sha256 = "300cdbbaa9108879f7ec22d9cf6210ca2700a3ef99c356a5c00fbf3aeb3a4713" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/omnisci/omniscidb/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    Skip-installing-Boost-libs.patch

build:
  number: 0
  skip: True  # [not (linux64 and cuda_compiler_version == "10.1")]
  missing_dso_whitelist:
  - "*/libcuda.*"  # [linux]

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler("cgo") }}
    - {{ compiler("cuda") }}
    # omniscidb 4.8 is not boost-cpp > 1.68 ready
    - boost-cpp 1.68.*        # to avoid cmake picking up boost-cpp 1.70+
    - cmake
    - make
    - maven
    # computation of NCORES uses lscpu, bc
    - util-linux  # required for lscpu
    - bc
  host:
    - {{ compiler('cxx') }}
    - {{ compiler("cuda") }}
    - boost-cpp 1.68.*
    # omniscidb 4.8 is not llvm > 9 ready
    - llvmdev <9
    - clangdev <9
    - double-conversion
    - snappy
    - gflags
    - glog
    - libarchive
    - libkml
    - libpng
    - blosc
    - libgdal >=2.3
    - arrow-cpp >=0.12.1
    - thrift-cpp >=0.11.0
    - ncurses
    - flex
    - bisonpp
    - openssl
    - librdkafka
    - openldap
  run:
    - boost-cpp 1.68.*
    - arrow-cpp >=0.12.1
    - snappy
    - double-conversion
    - libgdal >=2.3
    - glog
    - gflags
    - openjdk 8.*
    - ncurses
    - xz
    - bzip2
    - zlib
    # omnscidb UDF support requires C++ headers
    - {{ compiler('cxx') }}
    #- llvmdev <9
    - clangdev <9
    - librdkafka
    - openldap

test:
  commands:
    - omnisql -v

about:
  home: https://www.omnisci.com/
  license: Apache-2.0
  license_family: APACHE
  license_file: LICENSE.md
  summary: 'The OmniSci database'

  description: |
    OmniSciDB is an in-memory, column store, SQL relational database 
    that was designed from the ground up to run on GPUs.

    This Omnisci database can be run on CUDA enabled GPUs.
  doc_url: https://www.omnisci.com/docs/latest/
  dev_url: https://github.com/omnisci/omniscidb

extra:
  recipe-maintainers:
    - xmnlab
    - pearu
    - andrewseidl
<commit_msg>Fix deps<commit_after>{% set name = "omniscidb-cuda" %}
{% set version = "4.8.1" %}
{% set sha256 = "300cdbbaa9108879f7ec22d9cf6210ca2700a3ef99c356a5c00fbf3aeb3a4713" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/omnisci/omniscidb/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    Skip-installing-Boost-libs.patch

build:
  number: 0
  skip: True  # [not (linux64 and cuda_compiler_version == "10.1")]
  missing_dso_whitelist:
  - "*/libcuda.*"  # [linux]

requirements:
  build:
    - {{ compiler('cxx') }}
    - {{ compiler("cgo") }}
    - {{ compiler("cuda") }}
    # omniscidb 4.8 is not boost-cpp > 1.68 ready
    - boost-cpp 1.68.*        # to avoid cmake picking up boost-cpp 1.70+
    - cmake
    - make
    - maven
    # computation of NCORES uses lscpu, bc
    - util-linux  # required for lscpu
    - bc
  host:
    - {{ compiler('cxx') }}
    - {{ compiler("cuda") }}
    - boost-cpp 1.68.*
    # omniscidb 4.8 is not llvm > 9 ready
    - llvmdev <9
    - clangdev <9
    - llvm
    - double-conversion
    - snappy
    - gflags
    - glog
    - libarchive
    - libkml
    - libpng
    - blosc
    - libgdal >=2.3
    - arrow-cpp >=0.12.1
    - thrift-cpp >=0.11.0
    - ncurses
    - flex
    - bisonpp
    - openssl
    - librdkafka
    - openldap
  run:
    - boost-cpp 1.68.*
    - arrow-cpp >=0.12.1
    - snappy
    - double-conversion
    - libgdal >=2.3
    - glog
    - gflags
    - openjdk 8.*
    - ncurses
    - xz
    - bzip2
    - zlib
    # omnscidb UDF support requires C++ headers
    - {{ compiler('cxx') }}
    #- llvmdev <9
    - clang <9
    - librdkafka
    - openldap

test:
  commands:
    - omnisql -v

about:
  home: https://www.omnisci.com/
  license: Apache-2.0
  license_family: APACHE
  license_file: LICENSE.md
  summary: 'The OmniSci database'

  description: |
    OmniSciDB is an in-memory, column store, SQL relational database 
    that was designed from the ground up to run on GPUs.

    This Omnisci database can be run on CUDA enabled GPUs.
  doc_url: https://www.omnisci.com/docs/latest/
  dev_url: https://github.com/omnisci/omniscidb

extra:
  recipe-maintainers:
    - xmnlab
    - pearu
    - andrewseidl

{'fraction_non_alphanumeric': 0.13466278288146985, 'fraction_numerical': 0.044364777055792066, 'mean_word_length': 2.0935550935550937, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1069118', 'n_tokens_mistral': 1864, 'n_tokens_neox': 1758, 'n_words': 392}