Skip to content
Snippets Groups Projects
Commit 33f24134 authored by Alexandre Strube's avatar Alexandre Strube
Browse files

Pocl

parent 0329ec12
Branches
Tags
No related merge requests found
easyblock = 'CMakeNinja'
name = 'pocl'
version = '1.8'
homepage = 'https://portablecl.org'
description = "Pocl is a portable open source (MIT-licensed) implementation of the OpenCL standard"
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
source_urls = ['https://github.com/pocl/pocl/archive/']
sources = ['v%(version)s.tar.gz']
builddependencies = [
('CMake', '3.21.1'),
('Ninja', '1.10.2'),
('pkg-config', '0.29.2'),
]
dependencies = [
('CUDA', '11.5', '', SYSTEM),
('Clang', '13.0.1'),
('hwloc', '2.5.0'),
('libtool', '2.4.6'),
('libxml2', '2.9.10'),
]
separate_build_dir = True
# disable attempt to find an ICD loader, always build libOpenCL.so, enable CUDA
configopts = "-DENABLE_ICD=0 -DINSTALL_OPENCL_HEADERS=1 -DENABLE_CUDA=1 "
# make sure we use the easybuild Clang
configopts += "-DWITH_LLVM_CONFIG=$EBROOTCLANG/bin/llvm-config -DSTATIC_LLVM=ON"
sanity_check_paths = {
'files': ['bin/poclcc', 'lib64/libOpenCL.%s' % SHLIB_EXT],
'dirs': ['include/CL', 'lib64/pkgconfig'],
}
moduleclass = 'lib'
......@@ -696,6 +696,9 @@ software:
- name: 'Pillow-SIMD'
owner: 'strube1'
base: True
- name: 'pocl'
owner: 'strube1'
base: True
- name: 'PostgreSQL'
owner: 'strube1'
base: True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment