SF.net SVN: gar:[26252] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jul 28 15:08:54 CEST 2017


Revision: 26252
          http://sourceforge.net/p/gar/code/26252
Author:   dmichelsen
Date:     2017-07-28 13:08:54 +0000 (Fri, 28 Jul 2017)
Log Message:
-----------
hdf5-10: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/hdf5-10/trunk/Makefile
    csw/mgar/pkg/hdf5-10/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/hdf5-10/
    csw/mgar/pkg/hdf5-10/branches/

Modified: csw/mgar/pkg/hdf5-10/trunk/Makefile
===================================================================
--- csw/mgar/pkg/hdf5-7/trunk/Makefile	2016-07-06 11:21:51 UTC (rev 25802)
+++ csw/mgar/pkg/hdf5-10/trunk/Makefile	2017-07-28 13:08:54 UTC (rev 26252)
@@ -1,5 +1,5 @@
 NAME = hdf5
-VERSION = 1.8.7
+VERSION = 1.10.1
 GARTYPE = v2
 
 DESCRIPTION = Event notification library
@@ -10,38 +10,46 @@
   regular timeouts.
 endef
 
-MASTER_SITES = http://www.hdfgroup.org/ftp/HDF5/hdf5-$(VERSION)/src/
-DISTFILES += $(DISTNAME).tar.gz
+# Complicated, manually downloaded to /home/src
+#MASTER_SITES += http://www.hdfgroup.org/ftp/HDF5/hdf5-$(VERSION)/src/
+#MASTER_SITES += https://www.hdfgroup.org/package/bzip2/?wpdmdl=4300
+DISTFILES += $(DISTNAME).tar.bz2
 
-PACKAGES += CSWlibhdf5-7
-SPKG_DESC_CSWlibhdf5-7 = HDF5 (hierarchical data format 5) library, libhdf5.so.7
-PKGFILES_CSWlibhdf5-7 += $(call pkgfiles_lib,libhdf5.so.7)
-RUNTIME_DEP_PKGS_CSWlibhdf5-7 += CSWlibz1
+EXTRA_MODULATORS += API_VERSION
+MODULATIONS_API_VERSION = v16 v18 v110
 
-PACKAGES += CSWlibhdf5hl7
-SPKG_DESC_CSWlibhdf5hl7 = HDF5 (hierarchical data format 5) library, libhdf5_hl.so.7
-PKGFILES_CSWlibhdf5hl7 += $(call pkgfiles_lib,libhdf5_hl.so.7)
-RUNTIME_DEP_PKGS_CSWlibhdf5hl7 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibhdf5hl7 += CSWlibhdf5-7
+VENDOR_URL = http://www.hdfgroup.org/HDF5/
 
+PACKAGES += CSWlibhdf5-10
+SPKG_DESC_CSWlibhdf5-10 = HDF5 (hierarchical data format 5) library, libhdf5.so.10
+PKGFILES_CSWlibhdf5-10 += $(call pkgfiles_lib,libhdf5.so.10)
+RUNTIME_DEP_PKGS_CSWlibhdf5-10 += CSWlibz1
+
+PACKAGES += CSWlibhdf5hl10
+SPKG_DESC_CSWlibhdf5hl10 = HDF5 (hierarchical data format 5) library, libhdf5_hl.so.10
+PKGFILES_CSWlibhdf5hl10 += $(call pkgfiles_lib,libhdf5_hl.so.10)
+RUNTIME_DEP_PKGS_CSWlibhdf5hl10 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibhdf5hl10 += CSWlibhdf5-10
+
 PACKAGES += CSWlibhdf5-dev
-SPKG_DESC_CSWlibhdf5-dev = Development files for libhdf5.so.7 and libhdf5_hl.so.7
+SPKG_DESC_CSWlibhdf5-dev = Development files for libhdf5.so.10 and libhdf5_hl.so.10
 # PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWlibhdf5-dev += CSWlibhdf5-7
-RUNTIME_DEP_PKGS_CSWlibhdf5-dev += CSWlibhdf5hl7
+RUNTIME_DEP_PKGS_CSWlibhdf5-dev += CSWlibhdf5-10
+RUNTIME_DEP_PKGS_CSWlibhdf5-dev += CSWlibhdf5hl10
 
 PACKAGES += CSWhdf5
 SPKG_DESC_CSWhdf5 = HDF5 (hierarchical data format 5) software utilities
 PKGFILES_CSWhdf5 += $(bindir)/.*
-RUNTIME_DEP_PKGS_CSWhdf5 += CSWlibhdf5-7
-RUNTIME_DEP_PKGS_CSWhdf5 += CSWlibhdf5hl7
+RUNTIME_DEP_PKGS_CSWhdf5 += CSWlibhdf5-10
+RUNTIME_DEP_PKGS_CSWhdf5 += CSWlibhdf5hl10
 RUNTIME_DEP_PKGS_CSWhdf5 += CSWlibz1
 
-VENDOR_URL = http://www.hdfgroup.org/HDF5/
+# For nanosleep(3rt)
+EXTRA_LINKER_FLAGS += -lrt
 
 # By default -L/opt/csw/lib is used which makes the new libhdf5_hl.so link to
 # the existing /opt/csw/lib/libhdf5.so
-LINKER_FLAGS =
+LINKER_FLAGS = $(EXTRA_LINKER_FLAGS)
 
 BUILD64 = 1
 
@@ -48,8 +56,23 @@
 # Image files can be really big
 ISAEXEC = 1
 
+# We need 'whoami'
+CONFIGURE_ENV_PATH = /opt/csw/gnu:$(PATH)
+
 CONFIGURE_ARGS += $(DIRPATHS)
+
+# Default is /usr/local/hdf5/lib/plugin
+CONFIGURE_ARGS += --with-default-plugindir=$(libdir)/hdf5/plugin
+
+# We should build this as modulations
+CONFIGURE_ARGS += --with-default-api-version=$(API_VERSION)
+
 #CONFIGURE_ARGS += --enable-fortran
 #CONFIGURE_ARGS += --enable-cxx
 
+# These is one test failing:
+#   Testing  -- Selections (select) 
+#   *** UNEXPECTED RESULT from H5Sget_select_hyper_blocklist at line 13293 in tselect.c
+SKIPTEST ?= 1
+
 include gar/category.mk

Modified: csw/mgar/pkg/hdf5-10/trunk/checksums
===================================================================
--- csw/mgar/pkg/hdf5-7/trunk/checksums	2016-07-06 11:21:51 UTC (rev 25802)
+++ csw/mgar/pkg/hdf5-10/trunk/checksums	2017-07-28 13:08:54 UTC (rev 26252)
@@ -1 +1 @@
-37711d4bcb72997e93d495f97c76c33a  hdf5-1.8.7.tar.gz
+d89893c05ee7ea8611b51bb39450d64e  hdf5-1.10.1.tar.bz2

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list