Skip to content

Commit 07042d4

Browse files
jneirapepeiborra
andauthored
Use hackage version of czipwith (#2346)
* Use hackage version of czipwith * Update stack.yaml's * Remove source czipwith * Update index and clean cabal-ghc921.project * extra-1.7.9 has a breaking change so no way * Increase resources for circleci As for November 16, circleci has set a timeout of 1 hour for jobs in free plans Trying to increase resources to make the build faster as suggested by its support center * Use more threads reduce build times * Correct runs-on field Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
1 parent a03013c commit 07042d4

8 files changed

+12
-240
lines changed

.circleci/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ defaults: &defaults
22
working_directory: ~/build
33
docker:
44
- image: alanz/haskell-hie-ci
5+
resource_class: large
56
steps:
67
- checkout
78
- run:
@@ -47,23 +48,23 @@ defaults: &defaults
4748
name: Stack setup
4849
command: |
4950
if [[ -z "$SKIP_CI" ]]; then
50-
stack -j2 --stack-yaml=${STACK_FILE} setup
51+
stack -j4 --stack-yaml=${STACK_FILE} setup
5152
fi
5253
5354
- run:
5455
name: Build (we need the exe for tests)
5556
# need j1, else ghc-lib-parser triggers OOM
5657
command: |
5758
if [[ -z "$SKIP_CI" ]]; then
58-
stack -j1 --stack-yaml=${STACK_FILE} install --no-terminal
59+
stack -j4 --stack-yaml=${STACK_FILE} install --no-terminal
5960
fi
6061
no_output_timeout: 30m
6162

6263
- run:
6364
name: Build Testsuite without running it
6465
command: |
6566
if [[ -z "$SKIP_CI" ]]; then
66-
stack -j1 --stack-yaml=${STACK_FILE} build --test --no-run-tests --no-terminal
67+
stack -j4 --stack-yaml=${STACK_FILE} build --test --no-run-tests --no-terminal
6768
fi
6869
no_output_timeout: 30m
6970

.github/workflows/nix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# 2. Nix files are changed (runs on PR)
6969
build:
7070
needs: pre_job
71-
runs-on: matrix.os
71+
runs-on: ${{ matrix.os }}
7272
env:
7373
HAS_TOKEN: ${{ secrets.HLS_CACHIX_AUTH_TOKEN != '' }}
7474
if: (needs.pre_job.outputs.should_skip_build != 'true' && needs.pre_job.outputs.should_skip_pr != 'true') || (github.repository_owner == 'haskell' && github.ref == 'refs/heads/master')

cabal-ghc901.project

+1-7
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ package *
3333
ghc-options: -haddock
3434
test-show-details: direct
3535

36-
source-repository-package
37-
type: git
38-
location: https://github.com/mithrandi/czipwith.git
39-
tag: b6245884ae83e00dd2b5261762549b37390179f8
40-
-- https://github.com/lspitzner/czipwith/pull/2
41-
4236
source-repository-package
4337
type: git
4438
location: https://github.com/anka-213/th-extras
@@ -55,7 +49,7 @@ source-repository-package
5549

5650
write-ghc-environment-files: never
5751

58-
index-state: 2021-10-04T02:41:06Z
52+
index-state: 2021-11-11T19:25:51Z
5953

6054
constraints:
6155
-- These plugins don't work on GHC9 yet

cabal-ghc921.project

+3-208
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,17 @@ packages:
2424
./plugins/hls-ormolu-plugin
2525
./plugins/hls-call-hierarchy-plugin
2626

27+
with-compiler: ghc-9.2.1
28+
2729
tests: true
2830

2931
package *
3032
ghc-options: -haddock
3133
test-show-details: direct
3234

33-
source-repository-package
34-
type: git
35-
location: https://github.com/mithrandi/czipwith.git
36-
tag: b6245884ae83e00dd2b5261762549b37390179f8
37-
-- https://github.com/lspitzner/czipwith/pull/2
38-
39-
-- Head of hiedb
40-
source-repository-package
41-
type: git
42-
location: https://github.com/wz1000/HieDb
43-
tag: 45c4671db2da8ce5cd11e964573846cfbf3bbec8
44-
45-
-- GHC 9.2 for ghc-check
46-
source-repository-package
47-
type: git
48-
location: https://github.com/fendor/ghc-check
49-
tag: 224f3901eaa1b32a27e097968afd4a3894efa77e
50-
-- https://github.com/pepeiborra/ghc-check/pull/14/files
51-
5235
write-ghc-environment-files: never
5336

54-
index-state: 2021-09-29T21:38:47Z
37+
index-state: 2021-11-11T19:25:51Z
5538

5639
constraints:
5740
-- These plugins doesn't work on GHC92 yet
@@ -78,191 +61,3 @@ allow-newer:
7861
diagrams:diagrams-core,
7962
Chart-diagrams:diagrams-core,
8063
SVGFonts:diagrams-core
81-
82-
constraints:
83-
Agda ==2.6.1.3,
84-
Diff ==0.4.0,
85-
EdisonAPI ==1.3.1,
86-
EdisonCore ==1.3.2.1,
87-
FPretty ==1.1,
88-
HTTP ==4000.3.16,
89-
HUnit ==1.6.2.0,
90-
QuickCheck ==2.14.2,
91-
Spock-core ==0.14.0.0,
92-
aeson ==1.5.6.0,
93-
aivika ==5.9.1,
94-
aivika-transformers ==5.9.1,
95-
alex ==3.2.6,
96-
ansi-pretty ==0.1.2.2,
97-
arith-encode ==1.0.2,
98-
async ==2.2.3,
99-
async-pool ==0.9.1,
100-
attoparsec ==0.13.2.5 || ==0.14.1,
101-
barbies-th ==0.1.8,
102-
base-compat ==0.11.2,
103-
base-compat-batteries ==0.11.2,
104-
base16-bytestring ==1.0.1.0,
105-
basement ==0.0.12,
106-
bits ==0.5.3,
107-
blaze-builder ==0.4.2.1,
108-
blaze-textual ==0.2.1.0,
109-
boomerang ==1.4.7,
110-
bound ==2.0.3,
111-
box-tuples ==0.2.0.4,
112-
byteslice ==0.2.5.2,
113-
bytesmith ==0.3.7.0,
114-
bytestring-strict-builder ==0.4.5.4,
115-
cabal-doctest ==1.0.8,
116-
cantor-pairing ==0.2.0.1,
117-
cassava ==0.5.2.0,
118-
cborg ==0.2.5.0,
119-
cereal ==0.5.8.1,
120-
charset ==0.3.8,
121-
chaselev-deque ==0.5.0.5,
122-
classy-prelude ==1.5.0,
123-
combinat ==0.2.10.0,
124-
commonmark-extensions ==0.2.1.2,
125-
conduit ==1.3.4.1,
126-
constraints ==0.13,
127-
constraints-extras ==0.3.1.0,
128-
cql ==4.0.3,
129-
critbit ==0.2.0.0,
130-
cryptonite ==0.29,
131-
data-default-instances-new-base ==0.0.2,
132-
data-dword ==0.3.2,
133-
data-r-tree ==0.6.0,
134-
datetime ==0.3.1,
135-
deferred-folds ==0.9.17,
136-
dependent-sum-template ==0.1.0.3,
137-
deriving-compat ==0.5.10,
138-
diagrams-lib ==1.4.4,
139-
doctest ==0.18.1,
140-
dom-lt ==0.2.2.1,
141-
drinkery ==0.4,
142-
edit-distance ==0.2.2.1,
143-
emacs-module ==0.1.1,
144-
endo ==0.3.0.1,
145-
entropy ==0.4.1.6,
146-
enumeration ==0.2.0,
147-
extra ==1.7.9,
148-
fgl ==5.7.0.3,
149-
filepattern ==0.1.2,
150-
focus ==1.0.2,
151-
free-algebras ==0.1.0.1,
152-
free-functors ==1.2.1,
153-
generic-data ==0.9.2.0,
154-
generic-deriving ==1.14,
155-
generic-lens ==2.2.0.0,
156-
generic-lens-core ==2.2.0.0,
157-
generic-optics ==2.2.0.0,
158-
generics-sop ==0.5.1.1,
159-
geniplate-mirror ==0.7.8,
160-
ghc-events ==0.17.0,
161-
happy ==1.20.0,
162-
hashtables ==1.2.4.1,
163-
haskeline ==0.7.5.0,
164-
haskell-src-exts ==1.23.1,
165-
haskell-src-meta ==0.8.7,
166-
haxl ==2.3.0.0,
167-
heterocephalus ==1.0.5.4,
168-
hgeometry ==0.12.0.4,
169-
hgeometry-ipe ==0.12.0.0,
170-
hscolour ==1.24.4,
171-
hslogger ==1.3.1.0,
172-
hspec-core ==2.8.3,
173-
hspec-discover ==2.8.3,
174-
hspec-expectations ==0.8.2,
175-
hspec-meta ==2.7.8,
176-
hspec-wai ==0.11.1,
177-
http-types ==0.12.3,
178-
http2 ==3.0.2,
179-
hvect ==0.4.0.0,
180-
hxt ==9.3.1.22,
181-
inj-base ==0.2.0.0,
182-
inspection-testing ==0.4.6.0,
183-
invariant ==0.5.4,
184-
io-choice ==0.0.7,
185-
iproute ==1.7.11,
186-
language-c ==0.9.0.1,
187-
language-haskell-extract ==0.2.4,
188-
language-javascript ==0.7.1.0,
189-
lens ==5.0.1,
190-
lens-family-th ==0.5.2.0,
191-
list-t ==1.0.4,
192-
lockfree-queue ==0.2.3.1,
193-
memory ==0.16.0,
194-
microlens-ghc ==0.4.13,
195-
monad-validate ==1.2.0.0,
196-
monadplus ==1.4.2,
197-
mono-traversable ==1.0.15.1,
198-
mono-traversable-keys ==0.1.0,
199-
mustache ==2.3.1,
200-
network ==3.1.2.2,
201-
newtype-generics ==0.6,
202-
obdd ==0.8.2,
203-
optics-th ==0.4,
204-
packman ==0.5.0,
205-
pandoc ==2.14.2,
206-
parameterized-utils ==2.1.3.0,
207-
partial-isomorphisms ==0.2.2.1,
208-
pem ==0.2.4,
209-
persistent ==2.13.0.3 || ==2.13.1.1,
210-
plots ==0.1.1.2,
211-
pointed ==5.0.2,
212-
posix-api ==0.3.5.0,
213-
primitive-extras ==0.10.1.1,
214-
primitive-sort ==0.1.0.0,
215-
primitive-unlifted ==0.1.3.0,
216-
proto3-wire ==1.2.2,
217-
quickcheck-instances ==0.3.25.2,
218-
random ==1.2.0,
219-
relude ==1.0.0.1,
220-
row-types ==1.0.1.0,
221-
safe ==0.3.19,
222-
safecopy ==0.10.4.2,
223-
salak ==0.3.6,
224-
securemem ==0.1.10,
225-
semialign ==1.2,
226-
semigroupoids ==5.3.5,
227-
serialise ==0.2.3.0,
228-
servant ==0.18.3,
229-
shake ==0.19.5,
230-
shakespeare ==2.0.25,
231-
singletons ==3.0,
232-
singletons-base ==3.0,
233-
siphash ==1.0.3,
234-
snap-core ==1.0.4.2,
235-
streaming-commons ==0.2.2.1,
236-
streamly ==0.8.0,
237-
subcategories ==0.1.1.0,
238-
test-framework ==0.8.2.0,
239-
text-format ==0.3.2,
240-
text-short ==0.1.3,
241-
text-show ==3.9,
242-
th-desugar ==1.12,
243-
th-extras ==0.0.0.4,
244-
threads ==0.5.1.6,
245-
tls ==1.5.5,
246-
tpdb ==2.2.0,
247-
tree-diff ==0.2,
248-
true-name ==0.1.0.3,
249-
uniplate ==1.6.13,
250-
unordered-containers ==0.2.14.0,
251-
validity ==0.11.0.1,
252-
vector-builder ==0.3.8.2,
253-
vector-circular ==0.1.3,
254-
vector-th-unbox ==0.2.1.9,
255-
vinyl ==0.13.3,
256-
vty ==5.33,
257-
wai-app-static ==3.1.7.2,
258-
wai-extra ==3.1.6,
259-
wai-middleware-static ==0.9.0,
260-
warp ==3.3.17,
261-
winery ==1.3.2,
262-
witherable ==0.4.1,
263-
x509 ==1.7.5,
264-
x509-validation ==1.6.11,
265-
xlsx ==0.8.4,
266-
xml-hamlet ==0.5.0.1,
267-
yaml ==0.11.5.0,
268-
yesod-core ==1.6.21.0

cabal.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ package *
3838

3939
write-ghc-environment-files: never
4040

41-
index-state: 2021-10-04T02:41:06Z
41+
index-state: 2021-11-11T19:25:51Z
4242

4343
constraints:
4444
hyphenation +embed

configuration-ghc-901.nix

-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ let
2727
sha256 = "1nyhc9mrnxsl21ksnpp0ryki4wgk49r581yy504g2gjq6x3bkb59";
2828
}) { };
2929

30-
czipwith = hself.callCabal2nix "czipwith" (pkgs.fetchFromGitHub {
31-
owner = "mithrandi";
32-
repo = "czipwith";
33-
rev = "b6245884ae83e00dd2b5261762549b37390179f8";
34-
sha256 = "2uSoGyrxT/OstRcpx55kwP4JwjPbWLxD72LajeyQV0E=";
35-
}) { };
36-
3730
hie-bios = hself.callCabal2nix "hie-bios"
3831
(builtins.fetchTarball {
3932
url = "https://hackage.haskell.org/package/hie-bios-0.7.6/hie-bios-0.7.6.tar.gz";

stack-8.10.7.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-18.10
1+
resolver: lts-18.16
22

33
packages:
44
- .

stack-9.0.1.yaml

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: nightly-2021-09-16
1+
resolver: nightly-2021-11-06
22

33
packages:
44
- .
@@ -38,10 +38,7 @@ extra-deps:
3838
- dependent-sum-0.7.1.0@sha256:0e419237f5b86da3659772afff9cab355c0f8d5b3fdb15a5b30e673d8dc83941,2147
3939
- extra-1.7.9
4040
- floskell-0.10.5
41-
- fourmolu-0.4.0.0
42-
- ghc-source-gen-0.4.1.0
4341
- heapsize-0.3.0.1@sha256:0b69aa97a46d819b700ac7b145f3b5493c3565cf2c5b8298682238d405d0326e,1417
44-
- hie-bios-0.7.6
4542
- hiedb-0.4.1.0
4643
- hspec-2.7.10
4744
- hspec-core-2.7.10
@@ -57,10 +54,6 @@ extra-deps:
5754
- lsp-test-0.14.0.1
5855
- sqlite-simple-0.4.18.0
5956

60-
- github: mithrandi/czipwith
61-
commit: b6245884ae83e00dd2b5261762549b37390179f8
62-
# https://github.com/lspitzner/czipwith/pull/2
63-
6457
- github: anka-213/th-extras
6558
commit: 57a97b4df128eb7b360e8ab9c5759392de8d1659
6659
# https://github.com/mokus0/th-extras/pull/8
@@ -82,10 +75,6 @@ extra-deps:
8275
- prettyprinter-1.7.1@sha256:9c43c9d8c3cd9f445596e5a2379574bba87f935a4d1fa41b5407ee3cf4edc743,6987
8376
- operational-0.2.4.0
8477

85-
- github: diagrams/active
86-
commit: ca23431a8dfa013992f9164ccc882a3277361f17
87-
# https://github.com/diagrams/active/pull/36
88-
8978
# end of shake-bench dpendencies
9079

9180
# due to floskell-0.10.5 and diagrams-core-1.5.0

0 commit comments

Comments
 (0)