-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added VirtualGL-3.1.1-GCC-13.3.0.eb and its dep pocl-6.0-GCC-13.3.0.eb
- Loading branch information
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# https://github.com/pocl/pocl/issues/1219 | ||
# "PoCL 3.1 supports LLVM only up to 15", so need 4.0 for working with Clang 16 | ||
easyblock = 'CMakeNinja' | ||
|
||
name = 'pocl' | ||
version = '6.0' | ||
|
||
homepage = 'http://portablecl.org' | ||
description = """PoCL is a portable open source (MIT-licensed) implementation | ||
of the OpenCL standard (1.2 with some 2.0 features supported).""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.3.0'} | ||
|
||
source_urls = ['https://github.com/pocl/pocl/archive/'] | ||
sources = ['v%(version)s.tar.gz'] | ||
patches = [] | ||
checksums = [ | ||
'de9710223fc1855f833dbbf42ea2681e06aa8ec0464f0201104dc80a74dfd1f2', # v6.0.tar.gz | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.29.3'), | ||
('Ninja', '1.12.1'), | ||
('pkgconf', '2.2.0'), | ||
] | ||
|
||
dependencies = [ | ||
('Clang', '18.1.8'), | ||
('hwloc', '2.10.0'), | ||
('libtool', '2.4.7'), | ||
('libxml2', '2.12.7'), | ||
] | ||
|
||
separate_build_dir = True | ||
|
||
# disable attempt to find an ICD loader, always build libOpenCL.so | ||
configopts = "-DENABLE_ICD=0 -DINSTALL_OPENCL_HEADERS=1 " | ||
# make sure we use the easybuild Clang | ||
configopts += "-DWITH_LLVM_CONFIG=$EBROOTCLANG/bin/llvm-config -DSTATIC_LLVM=ON " | ||
# avoid host CPU auto-detection (which may fail on recent CPUs) | ||
configopts += "-DLLC_HOST_CPU=native " | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/poclcc', 'lib64/libOpenCL.%s' % SHLIB_EXT], | ||
'dirs': ['include/CL', 'lib64/pkgconfig'], | ||
} | ||
|
||
moduleclass = 'lib' |
47 changes: 47 additions & 0 deletions
47
easybuild/easyconfigs/v/VirtualGL/VirtualGL-3.1.1-GCC-13.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Contribution from the Crick HPC team | ||
# uploaded by J. Sassmannshausen | ||
# updated by Valentin Plugaru <[email protected]> 2019-09-26 | ||
# updated by Paul Melis <[email protected]> 2022-10-07, 2023-08-18 | ||
|
||
easyblock = 'CMakeMake' | ||
|
||
name = 'VirtualGL' | ||
version = '3.1.1' | ||
|
||
homepage = 'https://virtualgl.org/' | ||
description = """VirtualGL is an open source toolkit that gives any Linux or | ||
Unix remote display software the ability to run OpenGL applications with full | ||
hardware acceleration.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.3.0'} | ||
|
||
source_urls = ['https://github.com/VirtualGL/virtualgl/archive/'] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['79c0d76993814d9ed9fdc29908de1cc6da08f41931bc8363084fdfae03f53ce8'] | ||
patches = [] | ||
|
||
builddependencies = [ | ||
('CMake', '3.29.3'), | ||
('binutils', '2.42'), | ||
] | ||
|
||
dependencies = [ | ||
('libjpeg-turbo', '3.0.1'), | ||
('Mesa', '24.1.3'), | ||
('libGLU', '9.0.3'), | ||
('pocl', '6.0'), | ||
('X11', '20240607'), | ||
] | ||
|
||
local_binaries = [ | ||
'cpustat', 'glreadtest', 'glxinfo', 'glxspheres64', 'nettest', 'tcbench', | ||
'vglclient', 'vglconfig', 'vglconnect', 'vglgenkey', 'vgllogin', 'vglrun', | ||
'vglserver_config' | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/%s' % x for x in local_binaries], | ||
'dirs': ['lib64', 'share', 'include'], | ||
} | ||
|
||
moduleclass = 'vis' |