-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #361 from MatthewFluet/make-runtime-updates
Updates to `make runtime` Highlights: * Use proper Makefile rules for `/runtime/gen/sizes`, `/runtime/gen/ml-types.h`, `/runtime/gen/c-types.{h,sml}`, and `/runtime/gen/basis-ffi.{h,sml}`, making the generator executables a dependency, updating the generator programs to emit each file separately (according to program argument), and eliminating the use of `.stamp` files (45041d9, 36494b0, ac1651a, 6a37cc3). * Avoid building `runtime/gen/basis-ffi.{h,sml}` with clean sources (76da64c). * Use automatic dependencies via `cc -MM` and `.d`-files (eeee00f). * Add and use `WITH_{DBG,PIC}_RUNTIME` in `runtime/Makefile` (18c6f0c). * Build with `WITH_DBG_RUNTIME=false` in `./bin/travis-ci` (84d4861). * Copy `%-pic.a` from `%.a` when PIC enabled by default (a864e2c). The last two, in particular, allow TravisCI to only build one variant of the runtime, rather than 3. The goal had been to bring some order to `runtime/Makefile` and potentially better understand how to handle non-PI vs PIC vs PIE (see #191).
- Loading branch information
Showing
35 changed files
with
1,376 additions
and
540 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,5 +1,6 @@ | ||
## Ignore all *.a and *.o files | ||
## Ignore all *.a, *.d, and *.o files | ||
*.a | ||
*.d | ||
*.o | ||
|
||
/gdtoa/ | ||
|
Oops, something went wrong.