Commit Graph

35 Commits

Author SHA1 Message Date
Julian Ospald bdd15ad6e7
Beef up --overwrite-version, fixes #998 2024-02-18 19:52:01 +08:00
Julian Ospald dd978ff2fd
Merge branch 'issue-967' 2024-01-20 17:48:51 +08:00
Julian Ospald b837a93176
Merge remote-tracking branch 'origin/pr/943' 2024-01-20 16:59:53 +08:00
Julian Ospald 16e20ed474
Set LD=ld.bfd on Alpine linux during bindist configure 2024-01-04 20:53:21 +08:00
Julian Ospald afd7e7dc4f
Re-introduce tar 2024-01-03 17:56:33 +08:00
Yuto Tanaka 9d7f99bd00 Fix many typos 2023-11-30 18:12:46 +09:00
Julian Ospald c6aa5c3ed7
Don't remove share dir link prematurely 2023-11-13 16:00:48 +08:00
Julian Ospald c7439d3c89
Improve stack metadata support wrt #892 2023-10-25 14:00:01 +08:00
Julian Ospald 5f73320b29
Support stacks installation strategy and metadata wrt #892 2023-10-23 22:46:43 +08:00
Lei Zhu bcb498de20 Merge branch 'master' into optparse-test-suite 2023-08-05 13:08:41 +08:00
Lei Zhu 6f07b6a343 compile test 2023-07-24 23:04:18 +08:00
Julian Ospald c149ee8d2b
Print better error on 'ghcup <command> <tool>-<version>'
Wrt #180
2023-07-22 12:21:19 +08:00
Julian Ospald 6623e4b1c8
Add GHC JS cross test 2023-07-19 08:12:10 +08:00
Julian Ospald 5170baf074
Fix cleaning up directories of compiled tools
'fromSrc' doesn't work well anyway.
2023-07-18 11:02:26 +08:00
Julian Ospald 09d72e7c97
Don't error on non-empty dirs during cleanup 2023-07-17 23:15:43 +08:00
Julian Ospald 621cc5782b
Consume 'VERSION' file if it exists 2023-07-16 21:22:37 +08:00
Julian Ospald 482503ca0a
Fix cross-compilation on make 2023-07-15 20:16:54 +08:00
Julian Ospald 2fb7328a6e
Detect hadrian/make automatically, wrt #846 2023-07-15 20:16:36 +08:00
Julian Ospald 0da5572164
Don't need --bignum option 2023-07-07 23:20:16 +08:00
Julian Ospald a43fa7d63e
More cross fixes to install bindist 2023-07-07 16:41:58 +08:00
Julian Ospald 4361ef7a72
Fix cross target being ignored 2023-07-07 00:39:31 +08:00
Sylvain Henry 3218aaa378
Allow cross-compilation with Hadrian 2023-07-07 00:38:50 +08:00
Julian Ospald 186a37cf3e
Fix cross bindist installation 2023-07-07 00:38:50 +08:00
Julian Ospald 1e32639873
Implement 'ghcup test ghc' based on the bindist testsuite 2023-01-12 12:58:10 +08:00
Julian Ospald 009f9211a9
Integrate with errors.haskell.org
Fixes #434
2023-01-03 23:43:46 +08:00
Julian Ospald 9d4c923649
Add content-length property to downloads
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08:00
Julian Ospald 6ad9963889
Allow building newer GHCs from git
The user will have to pass --overwrite-version=<ver> because
we can't discover the GHC version from git anymore.

https://gitlab.haskell.org/ghc/ghc/-/issues/22322
2022-12-20 23:18:44 +08:00
Julian Ospald 5f6b5f845d
Add --disable-ld-override for darwin bindists
Fixes #391
2022-07-25 17:57:10 +08:00
Julian Ospald 9fb2889696
Allow to build from arbitrary GHC source dists 2022-07-09 23:12:00 +02:00
Julian Ospald 13e01ab453
Fix hlint warnings 2022-07-07 15:05:51 +02:00
Julian Ospald 544c618473
Don't remove legacy dir if it doesn't exist 2022-07-07 14:03:49 +02:00
Julian Ospald a264cb088e
Improve 'ghcup compile hls'
1. short hashes now work
2. print the long hash in addition to the detected cabal version of HLS
3. add `--git-describe-version` switch as an alternative to
   `--overwrite-version`

Fix 1. and 2. for GHC as well.
2022-07-06 22:49:11 +02:00
Julian Ospald 4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
Julian Ospald 9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +02:00
Julian Ospald 2845425099
Restructure modules 2022-05-22 21:11:40 +02:00