Commit Graph

10 Commits

Author SHA1 Message Date
Matthew Brecknell 00330af209 design: more precise Makefile dependencies
Previously the Makefile rule for generating the design spec depended on
all Haskell source files in `spec/haskell`. This unintentionally
included files generated by the Haskell kernel build in
`spec/haskell/dist`. This meant that for `run_tests` builds in which the
Haskell kernel test completes *after* the initial generation of the
design spec, subsequent Makefile jobs which depend on the design spec
could cause re-runs of the design spec. Furthermore, if `run_tests` runs
several such jobs concurrently, race conditions in concurrent runs of
the design spec could cause errors.

Since the design spec does not make use of the generated Haskell source
in `spec/haskell/dist`, this commit restricts the design spec
dependencies to Haskell source files in `spec/haskell/src`.

Signed-off-by: Matthew Brecknell <Matthew.Brecknell@data61.csiro.au>
2020-04-01 14:31:36 +11:00
Gerwin Klein a424d55e3e licenses: convert license tags to SPDX 2020-03-13 14:38:24 +08:00
Japheth Lim dfb7ed8fc9 design: correct haskell-translator build dependencies 2019-06-13 16:22:33 +10:00
Matthew Brecknell 4258929246 haskell-translator: add Makefile dependency on caseconvs 2018-08-16 16:44:12 +10:00
Gerwin Klein c10b93bedd spec/design: fix Haskell file dependencies 2018-07-05 16:23:15 +10:00
Gerwin Klein 05925b889d riscv design: initial RISCV64 setup 2018-06-27 10:06:47 +02:00
Joel Beeren 82863978bd Merge branch 'master' into x64 2017-08-09 17:10:06 +10:00
Matthew Brecknell f3bd3795df x64 design: add x64 to spec/design/Makefile 2017-08-09 17:02:44 +10:00
Rafal Kolanski c74da29407 design: create arch directories in haskell translator
Architecture directories were previously created in the Makefile, and
not in make_spec.sh. As a result, running make_spec would fail on a
clean repo.
2017-07-25 16:16:52 +10:00
Alejandro Gomez-Londono 41f200d5b3 design: Update Makefiles + tests.xml to auto-generate the design spec
* It runs the haskell-translator as a dependency, eliminating the
      need for "run haskell translator" commits.
2017-05-12 12:50:49 +10:00