diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2017-01-03 10:16:00 +0100 |
---|---|---|
committer | Marius Brehler <marbre@linux.sungazer.de> | 2017-01-03 10:16:00 +0100 |
commit | 9d509c29ddb271b3fc29ab7a798d5077d060bd93 (patch) | |
tree | 5e8fccfd9d92acd8f32dc38767ee2fd1d88fecc0 | |
parent | dev-python/matplotlib2tikz: Drop python3_3 (diff) | |
parent | removed packages in main tree (diff) | |
download | sci-9d509c29.tar.gz sci-9d509c29.tar.bz2 sci-9d509c29.zip |
Merge remote-tracking branch 'github/master'
33 files changed, 0 insertions, 2011 deletions
diff --git a/dev-libs/beignet/Manifest b/dev-libs/beignet/Manifest deleted file mode 100644 index 4c89702ac..000000000 --- a/dev-libs/beignet/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST beignet-1.2.0-source.tar.gz 1076674 SHA256 fc7af19efb7596b04510d26c558a576eba3e95e1ef86fd6951213c6a4bf58bff SHA512 f6c0de7d6a301352125d53c843d8c4a9728526b06b215093424720e7c17eb99f8cfc4b70c61e035d5cb36ca7666c6e772fe0d7818d91421104fa1ed350d637f1 WHIRLPOOL 9ac0195b16ff0ed186dbc5e0bfb6ee3027d0426d7e2401238b69b934a010d365eb6941cd80e3650e600cbcac8d31f819e2adb67452394b07a903aad72c1e11d7 diff --git a/dev-libs/beignet/beignet-1.2.0.ebuild b/dev-libs/beignet/beignet-1.2.0.ebuild deleted file mode 100644 index 8d42db823..000000000 --- a/dev-libs/beignet/beignet-1.2.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -CMAKE_BUILD_TYPE="Release" - -inherit python-any-r1 cmake-multilib toolchain-funcs - -DESCRIPTION="OpenCL implementation for Intel GPUs" -HOMEPAGE="https://01.org/beignet" - -LICENSE="LGPL-2.1+" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="git://anongit.freedesktop.org/beignet" - KEYWORDS="" -else - KEYWORDS="~amd64" - SRC_URI="https://01.org/sites/default/files/${P}-source.tar.gz" - S=${WORKDIR}/Beignet-${PV}-Source -fi - -COMMON="${PYTHON_DEPS} - media-libs/mesa - sys-devel/clang - >=sys-devel/llvm-3.5 - x11-libs/libdrm[video_cards_intel] - x11-libs/libXext - x11-libs/libXfixes" -RDEPEND="${COMMON} - app-eselect/eselect-opencl" -DEPEND="${COMMON} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/no-debian-multiarch.patch - "${FILESDIR}"/no-hardcoded-cflags.patch - "${FILESDIR}"/llvm-terminfo.patch - "${FILESDIR}"/llvm-empty-system-libs.patch -) - -DOCS=( - docs/. -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]]; then - if tc-is-gcc; then - if [[ $(gcc-major-version) -eq 4 ]] && [[ $(gcc-minor-version) -lt 6 ]]; then - eerror "Compilation with gcc older than 4.6 is not supported" - die "Too old gcc found." - fi - fi - fi -} - -pkg_setup() { - python_setup -} - -src_prepare() { - cmake-utils_src_prepare - # We cannot run tests because they require permissions to access - # the hardware, and building them is very time-consuming. - cmake_comment_add_subdirectory utests -} - -multilib_src_configure() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${VENDOR_DIR}" - ) - - cmake-utils_src_configure -} - -multilib_src_install() { - VENDOR_DIR="/usr/$(get_libdir)/OpenCL/vendors/${PN}" - - cmake-utils_src_install - - insinto /etc/OpenCL/vendors/ - echo "${VENDOR_DIR}/lib/${PN}/libcl.so" > "${PN}-${ABI}.icd" || die "Failed to generate ICD file" - doins "${PN}-${ABI}.icd" - - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libOpenCL.so - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so.1 - dosym "lib/${PN}/libcl.so" "${VENDOR_DIR}"/libcl.so -} diff --git a/dev-libs/beignet/files/llvm-empty-system-libs.patch b/dev-libs/beignet/files/llvm-empty-system-libs.patch deleted file mode 100644 index d5e0cd704..000000000 --- a/dev-libs/beignet/files/llvm-empty-system-libs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMake/FindLLVM.cmake 2015-12-18 06:39:59.000000000 +0000 -+++ b/CMake/FindLLVM.cmake 2016-08-31 15:05:11.210679204 +0000 -@@ -99,7 +99,7 @@ - OUTPUT_VARIABLE LLVM_SYSTEM_LIBS_ORIG - OUTPUT_STRIP_TRAILING_WHITESPACE - ) --string(REGEX REPLACE " *\n" "" LLVM_SYSTEM_LIBS ${LLVM_SYSTEM_LIBS_ORIG}) -+string(REGEX REPLACE " *\n" "" LLVM_SYSTEM_LIBS "${LLVM_SYSTEM_LIBS_ORIG}") - endif (LLVM_VERSION_NODOT VERSION_GREATER 34) - - macro(add_one_lib name) diff --git a/dev-libs/beignet/files/llvm-terminfo.patch b/dev-libs/beignet/files/llvm-terminfo.patch deleted file mode 100644 index afbbc26a3..000000000 --- a/dev-libs/beignet/files/llvm-terminfo.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/backend/src/CMakeLists.txt 2015-12-18 07:40:03.000000000 +0100 -+++ b/backend/src/CMakeLists.txt 2016-08-01 13:44:31.475875150 +0200 -@@ -153,7 +153,7 @@ - - add_library(gbeinterp SHARED gbe_bin_interpreter.cpp) - --if (LLVM_VERSION_NODOT VERSION_EQUAL 34) -+if (NOT (LLVM_VERSION_NODOT LESS 34)) - find_library(TERMINFO NAMES tinfo ncurses) - if (${TERMINFO} STREQUAL TERMINFO-NOTFOUND) - message(FATAL_ERROR "no libtinfo or libncurses is found in system") -@@ -161,7 +161,7 @@ - target_link_libraries(gbe ${TERMINFO}) - message(STATUS "use ${TERMINFO} as terminal control library") - endif (${TERMINFO} STREQUAL TERMINFO-NOTFOUND) --endif(LLVM_VERSION_NODOT VERSION_EQUAL 34) -+endif(NOT (LLVM_VERSION_NODOT LESS 34)) - - link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR}) - diff --git a/dev-libs/beignet/files/no-debian-multiarch.patch b/dev-libs/beignet/files/no-debian-multiarch.patch deleted file mode 100644 index c9aef4d9d..000000000 --- a/dev-libs/beignet/files/no-debian-multiarch.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/CMakeLists.txt 2015-04-17 04:27:51.000000000 +0200 -+++ b/CMakeLists.txt 2015-05-20 20:59:17.895041760 +0200 -@@ -39,14 +39,9 @@ - - SET(CMAKE_VERBOSE_MAKEFILE "false") - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/") --INCLUDE (GNUInstallDirs OPTIONAL) --# support old CMake without GNUInstallDirs --if (NOT CMAKE_INSTALL_FULL_LIBDIR) -- set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") -- set (BEIGNET_LIBRARY_ARCHITECTURE "") --else (NOT CMAKE_INSTALL_FULL_LIBDIR) -- set (BEIGNET_LIBRARY_ARCHITECTURE "${CMAKE_LIBRARY_ARCHITECTURE}") --endif (NOT CMAKE_INSTALL_FULL_LIBDIR) -+ -+set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") -+set (BEIGNET_LIBRARY_ARCHITECTURE "") - - if (NOT LIB_INSTALL_DIR) - set (LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}") -@@ -55,17 +50,7 @@ - set (BEIGNET_INSTALL_DIR "${LIB_INSTALL_DIR}/beignet/") - endif (NOT BEIGNET_INSTALL_DIR) - --# allow co-installation of 32- and 64-bit versions: --# https://wiki.debian.org/Multiarch --if (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") -- set (ICD_FILE_NAME "intel-beignet.icd") --else (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") -- if (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") -- set (ICD_FILE_NAME "intel-beignet.icd") -- else (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") -- set (ICD_FILE_NAME "intel-beignet-${BEIGNET_LIBRARY_ARCHITECTURE}.icd") -- endif (BEIGNET_LIBRARY_ARCHITECTURE STREQUAL "") --endif (BEIGNET_INSTALL_DIR STREQUAL "${CMAKE_INSTALL_PREFIX}/lib/beignet/") -+set (ICD_FILE_NAME "intel-beignet.icd") - - # Force Release with debug info - if (NOT CMAKE_BUILD_TYPE) diff --git a/dev-libs/beignet/files/no-hardcoded-cflags.patch b/dev-libs/beignet/files/no-hardcoded-cflags.patch deleted file mode 100644 index 3dd67b741..000000000 --- a/dev-libs/beignet/files/no-hardcoded-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/CMakeLists.txt 2016-08-31 17:13:26.000000000 +0000 -+++ b/CMakeLists.txt 2016-08-31 17:00:40.000000000 +0000 -@@ -70,8 +70,8 @@ - elseif (COMPILER STREQUAL "ICC") - set (CMAKE_C_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} -wd2928 -Wall -fPIC -fstrict-aliasing -fp-model fast -msse4.1 -Wl,-E") - endif () --set (CMAKE_CXX_FLAGS "${CMAKE_C_CXX_FLAGS} -std=c++0x -Wno-invalid-offsetof") --set (CMAKE_C_FLAGS "${CMAKE_C_CXX_FLAGS}") -+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wno-invalid-offsetof") -+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - set (CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DGBE_DEBUG=1") - set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DGBE_DEBUG=1") - set (CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG -DGBE_DEBUG=0") diff --git a/dev-libs/beignet/metadata.xml b/dev-libs/beignet/metadata.xml deleted file mode 100644 index 3e5026ee3..000000000 --- a/dev-libs/beignet/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/superlu_mt/Manifest b/sci-libs/superlu_mt/Manifest deleted file mode 100644 index 929cbbd3a..000000000 --- a/sci-libs/superlu_mt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST superlu_mt_2.1.tar.gz 2718660 SHA256 77fd2a67a789704b566681dc614fa8f759b2925d3ff49cda9e11376b6dc38ed9 SHA512 1abd94c086404a12b82dcf39238a2aef584ba9d11ca24942faad1dbd8a283f257acbc594325ba3a64ec7323b2d738b2dcb8e2551953d01d017ca91f3a2d05890 WHIRLPOOL e7482c9c29e50af0a23bd943a9b80f2cb8bdcb7169f435994e7680b28e9fd9ec0876713ff1ac5b58a325cd000f7ca63fc1caad4eb52599e63922288dcf9e5505 diff --git a/sci-libs/superlu_mt/files/superlu_mt-2.1-duplicate-symbols.patch b/sci-libs/superlu_mt/files/superlu_mt-2.1-duplicate-symbols.patch deleted file mode 100644 index 6b2c5d57b..000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-2.1-duplicate-symbols.patch +++ /dev/null @@ -1,900 +0,0 @@ -diff -Nur SRC.orig/cmatgen.c SRC/cmatgen.c ---- SRC.orig/cmatgen.c 2013-07-15 11:47:52.512735420 -0700 -+++ SRC/cmatgen.c 2013-07-15 11:49:05.149137948 -0700 -@@ -93,76 +93,4 @@ - xa[n] = lasta; - } - --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ - -diff -Nur SRC.orig/cmyblas2.c SRC/cmyblas2.c ---- SRC.orig/cmyblas2.c 2013-07-15 11:47:52.509735400 -0700 -+++ SRC/cmyblas2.c 2013-07-15 11:49:05.149137948 -0700 -@@ -183,3 +183,127 @@ - - } - -+/* -+ * Performs dense matrix-vector multiply with 2 vectors: -+ * y0 = y0 + A * x0 -+ * y1 = y1 + A * x1 -+ */ -+void cmatvec2 ( -+ int lda, /* leading dimension of A */ -+ int m, -+ int n, -+ complex *A, /* in - size m-by-n */ -+ complex *x0, /* in - size n-by-1 */ -+ complex *x1, /* in - size n-by-1 */ -+ complex *y0, /* out - size n-by-1 */ -+ complex *y1 /* out - size n-by-1 */ -+ ) -+ -+{ -+ complex v00, v10, v20, v30, v40, v50, v60, v70, -+ v01, v11, v21, v31, v41, v51, v61, v71; -+ complex t0, t1, t2, t3, t4, t5, t6, t7; -+ complex f0, f1; -+ complex *Mki0, *Mki1, *Mki2, *Mki3, *Mki4, *Mki5, *Mki6, *Mki7; -+ register int firstcol = 0; -+ complex *M0, temp; -+ int k; -+ -+ M0 = &A[0]; -+ -+ while ( firstcol < n - 7 ) { /* Do 8 columns */ -+ -+ Mki0 = M0; -+ Mki1 = Mki0 + lda; -+ Mki2 = Mki1 + lda; -+ Mki3 = Mki2 + lda; -+ Mki4 = Mki3 + lda; -+ Mki5 = Mki4 + lda; -+ Mki6 = Mki5 + lda; -+ Mki7 = Mki6 + lda; -+ -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ v10 = x0[firstcol]; v11 = x1[firstcol++]; -+ v20 = x0[firstcol]; v21 = x1[firstcol++]; -+ v30 = x0[firstcol]; v31 = x1[firstcol++]; -+ v40 = x0[firstcol]; v41 = x1[firstcol++]; -+ v50 = x0[firstcol]; v51 = x1[firstcol++]; -+ v60 = x0[firstcol]; v61 = x1[firstcol++]; -+ v70 = x0[firstcol]; v71 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; cc_mult(&temp, &v00, &t0);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v01,&t0);c_add(&f1,&f1,&temp); -+ t1 = Mki1[k]; cc_mult(&temp,&v10,&t1);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v11,&t1);c_add(&f1,&f1,&temp); -+ t2 = Mki2[k]; cc_mult(&temp,&v20,&t2);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v21,&t2);c_add(&f1,&f1,&temp); -+ t3 = Mki3[k]; cc_mult(&temp,&v30,&t3);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v31,&t3);c_add(&f1,&f1,&temp); -+ t4 = Mki4[k]; cc_mult(&temp,&v40,&t4);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v41,&t4);c_add(&f1,&f1,&temp); -+ t5 = Mki5[k]; cc_mult(&temp,&v50,&t5);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v51,&t5);c_add(&f1,&f1,&temp); -+ t6 = Mki6[k]; cc_mult(&temp,&v60,&t6);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v61,&t6);c_add(&f1,&f1,&temp); -+ t7 = Mki7[k]; cc_mult(&temp,&v70,&t7);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v71,&t7);c_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += 8 * lda; -+ } -+ -+ while ( firstcol < n - 3 ) { /* Do 4 columns */ -+ Mki0 = M0; -+ Mki1 = Mki0 + lda; -+ Mki2 = Mki1 + lda; -+ Mki3 = Mki2 + lda; -+ -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ v10 = x0[firstcol]; v11 = x1[firstcol++]; -+ v20 = x0[firstcol]; v21 = x1[firstcol++]; -+ v30 = x0[firstcol]; v31 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; cc_mult(&temp,&v00,&t0);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v01,&t0);c_add(&f1,&f1,&temp); -+ t1 = Mki1[k]; cc_mult(&temp,&v10,&t1);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v11,&t1);c_add(&f1,&f1,&temp); -+ t2 = Mki2[k]; cc_mult(&temp,&v20,&t2);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v21,&t2);c_add(&f1,&f1,&temp); -+ t3 = Mki3[k]; cc_mult(&temp,&v30,&t3);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v31,&t3);c_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += 4 * lda; -+ -+ } -+ -+ while ( firstcol < n ) { /* Do 1 column */ -+ Mki0 = M0; -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; -+ cc_mult(&temp,&v00,&t0);c_add(&f0,&f0,&temp); -+ cc_mult(&temp,&v01,&t0);c_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += lda; -+ } -+ -+} -+ -+ -diff -Nur SRC.orig/cmyblas2.c.orig SRC/cmyblas2.c.orig ---- SRC.orig/cmyblas2.c.orig 1969-12-31 16:00:00.000000000 -0800 -+++ SRC/cmyblas2.c.orig 2013-07-15 11:49:05.149137948 -0700 -@@ -0,0 +1,185 @@ -+ -+/* -+ * -- SuperLU routine (version 2.0) -- -+ * Lawrence Berkeley National Lab, Univ. of California Berkeley, -+ * and Xerox Palo Alto Research Center. -+ * September 10, 2007 -+ * -+ */ -+/* -+ * File name: cmyblas2.c -+ * Purpose: -+ * Level 2 BLAS operations: solves and matvec, written in C. -+ * Note: -+ * This is only used when the system lacks an efficient BLAS library. -+ */ -+#include "slu_scomplex.h" -+ -+ -+/* -+ * Solves a dense UNIT lower triangular system. The unit lower -+ * triangular matrix is stored in a 2D array M(1:nrow,1:ncol). -+ * The solution will be returned in the rhs vector. -+ */ -+void clsolve ( int ldm, int ncol, complex *M, complex *rhs ) -+{ -+ int k; -+ complex x0, x1, x2, x3, temp; -+ complex *M0; -+ complex *Mki0, *Mki1, *Mki2, *Mki3; -+ register int firstcol = 0; -+ -+ M0 = &M[0]; -+ -+ -+ while ( firstcol < ncol - 3 ) { /* Do 4 columns */ -+ Mki0 = M0 + 1; -+ Mki1 = Mki0 + ldm + 1; -+ Mki2 = Mki1 + ldm + 1; -+ Mki3 = Mki2 + ldm + 1; -+ -+ x0 = rhs[firstcol]; -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&x1, &rhs[firstcol+1], &temp); -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&x2, &rhs[firstcol+2], &temp); -+ cc_mult(&temp, &x1, Mki1); Mki1++; -+ c_sub(&x2, &x2, &temp); -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&x3, &rhs[firstcol+3], &temp); -+ cc_mult(&temp, &x1, Mki1); Mki1++; -+ c_sub(&x3, &x3, &temp); -+ cc_mult(&temp, &x2, Mki2); Mki2++; -+ c_sub(&x3, &x3, &temp); -+ -+ rhs[++firstcol] = x1; -+ rhs[++firstcol] = x2; -+ rhs[++firstcol] = x3; -+ ++firstcol; -+ -+ for (k = firstcol; k < ncol; k++) { -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ cc_mult(&temp, &x1, Mki1); Mki1++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ cc_mult(&temp, &x2, Mki2); Mki2++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ cc_mult(&temp, &x3, Mki3); Mki3++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ } -+ -+ M0 += 4 * ldm + 4; -+ } -+ -+ if ( firstcol < ncol - 1 ) { /* Do 2 columns */ -+ Mki0 = M0 + 1; -+ Mki1 = Mki0 + ldm + 1; -+ -+ x0 = rhs[firstcol]; -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&x1, &rhs[firstcol+1], &temp); -+ -+ rhs[++firstcol] = x1; -+ ++firstcol; -+ -+ for (k = firstcol; k < ncol; k++) { -+ cc_mult(&temp, &x0, Mki0); Mki0++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ cc_mult(&temp, &x1, Mki1); Mki1++; -+ c_sub(&rhs[k], &rhs[k], &temp); -+ } -+ } -+ -+} -+ -+/* -+ * Solves a dense upper triangular system. The upper triangular matrix is -+ * stored in a 2-dim array M(1:ldm,1:ncol). The solution will be returned -+ * in the rhs vector. -+ */ -+void -+cusolve ( -+int ldm, /* in */ -+int ncol, /* in */ -+complex *M, /* in */ -+complex *rhs /* modified */ -+) -+{ -+ complex xj, temp; -+ int jcol, j, irow; -+ -+ jcol = ncol - 1; -+ -+ for (j = 0; j < ncol; j++) { -+ -+ c_div(&xj, &rhs[jcol], &M[jcol + jcol*ldm]); /* M(jcol, jcol) */ -+ rhs[jcol] = xj; -+ -+ for (irow = 0; irow < jcol; irow++) { -+ cc_mult(&temp, &xj, &M[irow+jcol*ldm]); /* M(irow, jcol) */ -+ c_sub(&rhs[irow], &rhs[irow], &temp); -+ } -+ -+ jcol--; -+ -+ } -+} -+ -+ -+/* -+ * Performs a dense matrix-vector multiply: Mxvec = Mxvec + M * vec. -+ * The input matrix is M(1:nrow,1:ncol); The product is returned in Mxvec[]. -+ */ -+void cmatvec ( -+int ldm, /* in -- leading dimension of M */ -+int nrow, /* in */ -+int ncol, /* in */ -+complex *M, /* in */ -+complex *vec, /* in */ -+complex *Mxvec /* in/out */ -+) -+{ -+ complex vi0, vi1, vi2, vi3; -+ complex *M0, temp; -+ complex *Mki0, *Mki1, *Mki2, *Mki3; -+ register int firstcol = 0; -+ int k; -+ -+ M0 = &M[0]; -+ -+ while ( firstcol < ncol - 3 ) { /* Do 4 columns */ -+ Mki0 = M0; -+ Mki1 = Mki0 + ldm; -+ Mki2 = Mki1 + ldm; -+ Mki3 = Mki2 + ldm; -+ -+ vi0 = vec[firstcol++]; -+ vi1 = vec[firstcol++]; -+ vi2 = vec[firstcol++]; -+ vi3 = vec[firstcol++]; -+ for (k = 0; k < nrow; k++) { -+ cc_mult(&temp, &vi0, Mki0); Mki0++; -+ c_add(&Mxvec[k], &Mxvec[k], &temp); -+ cc_mult(&temp, &vi1, Mki1); Mki1++; -+ c_add(&Mxvec[k], &Mxvec[k], &temp); -+ cc_mult(&temp, &vi2, Mki2); Mki2++; -+ c_add(&Mxvec[k], &Mxvec[k], &temp); -+ cc_mult(&temp, &vi3, Mki3); Mki3++; -+ c_add(&Mxvec[k], &Mxvec[k], &temp); -+ } -+ -+ M0 += 4 * ldm; -+ } -+ -+ while ( firstcol < ncol ) { /* Do 1 column */ -+ Mki0 = M0; -+ vi0 = vec[firstcol++]; -+ for (k = 0; k < nrow; k++) { -+ cc_mult(&temp, &vi0, Mki0); Mki0++; -+ c_add(&Mxvec[k], &Mxvec[k], &temp); -+ } -+ M0 += ldm; -+ } -+ -+} -+ -diff -Nur SRC.orig/Makefile SRC/Makefile ---- SRC.orig/Makefile 2013-07-15 11:47:52.511735412 -0700 -+++ SRC/Makefile 2013-07-15 11:53:15.393528085 -0700 -@@ -31,7 +31,7 @@ - # - ####################################################################### - --ALLAUX = superlu_timer.o dclock.o sp_ienv.o lsame.o xerbla.o \ -+ALLAUX = superlu_timer.o sp_ienv.o lsame.o xerbla.o \ - util.o pmemory.o qrnzcnt.o await.o \ - get_perm_c.o mmd.o colamd.o sp_coletree.o \ - pxgstrf_scheduler.o sp_colorder.o \ -diff -Nur SRC.orig/smatgen.c SRC/smatgen.c ---- SRC.orig/smatgen.c 2013-07-15 11:47:52.512735420 -0700 -+++ SRC/smatgen.c 2013-07-15 11:49:05.149137948 -0700 -@@ -93,76 +93,3 @@ - xa[n] = lasta; - } - --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ -- -diff -Nur SRC.orig/xerbla.c SRC/xerbla.c ---- SRC.orig/xerbla.c 2013-07-15 11:47:52.513735427 -0700 -+++ SRC/xerbla.c 2013-07-15 11:49:05.150137959 -0700 -@@ -1,3 +1,4 @@ -+#include <stdio.h> - /* Subroutine */ int xerbla_(char *srname, int *info) - { - /* -- LAPACK auxiliary routine (version 2.0) -- -diff -Nur SRC.orig/zmatgen.c SRC/zmatgen.c ---- SRC.orig/zmatgen.c 2013-07-15 11:47:52.513735427 -0700 -+++ SRC/zmatgen.c 2013-07-15 11:49:05.150137959 -0700 -@@ -93,76 +93,3 @@ - xa[n] = lasta; - } - --double dlaran_(int *iseed) --{ --/* -- LAPACK auxiliary routine (version 2.0) -- -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., -- Courant Institute, Argonne National Lab, and Rice University -- February 29, 1992 -- -- Purpose -- ======= -- -- DLARAN returns a random real number from a uniform (0,1) -- distribution. -- -- Arguments -- ========= -- -- ISEED (input/output) INT array, dimension (4) -- On entry, the seed of the random number generator; the array -- -- elements must be between 0 and 4095, and ISEED(4) must be -- odd. -- On exit, the seed is updated. -- -- Further Details -- =============== -- -- This routine uses a multiplicative congruential method with modulus -- 2**48 and multiplier 33952834046453 (see G.S.Fishman, -- 'Multiplicative congruential random number generators with modulus -- 2**b: an exhaustive analysis for b = 32 and a partial analysis for -- b = 48', Math. Comp. 189, pp 331-344, 1990). -- -- 48-bit integers are stored in 4 integer array elements with 12 bits -- per element. Hence the routine is portable across machines with -- integers of 32 bits or more. -- -- ===================================================================== --*/ -- -- /* Local variables */ -- int it1, it2, it3, it4; -- -- --iseed; -- -- /* multiply the seed by the multiplier modulo 2**48 */ -- it4 = iseed[4] * 2549; -- it3 = it4 / 4096; -- it4 -= it3 << 12; -- it3 = it3 + iseed[3] * 2549 + iseed[4] * 2508; -- it2 = it3 / 4096; -- it3 -= it2 << 12; -- it2 = it2 + iseed[2] * 2549 + iseed[3] * 2508 + iseed[4] * 322; -- it1 = it2 / 4096; -- it2 -= it1 << 12; -- it1 = it1 + iseed[1] * 2549 + iseed[2] * 2508 + iseed[3] * 322 + iseed[4] -- * 494; -- it1 %= 4096; -- -- /* return updated seed */ -- -- iseed[1] = it1; -- iseed[2] = it2; -- iseed[3] = it3; -- iseed[4] = it4; -- -- /* convert 48-bit integer to a real number in the interval (0,1) */ -- -- return ((double) it1 + -- ((double) it2 + ((double) it3 + (double) it4 * 2.44140625e-4) * -- 2.44140625e-4) * 2.44140625e-4) * 2.44140625e-4; -- --} /* dlaran_ */ -- -diff -Nur SRC.orig/zmyblas2.c SRC/zmyblas2.c ---- SRC.orig/zmyblas2.c 2013-07-15 11:47:52.511735412 -0700 -+++ SRC/zmyblas2.c 2013-07-15 11:49:05.150137959 -0700 -@@ -183,3 +183,127 @@ - - } - -+/* -+ * Performs dense matrix-vector multiply with 2 vectors: -+ * y0 = y0 + A * x0 -+ * y1 = y1 + A * x1 -+ */ -+void zmatvec2 ( -+ int lda, /* leading dimension of A */ -+ int m, -+ int n, -+ doublecomplex *A, /* in - size m-by-n */ -+ doublecomplex *x0, /* in - size n-by-1 */ -+ doublecomplex *x1, /* in - size n-by-1 */ -+ doublecomplex *y0, /* out - size n-by-1 */ -+ doublecomplex *y1 /* out - size n-by-1 */ -+ ) -+ -+{ -+ doublecomplex v00, v10, v20, v30, v40, v50, v60, v70, -+ v01, v11, v21, v31, v41, v51, v61, v71; -+ doublecomplex t0, t1, t2, t3, t4, t5, t6, t7; -+ doublecomplex f0, f1; -+ doublecomplex *Mki0, *Mki1, *Mki2, *Mki3, *Mki4, *Mki5, *Mki6, *Mki7; -+ register int firstcol = 0; -+ doublecomplex *M0, temp; -+ int k; -+ -+ M0 = &A[0]; -+ -+ while ( firstcol < n - 7 ) { /* Do 8 columns */ -+ -+ Mki0 = M0; -+ Mki1 = Mki0 + lda; -+ Mki2 = Mki1 + lda; -+ Mki3 = Mki2 + lda; -+ Mki4 = Mki3 + lda; -+ Mki5 = Mki4 + lda; -+ Mki6 = Mki5 + lda; -+ Mki7 = Mki6 + lda; -+ -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ v10 = x0[firstcol]; v11 = x1[firstcol++]; -+ v20 = x0[firstcol]; v21 = x1[firstcol++]; -+ v30 = x0[firstcol]; v31 = x1[firstcol++]; -+ v40 = x0[firstcol]; v41 = x1[firstcol++]; -+ v50 = x0[firstcol]; v51 = x1[firstcol++]; -+ v60 = x0[firstcol]; v61 = x1[firstcol++]; -+ v70 = x0[firstcol]; v71 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; zz_mult(&temp,&v00,&t0);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v01,&t0);z_add(&f1,&f1,&temp); -+ t1 = Mki1[k]; zz_mult(&temp,&v10,&t1);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v11,&t1);z_add(&f1,&f1,&temp); -+ t2 = Mki2[k]; zz_mult(&temp,&v20,&t2);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v21,&t2);z_add(&f1,&f1,&temp); -+ t3 = Mki3[k]; zz_mult(&temp,&v30,&t3);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v31,&t3);z_add(&f1,&f1,&temp); -+ t4 = Mki4[k]; zz_mult(&temp,&v40,&t4);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v41,&t4);z_add(&f1,&f1,&temp); -+ t5 = Mki5[k]; zz_mult(&temp,&v50,&t5);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v51,&t5);z_add(&f1,&f1,&temp); -+ t6 = Mki6[k]; zz_mult(&temp,&v60,&t6);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v61,&t6);z_add(&f1,&f1,&temp); -+ t7 = Mki7[k]; zz_mult(&temp,&v70,&t7);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v71,&t7);z_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += 8 * lda; -+ } -+ -+ while ( firstcol < n - 3 ) { /* Do 4 columns */ -+ Mki0 = M0; -+ Mki1 = Mki0 + lda; -+ Mki2 = Mki1 + lda; -+ Mki3 = Mki2 + lda; -+ -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ v10 = x0[firstcol]; v11 = x1[firstcol++]; -+ v20 = x0[firstcol]; v21 = x1[firstcol++]; -+ v30 = x0[firstcol]; v31 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; zz_mult(&temp,&v00,&t0);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v01,&t0);z_add(&f1,&f1,&temp); -+ t1 = Mki1[k]; zz_mult(&temp,&v10,&t1);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v11,&t1);z_add(&f1,&f1,&temp); -+ t2 = Mki2[k]; zz_mult(&temp,&v20,&t2);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v21,&t2);z_add(&f1,&f1,&temp); -+ t3 = Mki3[k]; zz_mult(&temp,&v30,&t3);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v31,&t3);z_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += 4 * lda; -+ -+ } -+ -+ while ( firstcol < n ) { /* Do 1 column */ -+ Mki0 = M0; -+ v00 = x0[firstcol]; v01 = x1[firstcol++]; -+ -+ for (k = 0; k < m; k++) { -+ f0 = y0[k]; -+ f1 = y1[k]; -+ t0 = Mki0[k]; -+ zz_mult(&temp,&v00,&t0);z_add(&f0,&f0,&temp); -+ zz_mult(&temp,&v01,&t0);z_add(&f1,&f1,&temp); -+ y0[k] = f0; -+ y1[k] = f1; -+ } -+ -+ M0 += lda; -+ } -+ -+} -+ -+ -diff -Nur SRC.orig/zmyblas2.c.orig SRC/zmyblas2.c.orig ---- SRC.orig/zmyblas2.c.orig 1969-12-31 16:00:00.000000000 -0800 -+++ SRC/zmyblas2.c.orig 2013-07-15 11:49:05.150137959 -0700 -@@ -0,0 +1,185 @@ -+ -+/* -+ * -- SuperLU routine (version 2.0) -- -+ * Lawrence Berkeley National Lab, Univ. of California Berkeley, -+ * and Xerox Palo Alto Research Center. -+ * September 10, 2007 -+ * -+ */ -+/* -+ * File name: zmyblas2.c -+ * Purpose: -+ * Level 2 BLAS operations: solves and matvec, written in C. -+ * Note: -+ * This is only used when the system lacks an efficient BLAS library. -+ */ -+#include "slu_dcomplex.h" -+ -+ -+/* -+ * Solves a dense UNIT lower triangular system. The unit lower -+ * triangular matrix is stored in a 2D array M(1:nrow,1:ncol). -+ * The solution will be returned in the rhs vector. -+ */ -+void zlsolve ( int ldm, int ncol, doublecomplex *M, doublecomplex *rhs ) -+{ -+ int k; -+ doublecomplex x0, x1, x2, x3, temp; -+ doublecomplex *M0; -+ doublecomplex *Mki0, *Mki1, *Mki2, *Mki3; -+ register int firstcol = 0; -+ -+ M0 = &M[0]; -+ -+ -+ while ( firstcol < ncol - 3 ) { /* Do 4 columns */ -+ Mki0 = M0 + 1; -+ Mki1 = Mki0 + ldm + 1; -+ Mki2 = Mki1 + ldm + 1; -+ Mki3 = Mki2 + ldm + 1; -+ -+ x0 = rhs[firstcol]; -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&x1, &rhs[firstcol+1], &temp); -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&x2, &rhs[firstcol+2], &temp); -+ zz_mult(&temp, &x1, Mki1); Mki1++; -+ z_sub(&x2, &x2, &temp); -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&x3, &rhs[firstcol+3], &temp); -+ zz_mult(&temp, &x1, Mki1); Mki1++; -+ z_sub(&x3, &x3, &temp); -+ zz_mult(&temp, &x2, Mki2); Mki2++; -+ z_sub(&x3, &x3, &temp); -+ -+ rhs[++firstcol] = x1; -+ rhs[++firstcol] = x2; -+ rhs[++firstcol] = x3; -+ ++firstcol; -+ -+ for (k = firstcol; k < ncol; k++) { -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ zz_mult(&temp, &x1, Mki1); Mki1++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ zz_mult(&temp, &x2, Mki2); Mki2++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ zz_mult(&temp, &x3, Mki3); Mki3++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ } -+ -+ M0 += 4 * ldm + 4; -+ } -+ -+ if ( firstcol < ncol - 1 ) { /* Do 2 columns */ -+ Mki0 = M0 + 1; -+ Mki1 = Mki0 + ldm + 1; -+ -+ x0 = rhs[firstcol]; -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&x1, &rhs[firstcol+1], &temp); -+ -+ rhs[++firstcol] = x1; -+ ++firstcol; -+ -+ for (k = firstcol; k < ncol; k++) { -+ zz_mult(&temp, &x0, Mki0); Mki0++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ zz_mult(&temp, &x1, Mki1); Mki1++; -+ z_sub(&rhs[k], &rhs[k], &temp); -+ } -+ } -+ -+} -+ -+/* -+ * Solves a dense upper triangular system. The upper triangular matrix is -+ * stored in a 2-dim array M(1:ldm,1:ncol). The solution will be returned -+ * in the rhs vector. -+ */ -+void -+zusolve ( -+int ldm, /* in */ -+int ncol, /* in */ -+doublecomplex *M, /* in */ -+doublecomplex *rhs /* modified */ -+) -+{ -+ doublecomplex xj, temp; -+ int jcol, j, irow; -+ -+ jcol = ncol - 1; -+ -+ for (j = 0; j < ncol; j++) { -+ -+ z_div(&xj, &rhs[jcol], &M[jcol + jcol*ldm]); /* M(jcol, jcol) */ -+ rhs[jcol] = xj; -+ -+ for (irow = 0; irow < jcol; irow++) { -+ zz_mult(&temp, &xj, &M[irow+jcol*ldm]); /* M(irow, jcol) */ -+ z_sub(&rhs[irow], &rhs[irow], &temp); -+ } -+ -+ jcol--; -+ -+ } -+} -+ -+ -+/* -+ * Performs a dense matrix-vector multiply: Mxvec = Mxvec + M * vec. -+ * The input matrix is M(1:nrow,1:ncol); The product is returned in Mxvec[]. -+ */ -+void zmatvec ( -+int ldm, /* in -- leading dimension of M */ -+int nrow, /* in */ -+int ncol, /* in */ -+doublecomplex *M, /* in */ -+doublecomplex *vec, /* in */ -+doublecomplex *Mxvec /* in/out */ -+) -+{ -+ doublecomplex vi0, vi1, vi2, vi3; -+ doublecomplex *M0, temp; -+ doublecomplex *Mki0, *Mki1, *Mki2, *Mki3; -+ register int firstcol = 0; -+ int k; -+ -+ M0 = &M[0]; -+ -+ while ( firstcol < ncol - 3 ) { /* Do 4 columns */ -+ Mki0 = M0; -+ Mki1 = Mki0 + ldm; -+ Mki2 = Mki1 + ldm; -+ Mki3 = Mki2 + ldm; -+ -+ vi0 = vec[firstcol++]; -+ vi1 = vec[firstcol++]; -+ vi2 = vec[firstcol++]; -+ vi3 = vec[firstcol++]; -+ for (k = 0; k < nrow; k++) { -+ zz_mult(&temp, &vi0, Mki0); Mki0++; -+ z_add(&Mxvec[k], &Mxvec[k], &temp); -+ zz_mult(&temp, &vi1, Mki1); Mki1++; -+ z_add(&Mxvec[k], &Mxvec[k], &temp); -+ zz_mult(&temp, &vi2, Mki2); Mki2++; -+ z_add(&Mxvec[k], &Mxvec[k], &temp); -+ zz_mult(&temp, &vi3, Mki3); Mki3++; -+ z_add(&Mxvec[k], &Mxvec[k], &temp); -+ } -+ -+ M0 += 4 * ldm; -+ } -+ -+ while ( firstcol < ncol ) { /* Do 1 column */ -+ Mki0 = M0; -+ vi0 = vec[firstcol++]; -+ for (k = 0; k < nrow; k++) { -+ zz_mult(&temp, &vi0, Mki0); Mki0++; -+ z_add(&Mxvec[k], &Mxvec[k], &temp); -+ } -+ M0 += ldm; -+ } -+ -+} -+ diff --git a/sci-libs/superlu_mt/files/superlu_mt-2.1-missing-includes.patch b/sci-libs/superlu_mt/files/superlu_mt-2.1-missing-includes.patch deleted file mode 100644 index afeca8fa7..000000000 --- a/sci-libs/superlu_mt/files/superlu_mt-2.1-missing-includes.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Nur TESTING.orig/MATGEN/clatb4.c TESTING/MATGEN/clatb4.c ---- TESTING.orig/MATGEN/clatb4.c 2013-07-15 11:48:34.285967038 -0700 -+++ TESTING/MATGEN/clatb4.c 2013-07-15 11:49:05.150137959 -0700 -@@ -3,6 +3,7 @@ - -lf2c -lm (in that order) - */ - -+#include <string.h> - #include "f2c.h" - - /* Table of constant values */ -diff -Nur TESTING.orig/MATGEN/dlatb4.c TESTING/MATGEN/dlatb4.c ---- TESTING.orig/MATGEN/dlatb4.c 2013-07-15 11:48:34.288966998 -0700 -+++ TESTING/MATGEN/dlatb4.c 2013-07-15 11:49:05.150137959 -0700 -@@ -3,6 +3,7 @@ - -lf2c -lm (in that order) - */ - -+#include <string.h> - #include "f2c.h" - - /* Table of constant values */ -diff -Nur TESTING.orig/MATGEN/slatb4.c TESTING/MATGEN/slatb4.c ---- TESTING.orig/MATGEN/slatb4.c 2013-07-15 11:48:34.288966998 -0700 -+++ TESTING/MATGEN/slatb4.c 2013-07-15 11:49:05.150137959 -0700 -@@ -3,6 +3,7 @@ - -lf2c -lm (in that order) - */ - -+#include <string.h> - #include "f2c.h" - - /* Table of constant values */ -diff -Nur TESTING.orig/MATGEN/zlatb4.c TESTING/MATGEN/zlatb4.c ---- TESTING.orig/MATGEN/zlatb4.c 2013-07-15 11:48:34.288966998 -0700 -+++ TESTING/MATGEN/zlatb4.c 2013-07-15 11:49:05.150137959 -0700 -@@ -3,6 +3,7 @@ - -lf2c -lm (in that order) - */ - -+#include <string.h> - #include "f2c.h" - - /* Table of constant values */ diff --git a/sci-libs/superlu_mt/metadata.xml b/sci-libs/superlu_mt/metadata.xml deleted file mode 100644 index 2b1e34d8f..000000000 --- a/sci-libs/superlu_mt/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> - SuperLU is a general purpose library for the direct solution of - large, sparse, nonsymmetric systems of linear equations on high - performance machines. The library is written in C and is callable - from either C or Fortran. The library routines will perform an LU - decomposition with partial pivoting and triangular system solves - through forward and back substitution. The LU factorization routines - can handle non-square matrices but the triangular solves are - performed only for square matrices. The matrix columns may be - preordered (before factorization) either through library or user - supplied routines. This preordering for sparsity is completely - separate from the factorization. Working precision iterative - refinement subroutines are provided for improved backward - stability. Routines are also provided to equilibrate the system, - estimate the condition number, calculate the relative backward - error, and estimate error bounds for the refined solutions. - This is the multi-threaded version (POSIX threads or OpenMP). -</longdescription> -</pkgmetadata> diff --git a/sci-libs/superlu_mt/superlu_mt-2.1.ebuild b/sci-libs/superlu_mt/superlu_mt-2.1.ebuild deleted file mode 100644 index 90ed57626..000000000 --- a/sci-libs/superlu_mt/superlu_mt-2.1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils fortran-2 toolchain-funcs - -MYPN=SuperLU_MT - -DESCRIPTION="Multithreaded sparse LU factorization library" -HOMEPAGE="http://crd.lbl.gov/~xiaoye/SuperLU/" -SRC_URI="${HOMEPAGE}/${PN}_${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc openmp threads examples static-libs test" - -RDEPEND=" - virtual/blas" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( app-shells/tcsh )" - -S="${WORKDIR}/${MYPN}_${PV}" - -pkg_setup() { - if use threads; then - export CTHREADS="-D__PTHREAD" LDTHREADS="-pthread" - elif use openmp; then - if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then - ewarn "OpenMP is not available in your current selected gcc" - die "need openmp capable gcc" - fi - FORTRAN_NEED_OPENMP=1 - export CTHREADS="-D__OPENMP" - [[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp" - else - ewarn "Neither threads or openmp selected. Forcing threads" - export CTHREADS="-D__PTHREAD" LDTHREADS="-pthread" - fi - fortran-2_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-duplicate-symbols.patch \ - "${FILESDIR}"/${P}-missing-includes.patch -} - -src_configure() { - sed -i \ - -e 's/^\(PLAT\s*=\).*/\1/' \ - -e "s:^\(CC\s*=\).*:\1 $(tc-getCC):" \ - -e "/CFLAGS/s:-O3:${CFLAGS} \$(PIC):" \ - -e "s:^\(PREDEFS\s*=\).*:\1 ${CPPFLAGS} -DUSE_VENDOR_BLAS \$(CTHREADS)$:" \ - -e "s:^\(NOOPTS\s*=.*\):\1 \$(PIC):" \ - -e "s:^\(FORTRAN\s*=\).*:\1 $(tc-getFC):" \ - -e "s:^\(FFLAGS\s*=\).*:\1 ${FFLAGS} \$(PIC):" \ - -e "s:^\(ARCH\s*=\).*:\1 $(tc-getAR):" \ - -e "s:^\(RANLIB\s*=\).*:\1 $(tc-getRANLIB):" \ - -e "s:^\(LOADER\s*=\).*:\1 $(tc-getCC):" \ - -e "s:^\(LOADOPTS\s*=\).*:\1 ${LDFLAGS} \$(LDTHREADS):" \ - -e "/MPLIB/d" \ - -e "s:^\(BLASLIB\s*=\).*:\1 $($(tc-getPKG_CONFIG) --libs blas):" \ - make.inc || die - SONAME=libsuperlu_mt.so.0 - sed -i \ - -e 's|../make.inc|make.inc|' \ - -e "s|../SRC|${EPREFIX}/usr/include/${PN}|" \ - -e '/:.*$(SUPERLULIB)/s|../lib/$(SUPERLULIB)||g' \ - -e 's|../lib/$(SUPERLULIB)|-lsuperlu_mt|g' \ - EXAMPLE/Makefile || die -} - -src_compile() { - emake superlulib \ - PIC="-fPIC" ARCH="echo" ARCHFLAGS="" RANLIB="echo" - $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \ - $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die - ln -s ${SONAME} lib/libsuperlu_mt.so || die - - use static-libs && rm -f SRC/*.o && emake superlulib \ - PIC="" ARCH="$(tc-getAR)" ARCHFLAGS="cr" RANLIB="$(tc-getRANLIB)" -} - -src_test() { - emake -j1 tmglib - LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \ - emake SUPERLULIB="${SONAME}" testing -} - -src_install() { - dolib.so lib/*so* - use static-libs && dolib.a lib/*.a - insinto /usr/include/${PN} - doins SRC/*h - dodoc README - use doc && dodoc DOC/ug.pdf - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r EXAMPLE/* make.inc - fi -} - -pkg_postinst() { - elog "${PN} has been designed to work with a single-threaded blas library" - elog "Make sure to eselect one (openblas/atlas) when using superlu_mt" -} diff --git a/sci-misc/fitscut/Manifest b/sci-misc/fitscut/Manifest deleted file mode 100644 index 3c69b4721..000000000 --- a/sci-misc/fitscut/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fitscut-1.4.4.tar.gz 163663 SHA256 1df936af9cd36bf1cd1e3a095ecc8bec68a6974525e0f4fd0e9cccb9633728bb SHA512 1d80671efeebfb07e7e2714d9cdbdd445a2e7644119d5b82ba4a8f033b36e773d13f87998ece45091f4a127beca374021e8c5afd88f649c9405fb329cd1ee97f WHIRLPOOL fa2a7ac7306988b574dd9155fe1062bd86fea8cf1bd45cfb8a05795d7ef305cd5de9d9061fe00b2d7e9f25c263f8db4bed252bf171082943b7c9d82684c0dcd4 diff --git a/sci-misc/fitscut/fitscut-1.4.4.ebuild b/sci-misc/fitscut/fitscut-1.4.4.ebuild deleted file mode 100644 index 677ec7ee6..000000000 --- a/sci-misc/fitscut/fitscut-1.4.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils - -DESCRIPTION="Extract cutouts from FITS image files" -HOMEPAGE="http://acs.pha.jhu.edu/general/software/fitscut/" -SRC_URI="${HOMEPAGE}/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND=" - >=sci-libs/cfitsio-3:0= - sci-astronomy/wcstools:0= - media-libs/libpng:0= - virtual/jpeg:0=" -DEPEND="${RDEPEND}" - -src_prepare() { - # gentoo wcs is called wcstools to avoid conflict with wcslib - sed -i \ - -e 's/libwcs/wcs/g' \ - wcs*.c fitscut.c || die - # cfitsio/fitsio.h might conflict with host on prefix - sed -i \ - -e 's/LIB(wcs,/LIB(wcstools,/' \ - -e 's/-lwcs/-lwcstools/' \ - -e '/cfitsio\/fitsio.h/d' \ - configure.in || die - autotools-utils_src_prepare -} diff --git a/sci-misc/fitscut/metadata.xml b/sci-misc/fitscut/metadata.xml deleted file mode 100644 index cc63d596c..000000000 --- a/sci-misc/fitscut/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-astronomy@gentoo.org</email> - <name>Gentoo Astronomy Project</name> - </maintainer> - <longdescription lang="en"> - fitscut is designed to extract cutouts from FITS image format - files. FITS, PNG, and JPEG output types are supported. - When multiple input files are specified and the output type is PNG or - JPEG the resulting image is an RGB color image. -</longdescription> -</pkgmetadata> diff --git a/sci-physics/herwig++/Manifest b/sci-physics/herwig++/Manifest deleted file mode 100644 index 39d301768..000000000 --- a/sci-physics/herwig++/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Herwig++-2.7.0.tar.bz2 3365868 SHA256 17403748e7e3d76b0b91633ed5d23957f8eb086f7b833128b1294911dbceca33 SHA512 c59ba24893bd6c5bd02ef86c5e1d1a38b6bd4c59e06d48e54c32748951f752c988717dc88f340a2013db6c359d59a0f19bee42461015f294b9cd67ce5a58d479 WHIRLPOOL 573d8f5abb594e9a2e93152e00921ce19e57279a087f7b5583f61f4383a4bdcbf493bc618c299ccd1cdc319ce1939afab507219304e35d3b959de8a4c58f502c diff --git a/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch b/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch deleted file mode 100644 index 0c802977d..000000000 --- a/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- Looptools/Makefile.am -+++ Looptools/Makefile.am -@@ -1,58 +1,12 @@ --noinst_LTLIBRARIES = libHwLooptoolsXFC.la libHwLooptoolsCFC.la --noinst_LTLIBRARIES += libHwLooptools.la -- --EXTRA_DIST = include/lt.h include/ftypes.h include/ff.h include/ffwarn.h \ -- include/fferr.h include/defs.h include/looptools.h include/ffperm5.h \ -- include/clooptools.h include/cexternals.h include/externals.h \ -- util/solve-LU.F util/solve-LU.h util/solve-Eigen.F -- --theXFCSOURCES = \ --A/A0.F A/A00.F A/ffxa0.F A/ffca0.F B/Bget.F \ --B/Bcoeff.F B/BcoeffC.F B/Bcoeffa.F B/Bcoeffb.F B/ffxb0.F \ --B/ffcb0.F B/ffxb1.F B/ffcb1.F B/ffxb2p.F B/ffcb2p.F \ --B/ffxdb0.F B/ffcdb0.F B/ffxdb1.F B/ffdel2.F B/ffcel2.F \ --C/C0.F C/C0C.F C/Cget.F C/ffxc0.F C/ffcc0.F \ --C/ffxc0i.F C/ffxc0p.F C/ffxc0p0.F C/ffcc0p.F C/ffdxc0.F \ --C/ffdel3.F C/ffcel3.F D/D0.F D/D0C.F D/Dget.F \ --D/ffxd0.F D/ffxd0h.F D/ffxd0i.F D/ffxd0p.F D/ffxd0m0.F \ --D/ffxd0tra.F D/ffxdbd.F D/ffdcc0.F D/ffdel4.F D/ffd0c.F \ --D/ffTn.F D/ffT13.F D/ffS2.F D/ffS3n.F D/ffRn.F \ --E/E0.F E/Eget.F E/Ecoeffa.F E/Ecoeffb.F E/ffxe0.F \ --E/ffdel5.F util/ini.F util/auxCD.F util/solve.F util/Dump.F \ --util/Li2.F util/ffinit.F util/ffxli2.F util/ffcli2.F util/ffxxyz.F \ --util/ffcxyz.F util/ffcrr.F util/ffcxr.F util/fftran.F util/ffabcd.F \ --util/ff2dl2.F util/ffcxs3.F util/ffcxs4.F util/ffdcxs.F util/ffbndc.F -- --## the following need -DCOMPLEXPARA --theCFCSOURCES = \ --A/A0.F A/A00.F B/Bget.F B/Bcoeffa.F C/Cget.F D/Dget.F E/E0.F \ --E/Eget.F E/Ecoeffa.F E/Ecoeffb.F util/solve.F util/Dump.F util/Li2.F -+noinst_LTLIBRARIES = libHwLooptools.la - - commonCPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include - --libHwLooptoolsXFC_la_SOURCES = $(theXFCSOURCES) --libHwLooptoolsXFC_la_CPPFLAGS = $(commonCPPFLAGS) --libHwLooptoolsXFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none --libHwLooptoolsXFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none -- --libHwLooptoolsCFC_la_SOURCES = $(theCFCSOURCES) --libHwLooptoolsCFC_la_CPPFLAGS = $(commonCPPFLAGS) -DCOMPLEXPARA --libHwLooptoolsCFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none --libHwLooptoolsCFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none -- --## installed already from "include/Makefile.am" --## noinst_HEADERS = include/clooptools.h -- --##if NEED_APPLE_FIXES --##libHwLooptoolsXFC_la_LDFLAGS = -Wl,-single_module --##libHwLooptoolsCFC_la_LDFLAGS = -Wl,-single_module --##endif -- --libHwLooptools_la_SOURCES = util/cache.c clooptools.cc -+libHwLooptools_la_SOURCES = clooptools.cc - libHwLooptools_la_CXXFLAGS = $(AM_CXXFLAGS) -Wno-strict-aliasing - libHwLooptools_la_CPPFLAGS = $(commonCPPFLAGS) - libHwLooptools_la_CFLAGS = $(AM_CFLAGS) -std=c99 --libHwLooptools_la_LIBADD = libHwLooptoolsXFC.la libHwLooptoolsCFC.la -+libHwLooptools_la_LIBADD = -looptools - - - ## libHwLooptoolsHelper2_la_SOURCES = clooptools.cc diff --git a/sci-physics/herwig++/herwig++-2.7.0-r2.ebuild b/sci-physics/herwig++/herwig++-2.7.0-r2.ebuild deleted file mode 100644 index 05ab0f2ef..000000000 --- a/sci-physics/herwig++/herwig++-2.7.0-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 -AUTOTOOLS_IN_SOURCE_BUILD=1 - -inherit autotools-utils eutils flag-o-matic multilib - -MYP=Herwig++-${PV} - -DESCRIPTION="High-Energy Physics event generator" -HOMEPAGE="http://herwig.hepforge.org/" -SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2" - -LICENSE="GPL-2" - -SLOT="0/14" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="c++11 fastjet static-libs" - -RDEPEND=" - dev-libs/boost:0= - sci-libs/gsl:0= - <=sci-physics/looptools-2.8:0= - >=sci-physics/thepeg-1.9.1:0= - fastjet? ( sci-physics/fastjet:0= )" -DEPEND="${RDEPEND} - virtual/fortran" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch - find -name 'Makefile.am' -exec \ - sed -i -e '1ipkgdatadir=$(datadir)/herwig++' {} \; || die - autotools-utils_src_prepare -} - -src_configure() { - use prefix && \ - append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/ThePEG - local myeconfargs=( - --with-boost="${EPREFIX}"/usr - --with-thepeg="${EPREFIX}"/usr - $(use_enable c++11 stdcxx11) - $(use_with fastjet fastjet "${EPREFIX}"/usr) - ) - autotools-utils_src_configure -} - -pkg_preinst () { - sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/defaults/PDF.in || die - sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/HerwigDefaults.rpo || die -} diff --git a/sci-physics/herwig++/metadata.xml b/sci-physics/herwig++/metadata.xml deleted file mode 100644 index 8db6bd65d..000000000 --- a/sci-physics/herwig++/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>jauhien@gentoo.org</email> -</maintainer> -<maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> -</maintainer> -<longdescription> - Herwig++ is a completely new event generator, written in C++. - It is built on the experience gained with the well-known - event generator HERWIG. The aim is to provide a multi purpose - event generator with similar or improved capabilities (like angular - ordered parton evolution and the cluster hadronization model). -</longdescription> -<use> - <flag name="c++11">Build Herwig++ using the C++11 standard. - Experimental feature, not for production use.</flag> - <flag name="fastjet">Adds support for <pkg>sci-physics/fastjet</pkg></flag> -</use> -</pkgmetadata> diff --git a/sci-physics/looptools/Manifest b/sci-physics/looptools/Manifest deleted file mode 100644 index 35ceaef6d..000000000 --- a/sci-physics/looptools/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST LoopTools-2.10.tar.gz 550654 SHA256 141ab2153006ca3f1cc01e66e1552c02bf8164b9216304ff1829370b7b5c77bb SHA512 1fc9ef5a9ced8ea08ddc5f494338fb27b55bacdd23a968ca4379e5ca63f8d74ea947fb0bb98a80dfd6dddc0db1e80d2d454433abdcfeac323b51c27432046954 WHIRLPOOL b118d3f5f13b6e23920f7680b4b1a0b1d2c4079ac78c0763e73d30e9750d14ae57cd00f889e5b7392bc2ef53f88122be4d7f52de96f999676aa4e1e603353eae -DIST LoopTools-2.11.tar.gz 546351 SHA256 efe14e774fcd66bdd46bbeb8065138793e3c1f5c73594c84c116edbab74c842d SHA512 fbe6c43b857561d0e7f35acdea32c34f2430c2faf23172790ad4426c469e39cd0df413d2c3cdc080ce9c4dcfb95773b7dc70b13738341c9d0438f4445cdbf6ab WHIRLPOOL 74b30ebe59998f2217b7e5cfb6e90671193159e5e3adfb2c26fee9c6f7b4021932ea8158e191f2e538e2e6d037fc86382659a697f638dc22ea3d068dfb92340c -DIST LoopTools-2.9.tar.gz 548404 SHA256 e3cdc10fdbc9fe68e56402d34c6d3abd1ec6d727db8914b0cec0119273f7aa4d SHA512 3a46c94a5ff72079c930d7ec2076b0f5278e897130383fdd656173218840f04e03ebb9fdef362af36a207a71a87c038fec6e008a231ef259120073760aa05534 WHIRLPOOL 50591b6aa4e7e624282ad2102c78060cd421c6f5b7abd293bb18b2ca6844857bdcdbafab8e33c86ff4bd464f1245ba0cd13978800ac4786411a658ffd947cc38 diff --git a/sci-physics/looptools/files/looptools-2.10-makefile.patch b/sci-physics/looptools/files/looptools-2.10-makefile.patch deleted file mode 100644 index 8758244ac..000000000 --- a/sci-physics/looptools/files/looptools-2.10-makefile.patch +++ /dev/null @@ -1,98 +0,0 @@ ---- makefile.in -+++ makefile.in -@@ -1,14 +1,17 @@ - BLD = build$(QUADSUFFIX) - --LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX) --INCLUDEDIR = $(PREFIX)/include --BINDIR = $(PREFIX)/bin -+LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX) -+INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include -+BINDIR = $(DESTDIR)/$(PREFIX)/bin - - LIB = libooptools$(QUADSUFFIX).a - FE = lt$(QUADSUFFIX)$(EXE) - MFE = LoopTools$(QUADSUFFIX)$(EXE) - INCLUDE = $(BLD)/looptools.h $(BLD)/clooptools.h - -+LIBRARY=libooptools.so -+REALNAME=$(LIBRARY).$(VER) -+ - ARGS = $(PARALLEL) \ - LIB="$(LIB)" \ - FE="$(FE)" \ -@@ -16,12 +19,12 @@ - EXE="$(EXE)" \ - DEF="$(DEF)" \ - NOUNDERSCORE="$(NOUNDERSCORE)" \ -- XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I." \ -+ XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I. -fPIC" \ - F90="$(F90)" \ - CC="$(CC)" \ -- CFLAGS="$(CFLAGS) $(CFLAGS-quad)" \ -+ CFLAGS="$(CFLAGS) $(CFLAGS-quad) -fPIC" \ - CXX="$(CXX)" \ -- CXXFLAGS="$(CXXFLAGS)" \ -+ CXXFLAGS="$(CXXFLAGS) -fPIC" \ - ML="$(ML)" \ - MCC="$(MCC)" \ - MCFLAGS="$(MCFLAGS)" \ -@@ -32,22 +35,24 @@ - DLLTOOL="$(DLLTOOL)" \ - LDFLAGS="$(LDFLAGS)" \ - LIBPATH="$(LIBPATH)" \ -- OBJS-quad="$(OBJS-quad)" -+ OBJS-quad="$(OBJS-quad)" \ -+ REALNAME="$(REALNAME)" - - --default all lib frontend mma: force -+default all lib solib frontend mma: force - cd $(BLD) && $(MAKE) $(ARGS) $@ - --install: lib frontend -- -mkdir $(PREFIX) -+install: lib solib frontend -+ -mkdir $(DESTDIR)$(PREFIX) - -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR) - cp -p $(BLD)/$(LIB) $(LIBDIR) - cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR) -- strip $(BLD)/$(FE) - cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR) - rm -f $(BINDIR)/f++ - ln -s fcc $(BINDIR)/f++ -- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); } -+ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); } -+ cp -p $(BLD)/$(REALNAME) $(LIBDIR) -+ cd $(LIBDIR) && ln -s $(REALNAME) $(LIBRARY) - - force: $(BLD)/timestamp - ---- src/makefile -+++ src/makefile -@@ -1,6 +1,6 @@ --default: frontend mma$(ML) -+default: frontend mma$(ML) solib - --all: frontend mma1 -+all: frontend mma1 solib - - frontend: lib $(FE) - -@@ -8,6 +8,7 @@ - - mma0 lib: $(LIB) clooptools.h fcc - -+solib: $(REALNAME) fcc - - .SUFFIXES: - -@@ -243,6 +244,8 @@ - $(AR) cru $(LIB) $? - -$(RANLIB) $(LIB) - -+$(REALNAME): $(OBJS) -+ $(XFC) $(LDFLAGS) -shared -Wl,--soname,$(REALNAME) -o $@ $? - - $(FE): lt.F $(LTINC) $(LIB) - $(XFC) -o $(FE) lt.F $(LIB) -lpthread diff --git a/sci-physics/looptools/files/looptools-2.8-makefile.patch b/sci-physics/looptools/files/looptools-2.8-makefile.patch deleted file mode 100644 index 5252c1de6..000000000 --- a/sci-physics/looptools/files/looptools-2.8-makefile.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- makefile.in -+++ makefile.in -@@ -1,14 +1,17 @@ - BLD = build$(QUADSUFFIX) - --LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX) --INCLUDEDIR = $(PREFIX)/include --BINDIR = $(PREFIX)/bin -+LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX) -+INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include -+BINDIR = $(DESTDIR)/$(PREFIX)/bin - - LIB = libooptools$(QUADSUFFIX).a - FE = lt$(QUADSUFFIX)$(EXE) - MFE = LoopTools$(QUADSUFFIX)$(EXE) - INCLUDE = $(BLD)/looptools.h $(BLD)/clooptools.h - -+LIBRARY=libooptools.so -+REALNAME=$(LIBRARY).$(VER) -+ - ARGS = $(PARALLEL) \ - LIB="$(LIB)" \ - FE="$(FE)" \ -@@ -16,12 +19,12 @@ - EXE="$(EXE)" \ - DEF="$(DEF)" \ - NOUNDERSCORE="$(NOUNDERSCORE)" \ -- XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I." \ -+ XFC="$(FC$(QUADSUFFIX)) $(FFLAGS) $(FFLAGS-quad) -I. -fPIC" \ - F90="$(F90)" \ - CC="$(CC)" \ -- CFLAGS="$(CFLAGS) $(CFLAGS-quad)" \ -+ CFLAGS="$(CFLAGS) $(CFLAGS-quad) -fPIC" \ - CXX="$(CXX)" \ -- CXXFLAGS="$(CXXFLAGS)" \ -+ CXXFLAGS="$(CXXFLAGS) -fPIC" \ - ML="$(ML)" \ - MCC="$(MCC)" \ - MCFLAGS="$(MCFLAGS)" \ -@@ -31,20 +34,22 @@ - DLLTOOL="$(DLLTOOL)" \ - LDFLAGS="$(LDFLAGS)" \ - LIBPATH="$(LIBPATH)" \ -- OBJS-quad="$(OBJS-quad)" -+ OBJS-quad="$(OBJS-quad)" \ -+ REALNAME="$(REALNAME)" - - --default all lib frontend mma: force -+default all lib solib frontend mma: force - cd $(BLD) && $(MAKE) $(ARGS) $@ - --install: lib frontend -- -mkdir $(PREFIX) -+install: lib solib frontend -+ -mkdir $(DESTDIR)$(PREFIX) - -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR) - cp -p $(BLD)/$(LIB) $(LIBDIR) - cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR) -- strip $(BLD)/$(FE) - cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR) -- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); } -+ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); } -+ cp -p $(BLD)/$(REALNAME) $(LIBDIR) -+ cd $(LIBDIR) && ln -s $(REALNAME) $(LIBRARY) - - force: $(BLD)/timestamp - ---- src/makefile -+++ src/makefile -@@ -1,6 +1,6 @@ --default: frontend mma$(ML) -+default: frontend mma$(ML) solib - --all: frontend mma1 -+all: frontend mma1 solib - - frontend: lib $(FE) - -@@ -8,6 +8,7 @@ - - mma0 lib: $(LIB) clooptools.h fcc - -+solib: $(REALNAME) fcc - - .SUFFIXES: - -@@ -247,6 +248,8 @@ - $(AR) cru $(LIB) $? - -$(RANLIB) $(LIB) - -+$(REALNAME): $(OBJS) -+ $(XFC) $(LDFLAGS) -shared -Wl,--soname,$(REALNAME) -o $@ $? - - $(FE): lt.F $(LTINC) $(LIB) - $(XFC) -o $(FE) lt.F $(LIB) diff --git a/sci-physics/looptools/looptools-2.10.ebuild b/sci-physics/looptools/looptools-2.10.ebuild deleted file mode 100644 index 008a5ca6a..000000000 --- a/sci-physics/looptools/looptools-2.10.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils fortran-2 multilib - -MYP=LoopTools-${PV} - -DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals" -HOMEPAGE="http://www.feynarts.de/looptools" -SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz" - -LICENSE="LGPL-3" - -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -DEPEND="virtual/fortran" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - export VER="${PV}" - # necessary fix for prefix - sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die -} - -src_install() { - default - # another one of these package building archive with pic - # no: ooptools is not a typo - use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a - use doc && dodoc manual/*.pdf -} diff --git a/sci-physics/looptools/looptools-2.11.ebuild b/sci-physics/looptools/looptools-2.11.ebuild deleted file mode 100644 index 04f017dbb..000000000 --- a/sci-physics/looptools/looptools-2.11.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils fortran-2 multilib - -MYP=LoopTools-${PV} - -DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals" -HOMEPAGE="http://www.feynarts.de/looptools" -SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz" - -LICENSE="LGPL-3" - -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -DEPEND="virtual/fortran" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.10-makefile.patch - export VER="${PV}" - # necessary fix for prefix - sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die -} - -src_install() { - default - # another one of these package building archive with pic - # no: ooptools is not a typo - use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a - use doc && dodoc manual/*.pdf -} diff --git a/sci-physics/looptools/looptools-2.9.ebuild b/sci-physics/looptools/looptools-2.9.ebuild deleted file mode 100644 index 64a53bbfe..000000000 --- a/sci-physics/looptools/looptools-2.9.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils fortran-2 multilib - -MYP=LoopTools-${PV} - -DESCRIPTION="Tools for evaluation of scalar and tensor one-loop integrals" -HOMEPAGE="http://www.feynarts.de/looptools" -SRC_URI="http://www.feynarts.de/looptools/${MYP}.tar.gz" - -LICENSE="LGPL-3" - -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -DEPEND="virtual/fortran" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.8-makefile.patch - export VER="${PV}" - # necessary fix for prefix - sed -i "s/lib\$(LIBDIRSUFFIX)/$(get_libdir)/" makefile.in || die -} - -src_install() { - default - # another one of these package building archive with pic - # no: ooptools is not a typo - use static-libs || rm "${ED}"/usr/$(get_libdir)/libooptools.a - use doc && dodoc manual/*.pdf -} diff --git a/sci-physics/looptools/metadata.xml b/sci-physics/looptools/metadata.xml deleted file mode 100644 index 4333af58d..000000000 --- a/sci-physics/looptools/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> -</maintainer> -<longdescription> - A package for evaluation of scalar and tensor one-loop integrals - based on the FF package by G.J. van Oldenborgh. - It features an easy Fortran, C++, and Mathematica interface - to the scalar one-loop functions of FF and in addition provides - the 2-, 3-, and 4-point tensor coefficient functions. -</longdescription> -</pkgmetadata> diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest deleted file mode 100644 index 9af9cc9d1..000000000 --- a/sci-physics/rivet/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Rivet-2.1.1.tar.bz2 4084261 SHA256 eefa936de6f6c34a6bab39899841f3189d7621c8ba227032f0f32e6e20dfcf85 SHA512 ee1ed8741b539aa773ba7ef9b704bfe0cc5aa1683ad2f4eac5cffc798ac989f041383e38852afb0353a59bdf887bb24c1491407ad4a5f68700c481b5e8008ebf WHIRLPOOL 1ee7cd016cc6ab3a843edc1655dce4bfc251e96bffdc157bda653204e99e997f6f23427af654bb8914314b82103502674fd89637c2acf72529bf7976fb707aaf -DIST Rivet-2.1.2.tar.bz2 4101565 SHA256 40a20c1ee186326e5bfd906e0bc88f16dc740551be9cc274e9a826873d9c1eed SHA512 d3f8078c7131c173f64c97466ac7e8b2fd559a2c5ae5c8366ba2735fa71aab3a490b9d0a7af614be4f858698f9fa56bca50043f690227ab62128583964e1107d WHIRLPOOL 16a51d102b7834ec29e9088d4183135daa4e7237a31d0df7e0f4b7b7e46090df235363850a776946e700266e024d100864c83b3a94285266c7ba7b584bd78b7a diff --git a/sci-physics/rivet/metadata.xml b/sci-physics/rivet/metadata.xml deleted file mode 100644 index 532272a0d..000000000 --- a/sci-physics/rivet/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> -</maintainer> -<longdescription> - The Rivet project (Robust Independent Validation of Experiment and - Theory) is a toolkit for validation of Monte Carlo event - generators. It provides a large (and ever growing) set of - experimental analyses useful for MC generator development, - validation, and tuning, as well as a convenient infrastructure for - adding your own analyses. Rivet is the most widespread way by which - analysis code from the LHC and other high-energy collider - experiments is preserved for comparison to and development of future - theory models. -</longdescription> -</pkgmetadata> diff --git a/sci-physics/rivet/rivet-2.1.1.ebuild b/sci-physics/rivet/rivet-2.1.1.ebuild deleted file mode 100644 index 12f29d945..000000000 --- a/sci-physics/rivet/rivet-2.1.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -AUTOTOOLS_IN_SOURCE_BUILD=1 -AUTOTOOLS_AUTORECONF=1 -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 autotools-utils bash-completion-r1 - -MYP=Rivet-${PV} - -DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators" -HOMEPAGE="http://rivet.hepforge.org/" - -SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc python static-libs" - -RDEPEND=" - dev-libs/boost:0= - sci-libs/gsl:0= - sci-physics/fastjet:0=[plugins] - sci-physics/hepmc:0= - sci-physics/yoda:0=[python] - python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen[latex,dot] ) - python? ( dev-python/cython[${PYTHON_USEDEP}] )" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MYP}" - -#PATCHES=( "${FILESDIR}"/${P}-system-yaml-cpp.patch ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local myeconfargs=( - $(use_enable python pyext) - ) - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile - use doc && doxygen Doxyfile -} - -src_install() { - autotools-utils_src_install - newbashcomp "${ED}"/usr/share/Rivet/rivet-completion rivet - use doc && dohtml -r doxy/html/* && dodoc doc/rivet-manual.pdf -} diff --git a/sci-physics/rivet/rivet-2.1.2.ebuild b/sci-physics/rivet/rivet-2.1.2.ebuild deleted file mode 100644 index 12f29d945..000000000 --- a/sci-physics/rivet/rivet-2.1.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -AUTOTOOLS_IN_SOURCE_BUILD=1 -AUTOTOOLS_AUTORECONF=1 -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 autotools-utils bash-completion-r1 - -MYP=Rivet-${PV} - -DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators" -HOMEPAGE="http://rivet.hepforge.org/" - -SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc python static-libs" - -RDEPEND=" - dev-libs/boost:0= - sci-libs/gsl:0= - sci-physics/fastjet:0=[plugins] - sci-physics/hepmc:0= - sci-physics/yoda:0=[python] - python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen[latex,dot] ) - python? ( dev-python/cython[${PYTHON_USEDEP}] )" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MYP}" - -#PATCHES=( "${FILESDIR}"/${P}-system-yaml-cpp.patch ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local myeconfargs=( - $(use_enable python pyext) - ) - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile - use doc && doxygen Doxyfile -} - -src_install() { - autotools-utils_src_install - newbashcomp "${ED}"/usr/share/Rivet/rivet-completion rivet - use doc && dohtml -r doxy/html/* && dodoc doc/rivet-manual.pdf -} diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest deleted file mode 100644 index 6e5b4038b..000000000 --- a/sci-physics/yoda/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST YODA-1.0.6.tar.bz2 689998 SHA256 357732448d67a593e5ff004418f2a2a263a1401ffe84e021f8a714aa183eaa21 SHA512 e0e63d30259d0d5cf7589e7228ea80b029683832058930a79d4be532535e96504c0362d28881503fb98f9fd7ab6721d4975681464e24294ae55cd47dc671873f WHIRLPOOL 5214f0e961380708d600d04f058a2a29286a933b02d5dc33fa472c63a38414cd1ca5104d8dd1e6dd8cc78e16bad85a61bc1b9b47b1326d214e8439b133d1b521 diff --git a/sci-physics/yoda/metadata.xml b/sci-physics/yoda/metadata.xml deleted file mode 100644 index 8075483ee..000000000 --- a/sci-physics/yoda/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> -</maintainer> -<longdescription> - Yet more Objects for Data Analysis is a small set of data analysis - (specifically histogramming) classes being developed by MCnet - members as a lightweight common system for MC event generator - validation analyses, particularly as the core histogramming system - in Rivet. -</longdescription> -<use> - <flag name="root">Adds support for <pkg>sci-physics/root</pkg></flag> -</use> -</pkgmetadata> diff --git a/sci-physics/yoda/yoda-1.0.6.ebuild b/sci-physics/yoda/yoda-1.0.6.ebuild deleted file mode 100644 index ab1a83540..000000000 --- a/sci-physics/yoda/yoda-1.0.6.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -AUTOTOOLS_IN_SOURCE_BUILD=1 -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 autotools-utils bash-completion-r1 - -MYP=YODA-${PV} - -DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis" -HOMEPAGE="http://yoda.hepforge.org/" - -SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="python root static-libs" - -RDEPEND=" - dev-libs/boost:0= - python? ( ${PYTHON_DEPS} ) - root? ( sci-physics/root:0=[python=,${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - python? ( dev-python/cython[${PYTHON_USEDEP}] )" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S="${WORKDIR}/${MYP}" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local myeconfargs=( - $(use_enable python pyext) - $(use_enable root) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - newbashcomp "${ED}"/usr/share/YODA/yoda-completion yoda -} |