mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-10-26 17:32:57 +03:00
Enable dynamic linking in stack builds (#2031)
* Enable dynamic linking to try and avoid oom * bump cache keys
This commit is contained in:
parent
78381b8135
commit
45fdb25759
@ -18,9 +18,9 @@ defaults: &defaults
|
|||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- 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" }}-{{ checksum "all-cabal.txt" }}
|
||||||
- stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}
|
- v2-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 "resolver.txt" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Stack upgrade
|
name: Stack upgrade
|
||||||
@ -46,7 +46,7 @@ defaults: &defaults
|
|||||||
destination: bin
|
destination: bin
|
||||||
|
|
||||||
- save_cache:
|
- 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
|
paths: &cache_paths
|
||||||
- ~/.stack
|
- ~/.stack
|
||||||
- ~/build/.stack-work
|
- ~/build/.stack-work
|
||||||
@ -58,7 +58,7 @@ defaults: &defaults
|
|||||||
no_output_timeout: 120m
|
no_output_timeout: 120m
|
||||||
|
|
||||||
- save_cache:
|
- 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
|
paths: *cache_paths
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -69,6 +69,8 @@ extra-deps:
|
|||||||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -69,6 +69,8 @@ extra-deps:
|
|||||||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -71,6 +71,8 @@ extra-deps:
|
|||||||
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
|
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -73,6 +73,8 @@ extra-deps:
|
|||||||
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
|
# - hlint-3.3@sha256:4218ad6e03050f5d68aeba0e025f5f05e366c8fd49657f2a19df04ee31b2bb23,4154
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -118,6 +118,8 @@ flags:
|
|||||||
|
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -107,6 +107,8 @@ extra-deps:
|
|||||||
- resourcet-1.2.3
|
- resourcet-1.2.3
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -86,6 +86,8 @@ extra-deps:
|
|||||||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -83,6 +83,8 @@ extra-deps:
|
|||||||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -101,6 +101,8 @@ extra-deps:
|
|||||||
commit: 16e19aaf34e286f3d27b3988c61040823ec66537
|
commit: 16e19aaf34e286f3d27b3988c61040823ec66537
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
@ -62,6 +62,8 @@ extra-deps:
|
|||||||
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
||||||
|
|
||||||
configure-options:
|
configure-options:
|
||||||
|
$targets:
|
||||||
|
- --enable-executable-dynamic
|
||||||
ghcide:
|
ghcide:
|
||||||
- --disable-library-for-ghci
|
- --disable-library-for-ghci
|
||||||
haskell-language-server:
|
haskell-language-server:
|
||||||
|
Loading…
Reference in New Issue
Block a user