osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-parallel revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-parallel?expand=0&rev=5
This commit is contained in:
Peter Simons 2019-09-01 01:01:47 +00:00 committed by Git OBS Bridge
parent bfc4489b7d
commit 26edcfd3f2
2 changed files with 60 additions and 0 deletions

View File

@ -25,6 +25,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Haskell
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
@ -57,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

58
parallel.cabal Normal file
View File

@ -0,0 +1,58 @@
name: parallel
version: 3.2.2.0
x-revision: 1
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
bug-reports: https://github.com/haskell/parallel/issues
synopsis: Parallel programming library
category: Control, Parallelism
build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
description:
This package provides a library for parallel programming.
.
For documentation start from the "Control.Parallel.Strategies"
module below.
.
For more tutorial documentation, see the book <http://simonmar.github.io/pages/pcph.html Parallel and Concurrent Programming in Haskell>.
.
To understand the principles behind the library, see
<http://simonmar.github.io/bib/papers/strategies.pdf Seq no more: Better Strategies for Parallel Haskell>.
extra-source-files: changelog.md
source-repository head
type: git
location: https://github.com/haskell/parallel.git
library
default-language: Haskell2010
other-extensions:
BangPatterns
CPP
MagicHash
UnboxedTuples
exposed-modules:
Control.Seq
Control.Parallel
Control.Parallel.Strategies
build-depends:
array >= 0.3 && < 0.6,
base >= 4.3 && < 4.14,
containers >= 0.4 && < 0.7,
deepseq >= 1.1 && < 1.5
ghc-options: -Wall
if impl(ghc >= 6.11)
-- To improve parallel performance:
ghc-options: -feager-blackholing
if impl(ghc >= 7.2.1)
build-depends: ghc-prim