diff --git a/Golden_Repo/p/pocl/pocl-1.8-GCCcore-11.2.0.eb b/Golden_Repo/p/pocl/pocl-1.8-GCCcore-11.2.0.eb new file mode 100644 index 0000000000000000000000000000000000000000..f6c05dbab8b7f5c10f8deb0199e0781d8a1a91a6 --- /dev/null +++ b/Golden_Repo/p/pocl/pocl-1.8-GCCcore-11.2.0.eb @@ -0,0 +1,41 @@ +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'] +checksums = ['0f63377ae1826e16e90038fc8e7f65029be4ff6f9b059f6907174b5c0d1f8ab2'] + +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' diff --git a/acls.yml b/acls.yml index 9c078a3598021cf9a85f6b80bf076f4aadf6707e..ece56cf80957b766e898e9e3af39f0b782707e2a 100644 --- a/acls.yml +++ b/acls.yml @@ -696,6 +696,9 @@ software: - name: 'Pillow-SIMD' owner: 'strube1' base: True + - name: 'pocl' + owner: 'strube1' + base: True - name: 'PostgreSQL' owner: 'strube1' base: True diff --git a/bin/gcc11ize.py b/bin/gcc11ize.py index 19f3462b73a7defacf5231c39810ffa5790001c2..90e69bac02ca8b2ff67804dcbc744311c0dec7bf 100755 --- a/bin/gcc11ize.py +++ b/bin/gcc11ize.py @@ -23,6 +23,7 @@ releases = { 'cairo': ['1.17.2', '1.16.0'], 'CMake': ['3.18.0', '3.21.1'], 'CGAL': ['5.1', '5.2'], + 'Clang': ['11.0.1', '13.0.1'], 'Coreutils': ['8.32', '9.0'], 'CUDA': ['11.3', '11.5'], 'cuDNN': ['8.2.1.32', '8.2.2.26'],