Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to 7850891 * Switch to ormolu * Run ormolu * Add benchmark script * Clean up .cabal file * Fix warnings in tests. Disable QuantifierLifting. * Add ghc-debug and nothunks instrumentation * Add HasMap type class (#332) * Refactoring printing to use `Contextualised` to eliminate duplicate strategies (#337) * Change CI test component to 'all' * Force CI to run Tasty tests sequentially (#342) * Change CI install component to vehicle:exe:vehicle
- Loading branch information
Showing
48 changed files
with
327 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
-- Cabal project configuration file for DEBUGGING | ||
-- | ||
-- Use `cabal` with `--project-file=cabal.project.ghc-debug` | ||
-- or run vehicle via `./scripts/vehicle-ghc-debug`. | ||
-- Use this configuration in one of two ways: | ||
-- * pass `--project-file=cabal.project.ghc-debug` to Cabal | ||
-- * run Vehicle via `./scripts/vehicle-ghc-debug` | ||
|
||
import: cabal.project | ||
|
||
import: cabal.project.nothunks | ||
|
||
package vehicle-syntax | ||
flags: | ||
-- Necessary for Vehicle AST to implement NoThunks | ||
+nothunks | ||
-- Necessary for Vehicle.Syntax.Debug to reexport ghc-debug-stub | ||
+ghc-debug | ||
|
||
package vehicle | ||
flags: | ||
-- Necessary for Vehicle to be a ghc-debug debuggee | ||
-- Necessary for Vehicle.Debug to reexport ghc-debug-stub, | ||
-- and for vehicle:exe:vehicle to be a GHC debuggee | ||
+ghc-debug | ||
|
||
-- Necessary for Vehicle Debug to implement unsafeCheckThunks | ||
+nothunks | ||
|
||
ghc-options: | ||
-- Necessary for eventlog support | ||
-- Necessary for vehicle:exe:vehicle to support creating an eventlog, | ||
-- which is used by scripts/vehicle-profile | ||
-eventlog | ||
|
||
-- Necessary for -h* RTS options | ||
-rtsopts | ||
|
||
-- Necessary for info table profiling | ||
-- Necessary for vehicle:exe:vehicle to support info table profiling, | ||
-- which is used by scripts/vehicle-profile if HEAP_PROFILE_TYPE=-hi | ||
-finfo-table-map -fdistinct-constructor-tables | ||
|
||
-- Necessary for our program to be a ghc-debug debuggee | ||
-threaded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
-- Cabal project configuration file for TESTING with +nothunks | ||
-- | ||
-- Use `cabal` with `--project-file=cabal.project.nothunks` | ||
-- Use this configuration in one of two ways: | ||
-- * pass `--project-file=cabal.project.nothunks` to Cabal | ||
-- * run Vehicle via `./scripts/vehicle-nothunks` | ||
|
||
import: cabal.project | ||
|
||
package vehicle-syntax | ||
flags: | ||
-- Necessary for Vehicle AST to implement NoThunks | ||
-- Necessary for Vehicle.Syntax.AST to derive instances of NoThunks, | ||
-- and for Vehicle.Syntax.Debug to implement unsafeCheckThunks | ||
+nothunks | ||
|
||
package vehicle | ||
flags: | ||
-- Necessary for Vehicle Debug to implement unsafeCheckThunks | ||
-- Necessary for Vehicle.Debug to implement unsafeCheckThunks | ||
+nothunks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.