diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-02-19 11:40:40 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-03-01 17:07:28 -0500 |
commit | d298cb9cf722126316c9697c20a8e0048498efb9 (patch) | |
tree | c64965c894133c510e6f36aadbaf56fcc4a72b25 | |
parent | 161f102b023b3668c9cdc28ace2c1985049841c3 (diff) | |
download | haskell-d298cb9cf722126316c9697c20a8e0048498efb9.tar.gz |
gitlab-ci: Produce DWARF-enabled binary distribution
-rw-r--r-- | .gitlab-ci.yml | 17 | ||||
-rw-r--r-- | mk/flavours/dwarf.mk | 14 |
2 files changed, 30 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 149e32ae5f..c762c88058 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ variables: GIT_SSL_NO_VERIFY: "1" # Commit of ghc/ci-images repository from which to pull Docker images - DOCKER_REV: 2757db588256b0f96dd44d602f0857ae8f86a704 + DOCKER_REV: 6d19c3adc1f5c28c82aed8c5b1ac40931ac60f3f before_script: - python3 .gitlab/fix-submodules.py @@ -258,6 +258,21 @@ validate-x86_64-linux-deb9: cache: key: linux-x86_64-deb9 +release-x86_64-linux-deb9-dwarf: + extends: .validate-linux + stage: build + image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV" + allow_failure: true + variables: + CONFIGURE_ARGS: "--enable-dwarf-unwind" + BUILD_FLAVOUR: dwarf + TEST_ENV: "x86_64-linux-deb9" + artifacts: + when: always + expire_in: 2 week + cache: + key: linux-x86_64-deb9 + nightly-x86_64-linux-deb9: extends: validate-x86_64-linux-deb9 stage: build diff --git a/mk/flavours/dwarf.mk b/mk/flavours/dwarf.mk new file mode 100644 index 0000000000..15f16e2c37 --- /dev/null +++ b/mk/flavours/dwarf.mk @@ -0,0 +1,14 @@ +# Build flavour which produces a compiler, RTS, and core libraries with DWARF +# debug information. For best results run ./configure with +# --enable-dwarf-unwind. + +SRC_HC_OPTS = -O -H64m +GhcStage1HcOpts = -O2 +GhcStage2HcOpts = -O2 -g3 +GhcRtsHcOpts = -O2 -g3 +GhcLibHcOpts = -O2 -g3 +BUILD_PROF_LIBS = YES +#SplitObjs +#HADDOCK_DOCS +#BUILD_SPHINX_HTML +#BUILD_SPHINX_PDF |