From b44b43be71460bb3156a667a5788859e483d3985 Mon Sep 17 00:00:00 2001 From: Stefan Wolfsheimer Date: Thu, 19 Dec 2024 10:08:46 +0100 Subject: [PATCH 1/4] adding easyconfigs: freeglut-3.6.0-GCCcore-13.3.0.eb --- .../freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb diff --git a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb new file mode 100644 index 00000000000..41676a0155c --- /dev/null +++ b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb @@ -0,0 +1,32 @@ +easyblock = 'CMakeMake' + +name = 'freeglut' +version = '3.6.0' + +homepage = 'http://freeglut.sourceforge.net/' +description = "freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library." + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [SOURCEFORGE_SOURCE] +sources = [SOURCE_TAR_GZ] + +builddependencies = [ + ('binutils', '2.42'), + ('CMake', '3.29.3'), +] +dependencies = [ + ('X11', '20240607'), + ('Mesa', '24.1.3'), + ('libGLU', '9.0.3'), +] + +configopts = ' -DX11_X11_LIB="$EBROOTX11/lib/libX11.so" -DX11_X11_INCLUDE_PATH="$EBROOTX11/include/X11" -DX11_Xext_LIB="$EBROOTX11/lib/libXext.so" -DX11_Xrandr_LIB="$EBROOTX11/lib/libXrandr.so" -DX11_Xrandr_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" -DX11_Xi_LIB="$EBROOTX11/lib/libXrandr.so" -DX11_Xi_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" ' + + +sanity_check_paths = { + 'files': [('lib/libglut.a', 'lib64/libglut.a'), ('lib/libglut.so', 'lib64/libglut.so')], + 'dirs': ['include/GL'], +} + +moduleclass = 'lib' From 759b9d69cffe5b7e6e243c4be64875c0b50ef468 Mon Sep 17 00:00:00 2001 From: Stefan Wolfsheimer Date: Thu, 19 Dec 2024 10:25:20 +0100 Subject: [PATCH 2/4] added checksum --- .../easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb | 1 + 1 file changed, 1 insertion(+) diff --git a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb index 41676a0155c..68489093554 100644 --- a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb @@ -10,6 +10,7 @@ toolchain = {'name': 'GCCcore', 'version': '13.3.0'} source_urls = [SOURCEFORGE_SOURCE] sources = [SOURCE_TAR_GZ] +checksums = ['9c3d4d6516fbfa0280edc93c77698fb7303e443c1aaaf37d269e3288a6c3ea52'] builddependencies = [ ('binutils', '2.42'), From 4fd5997ab3361dd558d28f1fdf9338a595c80db5 Mon Sep 17 00:00:00 2001 From: stefan-wolfsheimer Date: Fri, 10 Jan 2025 13:44:05 +0100 Subject: [PATCH 3/4] Update easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb Co-authored-by: Sam Moors --- .../easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb index 68489093554..dc2e127e693 100644 --- a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb @@ -26,7 +26,7 @@ configopts = ' -DX11_X11_LIB="$EBROOTX11/lib/libX11.so" -DX11_X11_INCLUDE_PATH= sanity_check_paths = { - 'files': [('lib/libglut.a', 'lib64/libglut.a'), ('lib/libglut.so', 'lib64/libglut.so')], + 'files': ['lib/libglut.a', 'lib/libglut.%s' % SHLIB_EXT], 'dirs': ['include/GL'], } From fa3348c12a923e170c9e41c48cf6bc84b3c6bd18 Mon Sep 17 00:00:00 2001 From: stefan-wolfsheimer Date: Fri, 10 Jan 2025 13:44:22 +0100 Subject: [PATCH 4/4] Update easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb Co-authored-by: Sam Moors --- .../f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb index dc2e127e693..fd7092a2e2e 100644 --- a/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/f/freeglut/freeglut-3.6.0-GCCcore-13.3.0.eb @@ -22,7 +22,15 @@ dependencies = [ ('libGLU', '9.0.3'), ] -configopts = ' -DX11_X11_LIB="$EBROOTX11/lib/libX11.so" -DX11_X11_INCLUDE_PATH="$EBROOTX11/include/X11" -DX11_Xext_LIB="$EBROOTX11/lib/libXext.so" -DX11_Xrandr_LIB="$EBROOTX11/lib/libXrandr.so" -DX11_Xrandr_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" -DX11_Xi_LIB="$EBROOTX11/lib/libXrandr.so" -DX11_Xi_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/" ' +configopts = ' '.join([ + '-DX11_X11_LIB="$EBROOTX11/lib/libX11.so"', + '-DX11_X11_INCLUDE_PATH="$EBROOTX11/include/X11"', + '-DX11_Xext_LIB="$EBROOTX11/lib/libXext.so"', + '-DX11_Xrandr_LIB="$EBROOTX11/lib/libXrandr.so"', + '-DX11_Xrandr_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/"', + '-DX11_Xi_LIB="$EBROOTX11/lib/libXrandr.so"', + '-DX11_Xi_INCLUDE_PATH="$EBROOTX11/include/X11/extensions/"', +]) sanity_check_paths = {