-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: d926568e0952a1cecfa1efa7cf687ddc7cd27d1c642a929d85ca5b0e8465b408

name:           futhark
version:        0.9.1
synopsis:       An optimising compiler for a functional, array-oriented language.
description:    See the website at https://futhark-lang.org
category:       Language
homepage:       https://futhark-lang.org
bug-reports:    https://github.com/diku-dk/futhark/issues
maintainer:     Troels Henriksen athas@sigkill.dk
license:        ISC
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    futlib/array.fut
    futlib/functional.fut
    futlib/math.fut
    futlib/prelude.fut
    futlib/soacs.fut
    futlib/zip.fut
    rts/c/cuda.h
    rts/c/free_list.h
    rts/c/lock.h
    rts/c/opencl.h
    rts/c/panic.h
    rts/c/timing.h
    rts/c/values.h
    rts/csharp/exceptions.cs
    rts/csharp/functions.cs
    rts/csharp/memory.cs
    rts/csharp/memory_opencl.cs
    rts/csharp/opencl.cs
    rts/csharp/panic.cs
    rts/csharp/reader.cs
    rts/csharp/scalar.cs
    rts/futhark-doc/style.css
    rts/python/memory.py
    rts/python/opencl.py
    rts/python/panic.py
    rts/python/scalar.py
    rts/python/values.py

source-repository head
  type: git
  location: https://github.com/diku-dk/futhark

library
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  build-tools:
      alex
    , happy
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  exposed-modules:
      Futhark.Actions
      Futhark.Analysis.AlgSimplify
      Futhark.Analysis.Alias
      Futhark.Analysis.CallGraph
      Futhark.Analysis.DataDependencies
      Futhark.Analysis.HORepresentation.MapNest
      Futhark.Analysis.HORepresentation.SOAC
      Futhark.Analysis.Metrics
      Futhark.Analysis.PrimExp
      Futhark.Analysis.PrimExp.Convert
      Futhark.Analysis.PrimExp.Simplify
      Futhark.Analysis.Range
      Futhark.Analysis.Rephrase
      Futhark.Analysis.ScalExp
      Futhark.Analysis.SymbolTable
      Futhark.Analysis.Usage
      Futhark.Analysis.UsageTable
      Futhark.Binder
      Futhark.Binder.Class
      Futhark.CLI.Bench
      Futhark.CLI.C
      Futhark.CLI.CSharp
      Futhark.CLI.CSOpenCL
      Futhark.CLI.CUDA
      Futhark.CLI.Datacmp
      Futhark.CLI.Dataset
      Futhark.CLI.Dev
      Futhark.CLI.Doc
      Futhark.CLI.Misc
      Futhark.CLI.OpenCL
      Futhark.CLI.Pkg
      Futhark.CLI.PyOpenCL
      Futhark.CLI.Python
      Futhark.CLI.REPL
      Futhark.CLI.Run
      Futhark.CLI.Test
      Futhark.CodeGen.Backends.CCUDA
      Futhark.CodeGen.Backends.CCUDA.Boilerplate
      Futhark.CodeGen.Backends.COpenCL
      Futhark.CodeGen.Backends.COpenCL.Boilerplate
      Futhark.CodeGen.Backends.CSOpenCL
      Futhark.CodeGen.Backends.CSOpenCL.Boilerplate
      Futhark.CodeGen.Backends.GenericC
      Futhark.CodeGen.Backends.GenericC.Options
      Futhark.CodeGen.Backends.GenericCSharp
      Futhark.CodeGen.Backends.GenericCSharp.AST
      Futhark.CodeGen.Backends.GenericCSharp.Definitions
      Futhark.CodeGen.Backends.GenericCSharp.Options
      Futhark.CodeGen.Backends.GenericPython
      Futhark.CodeGen.Backends.GenericPython.AST
      Futhark.CodeGen.Backends.GenericPython.Definitions
      Futhark.CodeGen.Backends.GenericPython.Options
      Futhark.CodeGen.Backends.PyOpenCL
      Futhark.CodeGen.Backends.PyOpenCL.Boilerplate
      Futhark.CodeGen.Backends.SequentialC
      Futhark.CodeGen.Backends.SequentialCSharp
      Futhark.CodeGen.Backends.SequentialPython
      Futhark.CodeGen.Backends.SimpleRepresentation
      Futhark.CodeGen.ImpCode
      Futhark.CodeGen.ImpCode.Kernels
      Futhark.CodeGen.ImpCode.OpenCL
      Futhark.CodeGen.ImpCode.Sequential
      Futhark.CodeGen.ImpGen
      Futhark.CodeGen.ImpGen.CUDA
      Futhark.CodeGen.ImpGen.Kernels
      Futhark.CodeGen.ImpGen.Kernels.Base
      Futhark.CodeGen.ImpGen.Kernels.SegRed
      Futhark.CodeGen.ImpGen.Kernels.ToOpenCL
      Futhark.CodeGen.ImpGen.Kernels.Transpose
      Futhark.CodeGen.ImpGen.OpenCL
      Futhark.CodeGen.ImpGen.Sequential
      Futhark.CodeGen.OpenCL.Kernels
      Futhark.CodeGen.SetDefaultSpace
      Futhark.Compiler
      Futhark.Compiler.CLI
      Futhark.Compiler.Program
      Futhark.Construct
      Futhark.Doc.Generator
      Futhark.Doc.Html
      Futhark.Error
      Futhark.FreshNames
      Futhark.Internalise
      Futhark.Internalise.AccurateSizes
      Futhark.Internalise.Bindings
      Futhark.Internalise.Defunctionalise
      Futhark.Internalise.Defunctorise
      Futhark.Internalise.Lambdas
      Futhark.Internalise.Monad
      Futhark.Internalise.Monomorphise
      Futhark.Internalise.TypesValues
      Futhark.MonadFreshNames
      Futhark.Optimise.CSE
      Futhark.Optimise.DoubleBuffer
      Futhark.Optimise.Fusion
      Futhark.Optimise.Fusion.Composing
      Futhark.Optimise.Fusion.LoopKernel
      Futhark.Optimise.Fusion.TryFusion
      Futhark.Optimise.InliningDeadFun
      Futhark.Optimise.InPlaceLowering
      Futhark.Optimise.InPlaceLowering.LowerIntoStm
      Futhark.Optimise.InPlaceLowering.SubstituteIndices
      Futhark.Optimise.MemoryBlockMerging
      Futhark.Optimise.MemoryBlockMerging.ActualVariables
      Futhark.Optimise.MemoryBlockMerging.AllExpVars
      Futhark.Optimise.MemoryBlockMerging.AuxiliaryInfo
      Futhark.Optimise.MemoryBlockMerging.Coalescing
      Futhark.Optimise.MemoryBlockMerging.Coalescing.AllocationMovingUp
      Futhark.Optimise.MemoryBlockMerging.Coalescing.Core
      Futhark.Optimise.MemoryBlockMerging.Coalescing.Exps
      Futhark.Optimise.MemoryBlockMerging.Coalescing.SafetyCondition2
      Futhark.Optimise.MemoryBlockMerging.Coalescing.SafetyCondition3
      Futhark.Optimise.MemoryBlockMerging.Coalescing.SafetyCondition5
      Futhark.Optimise.MemoryBlockMerging.CrudeMovingUp
      Futhark.Optimise.MemoryBlockMerging.Existentials
      Futhark.Optimise.MemoryBlockMerging.Liveness.FirstUse
      Futhark.Optimise.MemoryBlockMerging.Liveness.Interference
      Futhark.Optimise.MemoryBlockMerging.Liveness.LastUse
      Futhark.Optimise.MemoryBlockMerging.MemoryAliases
      Futhark.Optimise.MemoryBlockMerging.MemoryUpdater
      Futhark.Optimise.MemoryBlockMerging.Miscellaneous
      Futhark.Optimise.MemoryBlockMerging.PrimExps
      Futhark.Optimise.MemoryBlockMerging.Reuse
      Futhark.Optimise.MemoryBlockMerging.Reuse.AllocationSizeMovingUp
      Futhark.Optimise.MemoryBlockMerging.Reuse.AllocationSizes
      Futhark.Optimise.MemoryBlockMerging.Reuse.AllocationSizeUses
      Futhark.Optimise.MemoryBlockMerging.Reuse.Core
      Futhark.Optimise.MemoryBlockMerging.Types
      Futhark.Optimise.MemoryBlockMerging.VariableAliases
      Futhark.Optimise.MemoryBlockMerging.VariableMemory
      Futhark.Optimise.Simplify
      Futhark.Optimise.Simplify.ClosedForm
      Futhark.Optimise.Simplify.Engine
      Futhark.Optimise.Simplify.Lore
      Futhark.Optimise.Simplify.Rule
      Futhark.Optimise.Simplify.Rules
      Futhark.Optimise.TileLoops
      Futhark.Optimise.TileLoops.RegTiling3D
      Futhark.Optimise.Unstream
      Futhark.Pass
      Futhark.Pass.ExpandAllocations
      Futhark.Pass.ExplicitAllocations
      Futhark.Pass.ExtractKernels
      Futhark.Pass.ExtractKernels.BlockedKernel
      Futhark.Pass.ExtractKernels.Distribution
      Futhark.Pass.ExtractKernels.Interchange
      Futhark.Pass.ExtractKernels.Intragroup
      Futhark.Pass.ExtractKernels.ISRWIM
      Futhark.Pass.ExtractKernels.Kernelise
      Futhark.Pass.ExtractKernels.Segmented
      Futhark.Pass.ExtractKernels.Split
      Futhark.Pass.FirstOrderTransform
      Futhark.Pass.KernelBabysitting
      Futhark.Pass.ResolveAssertions
      Futhark.Pass.Simplify
      Futhark.Passes
      Futhark.Pipeline
      Futhark.Pkg.Info
      Futhark.Pkg.Solve
      Futhark.Pkg.Types
      Futhark.Representation.Aliases
      Futhark.Representation.AST
      Futhark.Representation.AST.Annotations
      Futhark.Representation.AST.Attributes
      Futhark.Representation.AST.Attributes.Aliases
      Futhark.Representation.AST.Attributes.Constants
      Futhark.Representation.AST.Attributes.Names
      Futhark.Representation.AST.Attributes.Patterns
      Futhark.Representation.AST.Attributes.Ranges
      Futhark.Representation.AST.Attributes.Rearrange
      Futhark.Representation.AST.Attributes.Reshape
      Futhark.Representation.AST.Attributes.Scope
      Futhark.Representation.AST.Attributes.TypeOf
      Futhark.Representation.AST.Attributes.Types
      Futhark.Representation.AST.Pretty
      Futhark.Representation.AST.RetType
      Futhark.Representation.AST.Syntax
      Futhark.Representation.AST.Syntax.Core
      Futhark.Representation.AST.Traversals
      Futhark.Representation.ExplicitMemory
      Futhark.Representation.ExplicitMemory.IndexFunction
      Futhark.Representation.ExplicitMemory.Lmad
      Futhark.Representation.ExplicitMemory.Simplify
      Futhark.Representation.Kernels
      Futhark.Representation.Kernels.Kernel
      Futhark.Representation.Kernels.KernelExp
      Futhark.Representation.Kernels.Simplify
      Futhark.Representation.Kernels.Sizes
      Futhark.Representation.Primitive
      Futhark.Representation.Ranges
      Futhark.Representation.SOACS
      Futhark.Representation.SOACS.Simplify
      Futhark.Representation.SOACS.SOAC
      Futhark.Test
      Futhark.Test.Values
      Futhark.Tools
      Futhark.Transform.CopyPropagate
      Futhark.Transform.FirstOrderTransform
      Futhark.Transform.Rename
      Futhark.Transform.Substitute
      Futhark.TypeCheck
      Futhark.Util
      Futhark.Util.IntegralExp
      Futhark.Util.Log
      Futhark.Util.Options
      Futhark.Util.Pretty
      Futhark.Util.Table
      Futhark.Version
      Language.Futhark
      Language.Futhark.Attributes
      Language.Futhark.Core
      Language.Futhark.Futlib
      Language.Futhark.Interpreter
      Language.Futhark.Parser
      Language.Futhark.Pretty
      Language.Futhark.Semantic
      Language.Futhark.Syntax
      Language.Futhark.Traversals
      Language.Futhark.TypeChecker
      Language.Futhark.TypeChecker.Monad
      Language.Futhark.TypeChecker.Terms
      Language.Futhark.TypeChecker.Types
      Language.Futhark.TypeChecker.Unify
      Language.Futhark.Warnings
  other-modules:
      Language.Futhark.Parser.Parser
      Language.Futhark.Parser.Lexer
      Paths_futhark
  default-language: Haskell2010

executable futhark
  main-is: src/futhark.hs
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists -threaded -rtsopts "-with-rtsopts=-N -qg"
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , futhark
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  other-modules:
      Paths_futhark
  default-language: Haskell2010

executable futhark-bench
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-c
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-cs
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-csopencl
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-dataset
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-doc
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-opencl
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-pkg
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-py
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-pyopencl
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futhark-test
  main-is: src/wrapper.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

executable futharki
  main-is: src/futharki.hs
  other-modules:
      Paths_futhark
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  default-language: Haskell2010

test-suite unit
  type: exitcode-stdio-1.0
  main-is: futhark_tests.hs
  hs-source-dirs:
      unittests
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wincomplete-record-updates -Wmissing-export-lists
  build-depends:
      HUnit
    , QuickCheck >=2.8
    , aeson
    , ansi-terminal >=0.6.3.1
    , array >=0.4
    , base >=4 && <5
    , bifunctors >=5.4.2
    , binary >=0.8.3
    , blaze-html >=0.9.0.1
    , bytestring >=0.10.8
    , containers >=0.5
    , data-binary-ieee754 >=0.1
    , directory >=1.3.0.0
    , directory-tree >=0.12.1
    , dlist >=0.6.0.1
    , extra >=1.5.3
    , file-embed >=0.0.9
    , filepath >=1.4.1.1
    , free >=4.12.4
    , futhark
    , gitrev >=1.2.0
    , haskeline
    , http-client >=0.5.7.0
    , http-client-tls >=0.3.5.1
    , http-conduit >=2.2.4
    , language-c-quote >=0.12
    , mainland-pretty >=0.6.1
    , markdown >=0.1.16
    , megaparsec >=7.0.1
    , mtl >=2.2.1
    , neat-interpolation >=0.3
    , parallel >=3.2.1.0
    , parser-combinators >=1.0.0
    , process >=1.4.3.0
    , process-extras >=0.7.2
    , random
    , raw-strings-qq >=1.1
    , regex-tdfa >=1.2
    , srcloc >=0.4
    , tasty
    , tasty-hunit
    , tasty-quickcheck
    , template-haskell >=2.11.1
    , temporary
    , text >=1.2.2.2
    , th-lift-instances >=0.1.11
    , time >=1.6.0.1
    , transformers >=0.3
    , vector >=0.12
    , vector-binary-instances >=0.2.2.0
    , versions >=3.3.1
    , zip-archive >=0.3.1.1
    , zlib >=0.6.1.2
  if !impl(ghc >= 8.0)
    build-depends:
        semigroups ==0.18.*
  other-modules:
      Futhark.Analysis.ScalExpTests
      Futhark.Optimise.AlgSimplifyTests
      Futhark.Pkg.SolveTests
      Futhark.Representation.AST.Attributes.RearrangeTests
      Futhark.Representation.AST.Attributes.ReshapeTests
      Futhark.Representation.AST.AttributesTests
      Futhark.Representation.AST.Syntax.CoreTests
      Futhark.Representation.AST.SyntaxTests
      Futhark.Representation.PrimitiveTests
      Language.Futhark.CoreTests
      Language.Futhark.SyntaxTests
      Paths_futhark
  default-language: Haskell2010