[csw-devel] SF.net SVN: gar:[14600] csw/mgar/pkg/fftw/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed May 18 15:49:13 CEST 2011
Revision: 14600
http://gar.svn.sourceforge.net/gar/?rev=14600&view=rev
Author: dmichelsen
Date: 2011-05-18 13:49:13 +0000 (Wed, 18 May 2011)
Log Message:
-----------
fftw: Add longdouble modulation
Modified Paths:
--------------
csw/mgar/pkg/fftw/trunk/Makefile
Modified: csw/mgar/pkg/fftw/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fftw/trunk/Makefile 2011-05-18 11:21:50 UTC (rev 14599)
+++ csw/mgar/pkg/fftw/trunk/Makefile 2011-05-18 13:49:13 UTC (rev 14600)
@@ -16,6 +16,17 @@
VENDOR_URL = http://www.fftw.org/
+EXTRA_MODULATORS = LONGDOUBLE
+MODULATIONS_LONGDOUBLE = no yes
+
+# Solaris 9 package does not contain 64 bit on i386 as we have a separate Solaris 10 package
+SKIP_MODULATIONS-5.9 += isa-amd64-longdouble-no isa-amd64-longdouble-yes
+
+# Solaris 9 does not have long double support at all
+SKIP_MODULATIONS-5.9 += isa-sparcv8-longdouble-yes isa-sparcv9-longdouble-yes
+SKIP_MODULATIONS-5.9 += isa-i386-longdouble-yes isa-amd64-longdouble-no isa-amd64-longdouble-yes
+SKIP_MODULATIONS = $(SKIP_MODULATIONS-$(GAROSREL))
+
PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
@@ -23,22 +34,38 @@
SPKG_DESC_CSWlibfftw3-3 = Library for computing the discrete Fourier transform (DFT), libfftw3.so.3
PKGFILES_CSWlibfftw3-3 = $(call pkgfiles_lib,libfftw3.so.3)
+PACKAGES-5.10 += CSWlibfftw3l3
+SPKG_DESC_CSWlibfftw3l3 = Library for computing the discrete Fourier transform (DFT) in long double, libfftw3l.so.3
+PKGFILES_CSWlibfftw3l3 = $(call pkgfiles_lib,libfftw3l.so.3)
+
PACKAGES += CSWlibfftw3threads3
SPKG_DESC_CSWlibfftw3threads3 = Library for computing the discrete Fourier transform (DFT), libfftw3_threads.so.3
PKGFILES_CSWlibfftw3threads3 = $(call pkgfiles_lib,libfftw3_threads.so.3)
+PACKAGES-5.10 += CSWlibfftw3l-threads3
+SPKG_DESC_CSWlibfftw3l-threads3 = Library for computing the discrete Fourier transform (DFT) in long double, libfftw3_threads.so.3
+PKGFILES_CSWlibfftw3l-threads3 = $(call pkgfiles_lib,libfftw3l_threads.so.3)
+
PACKAGES += CSWlibfftw-dev
SPKG_DESC_CSWlibfftw-dev = Development files for libfftw3.so.3
PKGFILES_CSWlibfftw-dev = $(PKGFILES_DEVEL)
RUNTIME_DEP_PKGS_CSWlibfftw-dev += CSWlibfftw3-3
RUNTIME_DEP_PKGS_CSWlibfftw-dev += CSWlibfftw3threads3
+RUNTIME_DEP_PKGS_CSWlibfftw-dev-5.10 += CSWlibfftw3l3
+RUNTIME_DEP_PKGS_CSWlibfftw-dev-5.10 += CSWlibfftw3l-threads3
+RUNTIME_DEP_PKGS_CSWlibfftw-dev += $(RUNTIME_DEP_PKGS_CSWlibfftw-dev-$(GAROSREL))
PACKAGES += CSWfftw
SPKG_DESC_CSWfftw = Utilities for computing the discrete Fourier transform (DFT)
# PKGFILES is catchall
RUNTIME_DEP_PKGS_CSWfftw += CSWlibfftw3-3
RUNTIME_DEP_PKGS_CSWfftw += CSWlibfftw3threads3
+RUNTIME_DEP_PKGS_CSWfftw-5.10 += CSWlibfftw3l3
+RUNTIME_DEP_PKGS_CSWfftw-5.10 += CSWlibfftw3l-threads3
+RUNTIME_DEP_PKGS_CSWfftw += $(RUNTIME_DEP_PKGS_CSWfftw-$(GAROSREL))
+PACKAGES += $(PACKAGES-$(GAROSREL))
+
BUILD64 = 1
CONFIGURE_ARGS = $(DIRPATHS)
@@ -46,16 +73,20 @@
CONFIGURE_ARGS += --enable-shared=yes
CONFIGURE_ARGS += --enable-alloca
CONFIGURE_ARGS += --enable-portable-binary
-# CONFIGURE_ARGS += --disable-fortran
#CONFIGURE_ARGS += --enable-mpi
#CONFIGURE_ARGS += --enable-openmp
CONFIGURE_ARGS += --enable-threads
# This is only available for Solaris 10
-CONFIGURE_ARGS-5.10 += --enable-long-double
+CONFIGURE_ARGS-5.10-longdouble-yes += --enable-long-double
-CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(GAROSREL))
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(GAROSREL)-longdouble-$(LONGDOUBLE))
-MERGE_DIRS_isa-extra = $(bindir) $(libdir)
+MERGE_SCRIPTS_isa-default-longdouble-no = copy-all
+MERGE_SCRIPTS_isa-extra-longdouble-no = copy-relocate
+MERGE_DIRS_isa-extra-longdouble-no = $(bindir) $(libdir)
+MERGE_SCRIPTS_isa-default-longdouble-yes = copy-all
+MERGE_SCRIPTS_isa-extra-longdouble-yes = copy-relocate
+MERGE_DIRS_isa-extra-longdouble-yes = $(bindir) $(libdir)
include gar/category.mk
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