[arch-commits] Commit in llvm-amdgpu-snapshot/repos (4 files)

Laurent Carlier lcarlier at nymeria.archlinux.org
Wed May 15 07:40:35 UTC 2013


    Date: Wednesday, May 15, 2013 @ 09:40:34
  Author: lcarlier
Revision: 90882

archrelease: copy trunk to community-i686, community-x86_64

Added:
  llvm-amdgpu-snapshot/repos/community-i686/PKGBUILD
    (from rev 90881, llvm-amdgpu-snapshot/trunk/PKGBUILD)
  llvm-amdgpu-snapshot/repos/community-x86_64/PKGBUILD
    (from rev 90881, llvm-amdgpu-snapshot/trunk/PKGBUILD)
Deleted:
  llvm-amdgpu-snapshot/repos/community-i686/PKGBUILD
  llvm-amdgpu-snapshot/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  174 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   62 ---------------
 community-x86_64/PKGBUILD |   62 ---------------
 3 files changed, 174 insertions(+), 124 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-15 07:40:20 UTC (rev 90881)
+++ community-i686/PKGBUILD	2013-05-15 07:40:34 UTC (rev 90882)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Roberto Alsina <ralsina at kde.org>
-# Contributor: Tomas Lindquist Olsen <tomas at famolsen.dk>
-# Contributor: Anders Bergh <anders at archlinuxppc.org>
-# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson at gmail.com>
-
-pkgname=llvm-amdgpu-snapshot
-pkgver=20130403
-pkgrel=1
-pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support'
-arch=('i686' 'x86_64')
-url="http://llvm.org"
-license=('custom:University of Illinois/NCSA Open Source License')
-depends=('libffi' 'python2' 'ocaml')
-conflicts=('llvm')
-source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz)
-md5sums=('4baa7b8da9eff4811952b6f855c141ca')
-
-build() {
-  cd "$srcdir"/llvm-c*
-
-  sed -i 's/python$/python2/' utils/llvm-build/llvm-build
-
-  # Apply strip option to configure
-  _optimized_switch="enable"
-  [[ $(check_option strip) == n ]] && _optimized_switch="disable"
-
-  # Include location of libffi headers in CPPFLAGS
-  export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)"
-
-  # Force the use of GCC instead of clang
-  PYTHON=python2 CC=gcc CXX=g++ \
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib/llvm \
-    --sysconfdir=/etc \
-    --enable-shared \
-    --enable-libffi \
-    --enable-targets=all \
-    --enable-experimental-targets=R600 \
-    --disable-expensive-checks \
-    --with-binutils-include=/usr/include \
-    --$_optimized_switch-optimized
-
-  make REQUIRES_RTTI=1
-}
-
-package() {
-  cd "$srcdir"/llvm-c*
-
-  make DESTDIR="$pkgdir" install
-
-  # Remove useless files
-  rm -r "$pkgdir"/usr/{docs,lib/ocaml}
-  # Fix permissions of static libs
-  chmod -x "$pkgdir"/usr/lib/lib*.a
-
-  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: llvm-amdgpu-snapshot/repos/community-i686/PKGBUILD (from rev 90881, llvm-amdgpu-snapshot/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-15 07:40:34 UTC (rev 90882)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: Tomas Lindquist Olsen <tomas at famolsen.dk>
+# Contributor: Anders Bergh <anders at archlinuxppc.org>
+# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson at gmail.com>
+
+pkgbase=llvm-amdgpu-snapshot
+pkgname=('llvm-amdgpu-snapshot' 'llvm-amdgpu-lib-snapshot')
+pkgver=20130403
+pkgrel=2
+pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support'
+arch=('i686' 'x86_64')
+url="http://llvm.org"
+license=('custom:University of Illinois/NCSA Open Source License')
+makedepends=('libffi' 'python2' 'ocaml')
+source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz)
+md5sums=('4baa7b8da9eff4811952b6f855c141ca')
+
+prepare() {
+  cd "$srcdir"/llvm-c*
+
+  sed -i 's/python$/python2/' utils/llvm-build/llvm-build
+}
+
+build() {
+  cd "$srcdir"/llvm-c*
+
+  # Apply strip option to configure
+  _optimized_switch="enable"
+  [[ $(check_option strip) == n ]] && _optimized_switch="disable"
+
+  # Include location of libffi headers in CPPFLAGS
+  export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)"
+
+  # Force the use of GCC instead of clang
+  PYTHON=python2 CC=gcc CXX=g++ \
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib/llvm \
+    --sysconfdir=/etc \
+    --enable-shared \
+    --enable-libffi \
+    --enable-targets=all \
+    --enable-experimental-targets=R600 \
+    --disable-expensive-checks \
+    --with-binutils-include=/usr/include \
+    --$_optimized_switch-optimized
+
+  make REQUIRES_RTTI=1
+}
+
+package_llvm-amdgpu-snapshot() {
+  depends=("llvm-amdgpu-lib-snapshot=${pkgver}" 'python2')
+  conflicts=('llvm')
+
+  cd "$srcdir"/llvm-c*
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove useless files
+  rm -r "$pkgdir"/usr/{docs,lib/ocaml}
+  # moved to llvm-amdgpu-lib-snapshot
+  rm "$pkgdir"/usr/lib/libLLVM-3.2svn.so
+  # Fix permissions of static libs
+  chmod -x "$pkgdir"/usr/lib/lib*.a
+
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_llvm-amdgpu-lib-snapshot() {
+  depends=('libffi' 'gcc-libs')
+  
+  cd "$srcdir"/llvm-c*
+
+  make DESTDIR="$pkgdir" install
+
+  mv -v "$pkgdir"/usr/lib/libLLVM-3.2svn.so "$pkgdir"/
+  
+  # Remove useless files
+  rm -r "$pkgdir"/usr/{bin,include,docs,lib/*}
+  
+  mv "$pkgdir"/libLLVM-3.2svn.so "$pkgdir"/usr/lib/
+
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-15 07:40:20 UTC (rev 90881)
+++ community-x86_64/PKGBUILD	2013-05-15 07:40:34 UTC (rev 90882)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Roberto Alsina <ralsina at kde.org>
-# Contributor: Tomas Lindquist Olsen <tomas at famolsen.dk>
-# Contributor: Anders Bergh <anders at archlinuxppc.org>
-# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson at gmail.com>
-
-pkgname=llvm-amdgpu-snapshot
-pkgver=20130403
-pkgrel=1
-pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support'
-arch=('i686' 'x86_64')
-url="http://llvm.org"
-license=('custom:University of Illinois/NCSA Open Source License')
-depends=('libffi' 'python2' 'ocaml')
-conflicts=('llvm')
-source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz)
-md5sums=('4baa7b8da9eff4811952b6f855c141ca')
-
-build() {
-  cd "$srcdir"/llvm-c*
-
-  sed -i 's/python$/python2/' utils/llvm-build/llvm-build
-
-  # Apply strip option to configure
-  _optimized_switch="enable"
-  [[ $(check_option strip) == n ]] && _optimized_switch="disable"
-
-  # Include location of libffi headers in CPPFLAGS
-  export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)"
-
-  # Force the use of GCC instead of clang
-  PYTHON=python2 CC=gcc CXX=g++ \
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib/llvm \
-    --sysconfdir=/etc \
-    --enable-shared \
-    --enable-libffi \
-    --enable-targets=all \
-    --enable-experimental-targets=R600 \
-    --disable-expensive-checks \
-    --with-binutils-include=/usr/include \
-    --$_optimized_switch-optimized
-
-  make REQUIRES_RTTI=1
-}
-
-package() {
-  cd "$srcdir"/llvm-c*
-
-  make DESTDIR="$pkgdir" install
-
-  # Remove useless files
-  rm -r "$pkgdir"/usr/{docs,lib/ocaml}
-  # Fix permissions of static libs
-  chmod -x "$pkgdir"/usr/lib/lib*.a
-
-  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: llvm-amdgpu-snapshot/repos/community-x86_64/PKGBUILD (from rev 90881, llvm-amdgpu-snapshot/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-15 07:40:34 UTC (rev 90882)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: Tomas Lindquist Olsen <tomas at famolsen.dk>
+# Contributor: Anders Bergh <anders at archlinuxppc.org>
+# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson at gmail.com>
+
+pkgbase=llvm-amdgpu-snapshot
+pkgname=('llvm-amdgpu-snapshot' 'llvm-amdgpu-lib-snapshot')
+pkgver=20130403
+pkgrel=2
+pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support'
+arch=('i686' 'x86_64')
+url="http://llvm.org"
+license=('custom:University of Illinois/NCSA Open Source License')
+makedepends=('libffi' 'python2' 'ocaml')
+source=(ftp://ftp.archlinux.org/other/community/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz)
+md5sums=('4baa7b8da9eff4811952b6f855c141ca')
+
+prepare() {
+  cd "$srcdir"/llvm-c*
+
+  sed -i 's/python$/python2/' utils/llvm-build/llvm-build
+}
+
+build() {
+  cd "$srcdir"/llvm-c*
+
+  # Apply strip option to configure
+  _optimized_switch="enable"
+  [[ $(check_option strip) == n ]] && _optimized_switch="disable"
+
+  # Include location of libffi headers in CPPFLAGS
+  export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)"
+
+  # Force the use of GCC instead of clang
+  PYTHON=python2 CC=gcc CXX=g++ \
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib/llvm \
+    --sysconfdir=/etc \
+    --enable-shared \
+    --enable-libffi \
+    --enable-targets=all \
+    --enable-experimental-targets=R600 \
+    --disable-expensive-checks \
+    --with-binutils-include=/usr/include \
+    --$_optimized_switch-optimized
+
+  make REQUIRES_RTTI=1
+}
+
+package_llvm-amdgpu-snapshot() {
+  depends=("llvm-amdgpu-lib-snapshot=${pkgver}" 'python2')
+  conflicts=('llvm')
+
+  cd "$srcdir"/llvm-c*
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove useless files
+  rm -r "$pkgdir"/usr/{docs,lib/ocaml}
+  # moved to llvm-amdgpu-lib-snapshot
+  rm "$pkgdir"/usr/lib/libLLVM-3.2svn.so
+  # Fix permissions of static libs
+  chmod -x "$pkgdir"/usr/lib/lib*.a
+
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_llvm-amdgpu-lib-snapshot() {
+  depends=('libffi' 'gcc-libs')
+  
+  cd "$srcdir"/llvm-c*
+
+  make DESTDIR="$pkgdir" install
+
+  mv -v "$pkgdir"/usr/lib/libLLVM-3.2svn.so "$pkgdir"/
+  
+  # Remove useless files
+  rm -r "$pkgdir"/usr/{bin,include,docs,lib/*}
+  
+  mv "$pkgdir"/libLLVM-3.2svn.so "$pkgdir"/usr/lib/
+
+  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list