Skip to content

Commit

Permalink
Merge pull request #22 from msakai/update-stack-snapshots-202405
Browse files Browse the repository at this point in the history
Update stack snapshots (2024-05)
  • Loading branch information
msakai authored May 23, 2024
2 parents a3be3d6 + f2078a7 commit f142e91
Show file tree
Hide file tree
Showing 17 changed files with 240 additions and 29 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,33 @@ jobs:
os: ubuntu-latest
stack_yaml: 'stack-ghc-9.0.yaml'
flags: ''
- ghc: '9.2.7'
- ghc: '9.2.8'
os: ubuntu-latest
stack_yaml: 'stack-ghc-9.2.yaml'
flags: ''
- ghc: '9.4.5'
os: ubuntu-latest
stack_yaml: 'stack-ghc-9.4.yaml'
flags: ''
- ghc: '9.6.5'
os: ubuntu-latest
stack_yaml: 'stack-ghc-9.6.yaml'
flags: ''

- ghc: '9.4.5'
- ghc: '9.6.5'
os: macos-latest
stack_yaml: 'stack-ghc-9.4.yaml'
flags: ''

- ghc: '9.4.5'
- ghc: '9.6.5'
os: windows-latest
stack_yaml: 'stack-ghc-9.4.yaml'
flags: ''

- ghc: '9.8.2'
os: ubuntu-latest
stack_yaml: 'stack-ghc-9.8.yaml'
flags: ''
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion nonlinear-optimization-ad/nonlinear-optimization-ad.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extra-source-files:
CHANGELOG.markdown
samples/galton.csv

tested-with: GHC == 9.4.5, GHC == 9.2.7, GHC == 9.0.2,
tested-with: GHC == 9.8.2, GHC == 9.6.5, GHC == 9.4.5, GHC == 9.2.8, GHC == 9.0.2,
GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5

source-repository head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extra-source-files:
CHANGELOG.markdown
samples/galton.csv

tested-with: GHC == 9.4.5, GHC == 9.2.7, GHC == 9.0.2,
tested-with: GHC == 9.8.2, GHC == 9.6.5, GHC == 9.4.5, GHC == 9.2.8, GHC == 9.0.2,
GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5

source-repository head
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

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

Expand All @@ -18,8 +18,10 @@ license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.5
, GHC == 9.2.7
GHC == 9.8.2
, GHC == 9.6.5
, GHC == 9.4.5
, GHC == 9.2.8
, GHC == 9.0.2
, GHC == 8.10.7
, GHC == 8.8.4
Expand Down
4 changes: 3 additions & 1 deletion numeric-optimization-ad-delcont/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ category: Math, Algorithms, Optimisation, Optimization, Numeric, Nume
description: Please see the README on GitHub at <https://github.com/msakai/nonlinear-optimization-ad/tree/master/numeric-optimization-ad-delcont#readme>

tested-with:
- GHC == 9.8.2
- GHC == 9.6.5
- GHC == 9.4.5
- GHC == 9.2.7
- GHC == 9.2.8
- GHC == 9.0.2
- GHC == 8.10.7
- GHC == 8.8.4
Expand Down
8 changes: 5 additions & 3 deletions numeric-optimization-ad/numeric-optimization-ad.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

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

Expand All @@ -18,8 +18,10 @@ license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.5
, GHC == 9.2.7
GHC == 9.8.2
, GHC == 9.6.5
, GHC == 9.4.5
, GHC == 9.2.8
, GHC == 9.0.2
, GHC == 8.10.7
, GHC == 8.8.4
Expand Down
6 changes: 4 additions & 2 deletions numeric-optimization-ad/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ category: Math, Algorithms, Optimisation, Optimization, Numeric, Nume
description: Please see the README on GitHub at <https://github.com/msakai/nonlinear-optimization-ad/tree/master/numeric-optimization-ad#readme>

tested-with:
- GHC == 9.8.2
- GHC == 9.6.5
- GHC == 9.4.5
- GHC == 9.2.7
- GHC == 9.2.8
- GHC == 9.0.2
- GHC == 8.10.7
- GHC == 8.8.4
Expand Down Expand Up @@ -84,7 +86,7 @@ tests:
- -rtsopts
- -with-rtsopts=-N
dependencies:
- containers >=0.6.0.1 && <0.7
- containers >=0.6.0.1 && <0.8
- hspec >=2.7.1 && <3.0
- HUnit >=1.6.0.0 && <1.7
- numeric-optimization-ad
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

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

Expand All @@ -18,8 +18,10 @@ license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.5
, GHC == 9.2.7
GHC == 9.8.2
, GHC == 9.6.5
, GHC == 9.4.5
, GHC == 9.2.8
, GHC == 9.0.2
, GHC == 8.10.7
, GHC == 8.8.4
Expand Down
6 changes: 4 additions & 2 deletions numeric-optimization-backprop/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ category: Math, Algorithms, Optimisation, Optimization, Numeric, Nume
description: Please see the README on GitHub at <https://github.com/msakai/nonlinear-optimization-ad/tree/master/numeric-optimization-backprop#readme>

tested-with:
- GHC == 9.8.2
- GHC == 9.6.5
- GHC == 9.4.5
- GHC == 9.2.7
- GHC == 9.2.8
- GHC == 9.0.2
- GHC == 8.10.7
- GHC == 8.8.4
Expand All @@ -35,7 +37,7 @@ flags:

dependencies:
- base >=4.12 && <5
- containers >=0.6.0.1 && <0.7
- containers >=0.6.0.1 && <0.8
- data-default-class >=0.1.2.0 && <0.2
- numeric-optimization >=0.2.0.0 && <0.3.0.0

Expand Down
8 changes: 5 additions & 3 deletions numeric-optimization/numeric-optimization.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

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

Expand All @@ -18,8 +18,10 @@ license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.5
, GHC == 9.2.7
GHC == 9.8.2
, GHC == 9.6.5
, GHC == 9.4.5
, GHC == 9.2.8
, GHC == 9.0.2
, GHC == 8.10.7
, GHC == 8.8.4
Expand Down
8 changes: 5 additions & 3 deletions numeric-optimization/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ category: Math, Algorithms, Optimisation, Optimization, Numeric, Nume
description: Please see the README on GitHub at <https://github.com/msakai/nonlinear-optimization-ad/tree/master/numeric-optimization#readme>

tested-with:
- GHC == 9.8.2
- GHC == 9.6.5
- GHC == 9.4.5
- GHC == 9.2.7
- GHC == 9.2.8
- GHC == 9.0.2
- GHC == 8.10.7
- GHC == 8.8.4
Expand Down Expand Up @@ -68,7 +70,7 @@ library:
source-dirs: src
dependencies:
- constraints
- containers >=0.6.0.1 && <0.7
- containers >=0.6.0.1 && <0.8
- hmatrix >=0.20.0.0
- numeric-limits >=0.1 && <0.2
- mono-traversable >=1.0.15.1 && <1.1
Expand Down Expand Up @@ -126,7 +128,7 @@ tests:
- -rtsopts
- -with-rtsopts=-N
dependencies:
- containers >=0.6.0.1 && <0.7
- containers >=0.6.0.1 && <0.8
- hmatrix
- hspec >=2.7.1 && <3.0
- HUnit >=1.6.0.0 && <1.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module Numeric.Optimization.Utils.ToVector
, updateFromVectorMonoTraversable
) where

import Control.Monad
import Control.Monad.Primitive
import Control.Monad.State
import qualified Data.MonoTraversable as MT
Expand Down
2 changes: 1 addition & 1 deletion stack-ghc-9.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: lts-20.20
resolver: lts-20.26

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
2 changes: 1 addition & 1 deletion stack-ghc-9.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: nightly-2023-05-08
resolver: lts-21.25

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
91 changes: 91 additions & 0 deletions stack-ghc-9.6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/

# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
# resolver: nightly-2015-09-21
# resolver: ghc-7.10.2
# resolver: ghcjs-0.1.0_ghc-7.10.2
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: lts-22.22

# User packages to be built.
# Various formats can be used as shown in the example below.
#
# packages:
# - some-directory
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
# - location:
# git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# extra-dep: true
# subdirs:
# - auto-update
# - wai
#
# A package marked 'extra-dep: true' will only be built if demanded by a
# non-dependency (i.e. a user package), and its test suites and benchmarks
# will not be run. This is useful for tweaking upstream packages.
packages:
- nonlinear-optimization-ad
- nonlinear-optimization-backprop
- numeric-optimization
- numeric-optimization-ad
- numeric-optimization-ad-delcont
- numeric-optimization-backprop

# Dependency packages to be pulled from upstream that are not in the resolver
# (e.g., acme-missiles-0.3)
# extra-deps: []
extra-deps:
- git: https://github.com/msakai/nonlinear-optimization.git
commit: 3d1bc729df511ed7c6635a23fb191aef313e4583
- backprop-0.2.6.5
- git: https://github.com/wavewave/lbfgs-hs.git
commit: 700f5a2295ff8a7f2ffb1ef3e9407e2468f683b7
- l-bfgs-b-0.1.0.1
- ad-delcont-0.5.0.0

# Override default flag values for local packages and extra-deps
# flags: {}
flags:
numeric-optimization:
with-cg-descent: true
with-lbfgsb: true
build-examples: true
numeric-optimization-ad:
build-examples: true
numeric-optimization-ad-delcont:
build-examples: true
numeric-optimization-backprop:
build-examples: true

# Extra package databases containing global packages
# extra-package-dbs: []

# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: ">=1.6"
#
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
#
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
Loading

0 comments on commit f142e91

Please sign in to comment.