Skip to content

Enable dynamic linking in stack builds #2031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ defaults: &defaults

- restore_cache:
keys:
- stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
- stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}
- stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
- v2-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
- v2-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}
- v2-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}

- run:
name: Stack upgrade
Expand All @@ -46,7 +46,7 @@ defaults: &defaults
destination: bin

- save_cache:
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
key: v2-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
paths: &cache_paths
- ~/.stack
- ~/build/.stack-work
Expand All @@ -58,7 +58,7 @@ defaults: &defaults
no_output_timeout: 120m

- save_cache:
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
key: v2-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
paths: *cache_paths

version: 2
Expand Down
2 changes: 2 additions & 0 deletions stack-8.10.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ extra-deps:
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.10.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ extra-deps:
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.10.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ extra-deps:
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.10.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ extra-deps:
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ flags:


configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.6.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ extra-deps:
- resourcet-1.2.3

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.8.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ extra-deps:
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-8.8.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ extra-deps:
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack-9.0.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ extra-deps:
commit: 16e19aaf34e286f3d27b3988c61040823ec66537

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down
2 changes: 2 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ extra-deps:
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082

configure-options:
$targets:
- --enable-executable-dynamic
ghcide:
- --disable-library-for-ghci
haskell-language-server:
Expand Down