pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenBLAS: remove outdated OpenBLAS package, resolve case conflict



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Tue Apr 17 11:54:41 2018 +0200
Changeset:	72b5868ceb66b8fa94e5ee63d19b041ba8f1ea25

Removed Files:
	OpenBLAS/DESCR
	OpenBLAS/Makefile
	OpenBLAS/PLIST
	OpenBLAS/TODO
	OpenBLAS/buildlink3.mk
	OpenBLAS/distinfo
	OpenBLAS/options.mk
	OpenBLAS/patches/patch-fixedlibname

Log Message:
OpenBLAS: remove outdated OpenBLAS package, resolve case conflict

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=72b5868ceb66b8fa94e5ee63d19b041ba8f1ea25

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenBLAS/DESCR                      |   6 ---
 OpenBLAS/Makefile                   |  43 ---------------
 OpenBLAS/PLIST                      |  17 ------
 OpenBLAS/TODO                       | 101 ------------------------------------
 OpenBLAS/buildlink3.mk              |  12 -----
 OpenBLAS/distinfo                   |   8 ---
 OpenBLAS/options.mk                 |  24 ---------
 OpenBLAS/patches/patch-fixedlibname |  19 -------
 8 files changed, 230 deletions(-)

diffs:
diff --git a/OpenBLAS/DESCR b/OpenBLAS/DESCR
deleted file mode 100644
index bd2a936748..0000000000
--- a/OpenBLAS/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD. It is a
-prerequisite to get decent performance for anything based on BLAS (like octave
-or R) and contains a complete implementation of LAPACK and LAPACKE as well.
-
-The aim of this package is to build a blas library for pkgsrc with optimized
-kernels for all processors, dynamically chosen at runtime.
diff --git a/OpenBLAS/Makefile b/OpenBLAS/Makefile
deleted file mode 100644
index 39f391dfc7..0000000000
--- a/OpenBLAS/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	OpenBLAS-0.2.20
-CATEGORIES=	math
-MASTER_SITES=	${MASTER_SITE_GITHUB:=xianyi/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-MAINTAINER=	kuehro%posteo.de@localhost
-HOMEPAGE=	http://www.openblas.net/
-COMMENT=	OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD
-LICENSE=	modified-bsd
-
-EXTRACT_USING=	bsdtar
-
-ONLY_FOR_PLATFORM+=	*-*-i386 *-*-x86_64
-
-USE_TOOLS+=	gmake perl
-USE_LANGUAGES+=	c fortran
-GCC_REQD+=	6.2
-
-NO_CONFIGURE=	yes
-
-# You may override the autodetected thread count limit.
-# Default is detected from build host.
-BUILD_DEFS+=	OPENBLAS_THREAD_LIMIT
-
-MAKE_ENV=	PREFIX=${PREFIX}
-MAKE_ENV+=	CC=${CCPATH}
-MAKE_ENV+=	FC=${FCPATH}
-MAKE_ENV+=	NUM_THREADS=${OPENBLAS_THREAD_LIMIT:Q}
-
-# Those work further on MAKE_ENV.
-.include "options.mk"
-
-.if (${MACHINE_ARCH} == "i386")
-MAKE_ENV+=	BINARY=32
-.else
-MAKE_ENV+=	BINARY=64
-.endif
-
-INSTALL_MAKE_FLAGS+=	PREFIX=${PREFIX}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/OpenBLAS/PLIST b/OpenBLAS/PLIST
deleted file mode 100644
index edff0aa4b3..0000000000
--- a/OpenBLAS/PLIST
+++ /dev/null
@@ -1,17 +0,0 @@
-@comment $NetBSD$
-include/cblas.h
-include/f77blas.h
-include/lapacke.h
-include/lapacke_config.h
-include/lapacke_mangling.h
-include/lapacke_utils.h
-include/openblas_config.h
-lib/cmake/openblas/OpenBLASConfig.cmake
-lib/cmake/openblas/OpenBLASConfigVersion.cmake
-lib/libopenblas.a
-lib/libopenblas.so
-lib/libopenblas.so.0
-lib/libopenblas_pkg-r${PKGVERSION}.a
-lib/libopenblas_pkg-r${PKGVERSION}.so
-lib/pkgconfig/openblas.pc
-@pkgdir bin
diff --git a/OpenBLAS/TODO b/OpenBLAS/TODO
deleted file mode 100644
index 807d005e21..0000000000
--- a/OpenBLAS/TODO
+++ /dev/null
@@ -1,101 +0,0 @@
-The aim of this package is to build a blas library for pkgsrc with optimized
-kernels for all processors, dynamically chosen at runtime, to allow distribution
-as a binary package. This gets quite large (~ 100 MB) and pkgsrc has to deal with
-different types of processor architectures, operating systems and compilers. In my
-opinion the only way to deal with this is to build all of pkgsrc with the most recent
-GCC in lang/gcc.
-
-OpenBLAS has support for the processors listed in '* Supported List'
-at the end of this TODO. There should be an option to choose 64 or 32
-bit depending on build system. Right now only 64 bit kernels are built. 
-ONLY_FOR_PLATFORM should be adjusted for all possible platforms. 
-
-If you ask three people involved in Numerics, they want over a dozen ways to build
-OpenBLAS for the special purposes of different simulation codes. In fact I use
-four different ways at work, but this package should only have a small number of
-options to keep it managable. 
-
-If you want to use other C and Fortran compilers besides gcc 6.2, then change
-GCC_REQD or fiddle with PKGSRC variables. Good luck and may the force be with you.
-
-Kai-Uwe
-
-
-
-* Supported List:
-1.X86/X86_64
-a)Intel CPU:
-P2
-KATMAI
-COPPERMINE
-NORTHWOOD
-PRESCOTT
-BANIAS
-YONAH
-CORE2
-PENRYN
-DUNNINGTON
-NEHALEM
-SANDYBRIDGE
-HASWELL
-ATOM
-
-b)AMD CPU:
-ATHLON
-OPTERON
-OPTERON_SSE3
-BARCELONA
-SHANGHAI
-ISTANBUL
-BOBCAT
-BULLDOZER
-PILEDRIVER
-STEAMROLLER
-EXCAVATOR
-
-c)VIA CPU:
-SSE_GENERIC
-VIAC3
-NANO
-
-2.Power CPU:
-POWER4
-POWER5
-POWER6
-POWER7
-POWER8
-PPCG4
-PPC970
-PPC970MP
-PPC440
-PPC440FP2
-CELL
-
-3.MIPS CPU:
-P5600
-
-4.MIPS64 CPU:
-SICORTEX
-LOONGSON3A
-LOONGSON3B
-I6400
-P6600
-
-5.IA64 CPU:
-ITANIUM2
-
-6.SPARC CPU:
-SPARC
-SPARCV7
-
-7.ARM CPU:
-CORTEXA15
-CORTEXA9
-ARMV7
-ARMV6
-ARMV5
-
-8.ARM 64-bit CPU:
-ARMV8
-CORTEXA57
-
diff --git a/OpenBLAS/buildlink3.mk b/OpenBLAS/buildlink3.mk
deleted file mode 100644
index 9879212178..0000000000
--- a/OpenBLAS/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	OpenBLAS
-
-.if !defined(OPENBLAS_BUILDLINK3_MK)
-OPENBLAS_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.OpenBLAS+=	OpenBLAS>=0.2.19
-BUILDLINK_PKGSRCDIR.OpenBLAS?=		../../wip/OpenBLAS
-.endif	# OPENBLAS_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-OpenBLAS
diff --git a/OpenBLAS/distinfo b/OpenBLAS/distinfo
deleted file mode 100644
index f83349c74e..0000000000
--- a/OpenBLAS/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-SHA1 (OpenBLAS-0.2.20.tar.gz) = a186074145a24823e82c65672dad1cd1ca6fe89c
-RMD160 (OpenBLAS-0.2.20.tar.gz) = 2b9728cd227894d7378b0f3686b90d0e7e7975d9
-SHA512 (OpenBLAS-0.2.20.tar.gz) = 8dfc8e8c8d456b834d2e9544c8eadd9f4770e30db8b8dd76af601ec0735fd86c9cf63dd6a03ccd23fc02ec2e05069a09875b9073dfe29f99aadab3a958ae2634
-Size (OpenBLAS-0.2.20.tar.gz) = 11637301 bytes
-Size (patch-fixedlibname) = 662 bytes
-SHA1 (patch-fixedlibname) = 17d35f09aedcddfb8f20bb888fa134cdf0b3bd2b
diff --git a/OpenBLAS/options.mk b/OpenBLAS/options.mk
deleted file mode 100644
index 6214d2ea85..0000000000
--- a/OpenBLAS/options.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-PKG_OPTIONS_VAR=		PKG_OPTIONS.openblas
-# Choose dynamic target/processor choice at runtime or
-# fixed build with build host CPU.
-PKG_OPTIONS_GROUP.target=	dynamic fixed
-# Threading model. Pthread seems more robust e.g. with numpy usage.
-PKG_OPTIONS_GROUP.threading =	single pthread openmp
-PKG_OPTIONS_REQUIRED_GROUPS=	target threading
-PKG_SUGGESTED_OPTIONS=		dynamic pthread
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mdynamic)
-MAKE_ENV+=	DYNAMIC_ARCH=1
-.else
-MAKE_ENV+=	DYNAMIC_ARCH=0
-.endif
-
-.if   !empty(PKG_OPTIONS:Mopenmp)
-MAKE_ENV+=	USE_OPENMP=1 NO_AFFINITY=1
-.elif !empty(PKG_OPTIONS:Mpthread)
-MAKE_ENV+=	USE_OPENMP=0 USE_THREAD=1
-.else
-MAKE_ENV+=	USE_OPENMP=0 USE_THREAD=0
-.endif
diff --git a/OpenBLAS/patches/patch-fixedlibname b/OpenBLAS/patches/patch-fixedlibname
deleted file mode 100644
index ac0cc60565..0000000000
--- a/OpenBLAS/patches/patch-fixedlibname
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-Patch to have one predictable library name, not depending on build configuration.
-There is only one install of OpenBLAS in pkgsrc at a given time. Funny how
-the LIBDLLNAME was not differing ...
-
---- Makefile.system.orig	2017-02-09 21:15:17.079845857 +0100
-+++ Makefile.system	2017-02-09 21:16:54.915105356 +0100
-@@ -1061,6 +1061,10 @@
- endif
- endif
- 
-+# Override the library name madness to have one predictable
-+# name to put into PLIST for pkgsrc.
-+LIBNAME         = $(LIBPREFIX)_pkg$(REVISION).$(LIBSUFFIX)
-+LIBNAME_P       = $(LIBPREFIX)_pkg$(REVISION)_p.$(LIBSUFFIX)
- 
- LIBDLLNAME   = $(LIBPREFIX).dll
- LIBSONAME    = $(LIBNAME:.$(LIBSUFFIX)=.so)


Home | Main Index | Thread Index | Old Index