* [gentoo-commits] proj/sci:master commit in: dev-lang/path64/, scripts/, profiles/
@ 2021-01-05 8:37 Horea Christian
0 siblings, 0 replies; only message in thread
From: Horea Christian @ 2021-01-05 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 9fdef594e724e77ded817c3a752eaf5969a27312
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Jan 5 08:36:17 2021 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jan 5 08:36:17 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fdef594
dev-lang/path64: dropped package broken for non-bootstrap install
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-lang/path64/metadata.xml | 20 -------
dev-lang/path64/path64-9999.ebuild | 111 -------------------------------------
profiles/package.use.mask | 4 --
scripts/make_path64_snapshot.sh | 37 -------------
4 files changed, 172 deletions(-)
diff --git a/dev-lang/path64/metadata.xml b/dev-lang/path64/metadata.xml
deleted file mode 100644
index b0cec0934..000000000
--- a/dev-lang/path64/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>xarthisius@gentoo.org</email>
- <name>Kacper Kowalik</name>
- </maintainer>
- <longdescription>
-The PathScale EKOPath Compiler Suite offers programmers a rich set of tools and
-one of the world's most sophisticated optimization infrastructures to maximize
-program performance on any Intel 64 or AMD64 platform supporting Intel MMX,
-SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AMD SSE4A and AVX.
-</longdescription>
- <use>
- <flag name="debugger">Build PathDB debugger</flag>
- <flag name="assembler">Build PathAS assembler</flag>
- <flag name="native">Use EKOPath/Path64 for bootstraping</flag>
- <flag name="valgrind">Support compiler debugging with <pkg>dev-util/valgrind</pkg></flag>
- </use>
-</pkgmetadata>
diff --git a/dev-lang/path64/path64-9999.ebuild b/dev-lang/path64/path64-9999.ebuild
deleted file mode 100644
index bad943c74..000000000
--- a/dev-lang/path64/path64-9999.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils git-r3 toolchain-funcs
-
-DESCRIPTION="Path64 Compiler Suite Community Edition"
-HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
-SRC_URI=""
-EGIT_REPO_URI="git://github.com/pathscale/${PN}-suite.git"
-PATH64_URI="compiler assembler"
-PATHSCALE_URI="compiler-rt libcxxrt libdwarf-bsd libunwind stdcxx"
-DBG_URI="git://github.com/path64/debugger.git"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
-
-DEPEND="
- !native? ( sys-devel/gcc:*[vanilla] )
- native? ( || ( dev-lang/ekopath:* dev-lang/path64 ) )
- valgrind? ( dev-util/valgrind )"
-RDEPEND="${DEPEND}"
-
-CMAKE_VERBOSE=1
-
-pkg_setup() {
- if use custom-cflags ; then
- ewarn "You are trying to build ${PN} with custom-cflags"
- ewarn "There is a high chance that you will utterly fail!"
- ewarn "Unless you know what you are doing you'd better stop now"
- ewarn "Should you decide to proceed, you are on your own..."
- fi
-}
-
-src_unpack() {
- git-r3_src_unpack
- cd "${S}" || die
- mkdir compiler || die
- for f in ${PATH64_URI}; do
- EGIT_REPO_URI="git://github.com/${PN}/${f}.git" \
- EGIT_DIR="${EGIT_STORE_DIR}/compiler/${f}" \
- EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/${f}" git-r3_src_unpack
- done
- for f in ${PATHSCALE_URI}; do
- EGIT_REPO_URI="git://github.com/pathscale/${f}.git" \
- EGIT_DIR="${EGIT_STORE_DIR}/compiler/${f}" \
- EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/${f}" git-r3_src_unpack
- done
- EGIT_REPO_URI=${DBG_URI} EGIT_DIR="${EGIT_STORE_DIR}/compiler/pathdb" \
- EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/pathdb" git-r3_src_unpack
-}
-
-src_prepare() {
- local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
- cat > "98${PN}" <<-EOF
- PATH=/usr/$(get_libdir)/${PN}/bin
- ROOTPATH=/usr/$(get_libdir)/${PN}/bin
- LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
- EOF
- sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
-}
-
-src_configure() {
- local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
- sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
- local libgcc=$($(tc-getCC) -print-libgcc-file-name)
- use custom-cflags && flags=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- )
-
- # Yup, I know how bad it is, but I'd rather have a working compiler
- unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
-
- if use native ; then
- export CMAKE_BUILD_TYPE=Release
- export CC=pathcc
- export CXX=pathCC
- export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
- else
- export CMAKE_BUILD_TYPE=Debug
- fi
- mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
- -DPATH64_ENABLE_TARGETS="x86_64"
- -DPATH64_ENABLE_PROFILING=ON
- -DPATH64_ENABLE_MATHLIBS=ON
- -DPATH64_ENABLE_PATHOPT2=OFF
- $(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
- $(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
- $(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
- $(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
- $(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
- $(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
- -DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
- -DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
- -DPSC_DYNAMIC_LINKER_x86_64=${linker}
- -DCMAKE_C_COMPILER="$(tc-getCC)"
- -DCMAKE_CXX_COMPILER="$(tc-getCXX)"
- "${flags[@]}"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- doenvd "98${PN}"
-}
diff --git a/profiles/package.use.mask b/profiles/package.use.mask
index e26c02c39..13ff264bb 100644
--- a/profiles/package.use.mask
+++ b/profiles/package.use.mask
@@ -26,7 +26,3 @@ sci-biology/estscan icc ifc
# Christoph Junghans <ottxor@gentoo.org> (05 Nov 2013)
# gui sandbox error
dev-lang/conceptual gui
-
-# Kacper Kowalik <xarthisius@gentoo.org> (23 Jul 2011)
-# mask assembler as it currently doesn't work
-dev-lang/path64 assembler
diff --git a/scripts/make_path64_snapshot.sh b/scripts/make_path64_snapshot.sh
deleted file mode 100644
index 35924953a..000000000
--- a/scripts/make_path64_snapshot.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-clean_git() {
- for f in $(find ./"$1" -name ".git"); do rm -rf $f; done
-}
-
-TEMP=/dev/shm/path64
-TODAY=$(date -u +%Y%m%d)
-
-[[ -d ${TEMP} ]] && rm -rf ${TEMP}
-mkdir "${TEMP}" && cd "${TEMP}"
-
-git clone git://github.com/pathscale/path64-suite.git path64
-clean_git path64
-ver=$(grep 'SET(PSC_FULL_VERSION' path64/CMakeLists.txt | cut -d'"' -f2)
-tar cjf path64-suite-${ver}_pre${TODAY}.tbz2 path64
-
-[[ -d ${TEMP}/path64/compiler ]] || mkdir -p ${TEMP}/path64/compiler
-cd ${TEMP}/path64/compiler
-
-for f in compiler assembler ; do
- git clone git://github.com/path64/$f.git
-done
-git clone git://github.com/path64/debugger.git pathdb
-for f in compiler-rt libcxxrt libdwarf-bsd libunwind stdcxx ; do
- git clone git://github.com/pathscale/$f.git
-done
-
-clean_git
-cd "${TEMP}"
-tar cjf path64-compiler-${ver}_pre${TODAY}.tbz2 \
- path64/compiler/{compiler,compiler-rt,libcxxrt,libdwarf-bsd,libunwind,stdcxx}
-tar cjf path64-debugger-${ver}_pre${TODAY}.tbz2 \
- path64/compiler/pathdb
-tar cjf path64-assembler-${ver}_pre${TODAY}.tbz2 \
- path64/compiler/assembler
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-05 8:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-05 8:37 [gentoo-commits] proj/sci:master commit in: dev-lang/path64/, scripts/, profiles/ Horea Christian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox