Skip to content
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

Binary module interface #4545

Closed
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
8bcb154
refact(build): introduce binary and avoid dumping plain text hi files
haitlahcen Jan 26, 2019
7fd5371
add(build): binary deserialization of module interface
haitlahcen Jan 26, 2019
b27698c
refact(build): read binary interface instead of dumped plain text
haitlahcen Jan 26, 2019
50bda19
Merge branch 'binary-module-interface' of https://github.com/haitlahc…
snoyberg Apr 9, 2019
48f39b9
Avoid lazy I/O
snoyberg Apr 9, 2019
4f22736
Don't set redundant setting
snoyberg Apr 9, 2019
60cc29b
Remove FastString
snoyberg Apr 9, 2019
2169b50
Lock the dist directory (fixes #2730)
snoyberg Apr 15, 2019
56ad462
Fix lock files logic description
qrilka Apr 16, 2019
a3da7fb
Merge branch 'master' of https://github.com/commercialhaskell/stack i…
haitlahcen Apr 16, 2019
8683288
announce takes a Utf8Builder
snoyberg Apr 16, 2019
1f14982
withLockedDir that blocks
snoyberg Apr 16, 2019
a21ce56
Implement stack.yaml lock files
qrilka Apr 16, 2019
d33805c
Changelog entry
qrilka Apr 16, 2019
e82067e
Add configure-options settings (fixes #1438)
snoyberg Apr 16, 2019
1dd99da
refactor interface module
haitlahcen Apr 16, 2019
a0fac30
export module to allow tests
haitlahcen Apr 16, 2019
e9ec927
Recommend Stack upgrade when appropriate (fixes #1681)
snoyberg Apr 14, 2019
6e4a05a
Opt-in on requiring the Hackage index be present
snoyberg Apr 14, 2019
e5d9245
Compare minor versions only
snoyberg Apr 16, 2019
b85d072
Delete old UpgradeCheck records
snoyberg Apr 17, 2019
1e11aa0
introduce binary interface tests
haitlahcen Apr 16, 2019
7b7e233
fix architecture detection
haitlahcen Apr 17, 2019
4ea786c
fix: architecture independent deserialization
haitlahcen Apr 17, 2019
bea689e
fix: better tests
haitlahcen Apr 17, 2019
d5ff555
include x32 tests
haitlahcen Apr 17, 2019
b58d66f
Ensure cache occurs even with interrupts
snoyberg Apr 18, 2019
913ec19
Take a lock on the Pantry database for all actions (fixes #4471)
snoyberg Apr 18, 2019
f2857b9
Merge pull request #4756 from commercialhaskell/cache-after-interrupt
snoyberg Apr 18, 2019
fa9b0e3
Merge pull request #4757 from commercialhaskell/4471-lock-all-actions
snoyberg Apr 18, 2019
5a03401
Merge pull request #4750 from commercialhaskell/1438-configure-options
snoyberg Apr 18, 2019
4b061a3
Switch to a LastPerformed table
snoyberg Apr 22, 2019
182daad
Read snapshot locations without content, optimize exact locs
qrilka Apr 22, 2019
79ce99e
Optional snapshot publication timestamp
snoyberg Apr 22, 2019
d2b3930
Merge pull request #4729 from commercialhaskell/1681-check-recent-ver…
snoyberg Apr 22, 2019
a6fe11f
Merge pull request #4761 from commercialhaskell/snapshot-publish-time
snoyberg Apr 22, 2019
b0c9c75
Avoid deadlock in file locking
snoyberg Apr 22, 2019
58d1088
package.yaml: bump stack version to 2.0.0
borsboom Apr 22, 2019
a5c9b1b
Additions necessary for integration of pantry into stackage-server:
lehins Jan 11, 2019
24381d9
Add `Pantry.Internal.Stackage` that exports all of the stuff needed f…
lehins Apr 22, 2019
de9cf4a
Adjust `getHackageTarball` to not rely on callback style and introduc…
lehins Apr 23, 2019
0d920ae
Make rdbms aware queries more type safe with clearer documentation
lehins Apr 23, 2019
4767c4e
Rename binding to packageEntry
lehins Apr 23, 2019
76af901
Merge pull request #4764 from commercialhaskell/mvar-in-file-locking
snoyberg Apr 23, 2019
6e1d9eb
Merge pull request #4765 from commercialhaskell/v2.0.0
snoyberg Apr 23, 2019
a3f71ab
Simplify locks: use them only as completion cache
qrilka Apr 23, 2019
40bf6f0
Merge branch 'master' into lock-files-2
qrilka Apr 23, 2019
bbc3541
Revert back `withStorage_` signature restricted to `RIO`
lehins Apr 23, 2019
89002d3
Minor pantry cleanups
snoyberg Apr 23, 2019
a6f4abf
Switch to RIO from MonadIO for all queries
lehins Apr 23, 2019
aafe48b
Removed redundant constraints
lehins Apr 23, 2019
28912a1
Merge pull request #4766 from commercialhaskell/minor-pantry-cleanups
snoyberg Apr 23, 2019
3aeacec
Switch from missiles to dont to avoid stm test failure
snoyberg Apr 23, 2019
40e905d
Nicer DB locked messages
snoyberg Apr 24, 2019
1e86f2a
Extract github repos into explicit constants
qrilka Apr 24, 2019
d57c1d6
Merge pull request #4773 from commercialhaskell/repos-in-constants
qrilka Apr 24, 2019
0683dc3
Delete old constraints file befor downloading from Github
qrilka Apr 24, 2019
7e16144
Merge pull request #4774 from commercialhaskell/proper-constraints-reuse
qrilka Apr 24, 2019
76139e4
onDoneTalking (thanks to @lehins)
snoyberg Apr 24, 2019
8a57805
Work around for ghc bug: https://gitlab.haskell.org/ghc/ghc/issues/16077
lehins Apr 24, 2019
2cb309f
Merge pull request #4771 from commercialhaskell/nice-lock-message
snoyberg Apr 25, 2019
dfbf85a
Merge pull request #4723 from lehins/changes-for-stackage-server
snoyberg Apr 25, 2019
d5a78e5
Switch to interruptible branch of filelock
snoyberg Apr 28, 2019
aa85308
Merge branch 'master' into lock-files-2
qrilka Apr 29, 2019
90dc3c5
Fix freeze test (publish-date field was added to snapshots)
qrilka Apr 29, 2019
c7d384f
Fix freeze test (publish-date field was added to snapshots)
qrilka Apr 29, 2019
4f28d66
Don't symlink stack.yaml so lock files won't pollute src dir
qrilka Apr 29, 2019
9b5a2d3
Add not only package but also snapshot location cache in lock files
qrilka Apr 29, 2019
f20c467
Update docs to new lock files design
qrilka Apr 29, 2019
47cf7da
Lock files test
qrilka Apr 29, 2019
92512df
No null compiler in output
qrilka Apr 29, 2019
78a113a
Merge pull request #4782 from commercialhaskell/fix-freeze-test
qrilka Apr 29, 2019
b5da6a8
Merge pull request #4784 from commercialhaskell/no-null-compiler
qrilka Apr 29, 2019
26606d0
Remove excess space to extra-deps recommendations
snoyberg Apr 29, 2019
6569075
Merge branch 'master' into lock-files-2
qrilka Apr 29, 2019
8e8fbe4
Merge pull request #4785 from commercialhaskell/remove-excess-space
mattaudesse Apr 29, 2019
c87e073
Merge remote-tracking branch 'origin/master' into 2730-lock-dist-dir
snoyberg Apr 30, 2019
34ad965
Merge pull request #4780 from commercialhaskell/interruptible-file-locks
snoyberg Apr 30, 2019
0448f2a
Share the companion code
snoyberg Apr 30, 2019
42b4ce7
Merge pull request #4739 from commercialhaskell/2730-lock-dist-dir
snoyberg Apr 30, 2019
7dc6001
Remove some unused imports
qrilka Apr 30, 2019
43425d8
Minor doc fix
qrilka Apr 30, 2019
6f853b8
Use patched filelock with CLOEXEC
snoyberg Apr 30, 2019
8b824ef
Merge pull request #4746 from commercialhaskell/lock-files-2
snoyberg Apr 30, 2019
595e9ea
Merge pull request #4787 from commercialhaskell/cloexec-filelock
snoyberg Apr 30, 2019
3f05443
Fix some misplaced parse warnings #4789
snoyberg Apr 30, 2019
38826df
Get package name from completed information #4789
snoyberg May 1, 2019
34ad96f
Remove CPP and TH in Main module
snoyberg May 1, 2019
a22adee
Support symlinks to directories (fixes #4776)
snoyberg May 1, 2019
bd647ff
Make subdir field optional #4793
snoyberg May 1, 2019
ba6037a
Merge pull request #4790 from commercialhaskell/4789-improved-from-js…
snoyberg May 1, 2019
babe25b
Merge pull request #4792 from commercialhaskell/remove-th-cpp-in-main
snoyberg May 1, 2019
91fc080
Merge pull request #4793 from commercialhaskell/4776-symlinks-to-dirs
snoyberg May 1, 2019
28138a9
Merge pull request #4791 from commercialhaskell/4789-package-name-fro…
snoyberg May 2, 2019
e782c7b
Merge branch 'binary-module-interface' of https://github.com/haitlahc…
snoyberg May 3, 2019
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
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ dependencies:
- yaml
- zip-archive
- zlib
- binary
when:
- condition: os(windows)
then:
Expand Down
2 changes: 1 addition & 1 deletion src/Stack/Build/Execute.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@ extraBuildOptions :: (HasEnvConfig env, HasRunner env)
=> WhichCompiler -> BuildOpts -> RIO env [String]
extraBuildOptions wc bopts = do
colorOpt <- appropriateGhcColorFlag
let ddumpOpts = " -ddump-hi -ddump-to-file"
let ddumpOpts = " -keep-hi-files"
haitlahcen marked this conversation as resolved.
Show resolved Hide resolved
optsFlag = compilerOptionsCabalFlag wc
baseOpts = ddumpOpts ++ maybe "" (" " ++) colorOpt
if toCoverage (boptsTestOpts bopts)
Expand Down
Loading