Commit Graph

42153 Commits

Author SHA1 Message Date
Matthew Flatt
65b69a91e5 add needed store fence in list-bits management 2020-08-05 06:25:12 -06:00
Paulo Matos
342e95cf32
Fix variable replacement (#3337)
By using `{$threadLibs}` it meant we ended up with a command line with `{hreadLibs}`, which breaks the arm32le build.
2020-08-05 14:10:17 +02:00
Matthew Flatt
29a6ca6737 Chez Scheme: increase FP registers for x86_64 2020-08-05 05:55:28 -06:00
Matthew Flatt
2b73b20704 Chez Scheme: on Arm64, implement popcount with CNT and ADDV
Initial measurements suggest that performance is unchanged, but it
at least generates less code.
2020-08-05 05:55:28 -06:00
Matthew Flatt
204d9d6f01 Chez Scheme: increase available registers on Arm64 2020-08-05 05:55:28 -06:00
Matthew Flatt
744e69c0c1 add flsingle
The `flsingle` function takes a flonum and discards precision that
wouldn't fit in a single-flonum. If single-precision arithmetic is
somehow useful, then combine flonum operations with `flsingle` to
discard precision on the result; even on Racket BC, that's likely to
perform better than using generic arithmetic on single flonums.
2020-08-05 05:55:28 -06:00
sorawee
dcf034280e
Preserve multivalued-ness of stream in stream operations 2020-08-04 07:02:40 -06:00
Sorawee Porncharoenwase
e2b8fdb553 cs: change multiple values mismatch error to match bc
Related to #3325
2020-08-04 06:53:11 -06:00
Matthew Flatt
85497fe230 bc: another test repair for raco exe 2020-08-03 17:00:26 -06:00
Alexis King
6683e17fdc makefile: Add a PKG_UPDATE_OPTIONS config variable
This is analogous to PLT_SETUP_OPTIONS, but for the `raco pkg update`
step. This is useful for adding an option like `--pull try` to ignore
failures to update local clones.
2020-08-03 15:29:33 -05:00
Paulo Matos
2ee8807298
Clean up uuid dependencies from workflows (#3331) 2020-08-03 19:21:48 +02:00
Paulo Matos
e62b3b8c1c
Fix tool name in SARIF files depending on racket build mode (#3328)
This should replace the toolname in sarif files to workaround the lack of tags when uploading them.

See here for a request to add that:
https://github.com/github/codeql-action/issues/129
2020-08-03 17:46:04 +02:00
Jay McCarthy
09ff1344e8 git-checkout display repo on error 2020-08-03 10:30:11 -04:00
Paulo Matos
77fd6936b1
Fix target names post-CS becoming the default (#3327)
Fixes target names to fix ubsan workflows.
2020-08-03 16:16:36 +02:00
Matthew Flatt
181d08ad9a reference: fix sorting in in-directory example 2020-08-03 06:27:34 -06:00
Matthew Flatt
0f910e391c raco exe test: adapt to "bc" suffix 2020-08-03 05:54:28 -06:00
Matthew Flatt
fcd7295457 remove uuid lib from linking specs 2020-08-03 05:37:27 -06:00
Matthew Flatt
2d0961adcf avoid dependency on libuuid by using /dev/urandom on non-Windows 2020-08-02 18:33:13 -06:00
Matthew Flatt
2cca030eff Chez Scheme: fix tests to work outside of source directory 2020-08-02 18:30:43 -06:00
Matthew Flatt
0866ddea01 fix a test for racketbc 2020-08-02 16:18:05 -06:00
Matthew Flatt
b32b3178bc raco: recognize racobc when trying to distinguish from setup-plt 2020-08-02 14:58:51 -06:00
Matthew Flatt
9b5dd35adc makefile: fix cross builds 2020-08-02 14:28:45 -06:00
Sam Tobin-Hochstadt
0cd1899d9d Update CI snapshots for cs-as-default. 2020-08-02 16:17:23 -04:00
Matthew Flatt
2885df0347 update build guide and READMEs for CS as default 2020-08-02 07:57:12 -06:00
Matthew Flatt
e6752e9afc configure: switch default from BC to CS
This change brings the top-level makefile and `configure` back in
sync, but it affect source distributions by changing the `configure`
default there.
2020-08-02 07:57:12 -06:00
Matthew Flatt
093fcd1bc7 makefile: make Racket CS the default
The top-level makefile now builds Racket CS as `racket` by default.

Use `racket bc` to build Racket BC as `racket`. Use `make both` to
build both CS and BC (the latter with the `bc` suffix) overlayed in a
single build. By using `make both` insted of `make cs` plus `make bc`,
you can avoid redundant package downloads and documentation rendering.

To build Racket BC as `racket`, use `racket bc RACKETBC_SUFFIX=`, but
you must consistently use `RACKETBC_SUFFIX=` with `make` every time.
2020-08-01 17:33:53 -06:00
Matthew Flatt
1c181ffbd8 cs: change undefined-variable error to match bc
Add a missing "in".

Related to #3325
2020-08-01 12:47:08 -06:00
Matthew Flatt
351c45c78b rktio: fix use of POLL... where EPOLL... is intended 2020-08-01 09:10:26 -06:00
Matthew Flatt
ad3baffc8d fix gracketcgc install 2020-08-01 08:12:22 -06:00
Matthew Flatt
719cd66835 Chez Scheme makefiles: fix .bootquick when source has boot files 2020-08-01 07:52:04 -06:00
Matthew Flatt
6c59a722a1 makefiles: fix install of GRacket BC 2020-08-01 07:05:30 -06:00
Matthew Flatt
b0bd5061d5 Chez Scheme makefile: create correct directory on .bootquick 2020-08-01 06:17:22 -06:00
Matthew Flatt
2ae4ee4163 makefiles: build Chez Scheme in the "build" area
Instead of leaving Chez Scheme build artifacts in in the ChezScheme
source directory, keep them in a "build" directory like everything
else.
2020-07-31 16:33:07 -06:00
Matthew Flatt
c1cd9c499c adjust Chez Scheme configure script to work in any directory
Adjust `configure` and makefiles so that `configure` can be run in an
directory, not just the source directory. Initial boot files are found
at either the current directory or the source directory.

Also, add support for `-B` and `--Boot` flags to accept a path that is
resolved relative to the current directory, instead of relative to the
installation.
2020-07-31 16:32:19 -06:00
Matthew Flatt
fc5f846693 cs: fix Mac OS framework versioning 2020-07-31 12:47:07 -06:00
Matthew Flatt
6886dc2143 make bc and cs configure scripts more symmetric
The `--enable-cs` and `--enable-csdefault` flags now enabled just the
CS build, as long as pb boot files are present or
`--enable-racket=...` is supplied.
2020-07-31 11:08:42 -06:00
Matthew Flatt
ed415a3795 move "racket/src/racket" -> "racket/src/bc"
Also, move "racket/src/gracket" and "racket/src/foreign" to
subdirectories of "racket/src/bc".
2020-07-31 06:40:26 -06:00
Paulo Matos
e01fd1a5a7 Revert "Speed up solo chez testing (#3322)"
This reverts commit 8e2c6c966a.

There is a test failure on i386 and an out of memory problem on
arm64, so I am reverting this until I get those fixed.
2020-07-31 06:28:02 +02:00
Matthew Flatt
8ef22d6334 src/configure: unbreak main-target setup 2020-07-30 20:20:45 -06:00
Matthew Flatt
cde197125c support Racket BC build and installation with a "bc" suffix 2020-07-30 20:14:34 -06:00
Paulo Matos
8e2c6c966a
Speed up solo chez testing (#3322)
This allows multiple test configurations to run in parallel, therefore
taking advantages of multiple processors.
2020-07-30 21:56:28 +02:00
Matthew Flatt
1d9db6eec3 makefile: make bc and cs rules more symmetic
Currently, `make` is the same as `make bc`, but the idea is that
`make` can become the same as `make cs` when some other pieces are in
place.

The source of the top-level makefile is now ".makefile", and it's
turned into "Makefile" using "racket/src/makemake.rkt". The
transformation makes non-GNU `make` variants and `nmake` act like GNU
make to propagate variables, which makes abstraction through targets
plus variables (admitedly an abuse of `make`) more reliable and
consistent.

Why abuse `make` this way? Because `make` variants and `nmake` are
similar enough that to constitute a portable scripting language, and
one that conveniently provides a large number of entry points.
2020-07-30 13:29:02 -06:00
Paulo Matos
a4b6ac701e
Solo Chez build/test workflow (#3316) 2020-07-30 13:19:49 +02:00
Matthew Flatt
7d7b8fb1e9 makefile: fix cs targets to not break non-cs targets 2020-07-29 13:37:39 -06:00
Matthew Flatt
8a0bb78ab1 unbreak windows CGC build 2020-07-29 10:06:31 -06:00
Matthew Flatt
0d279ca06d prune Boehm GC references from the MSVC projects 2020-07-29 09:25:22 -06:00
Matthew Flatt
ea096e1989 move cfg-racket to cfg-bc 2020-07-29 08:58:42 -06:00
Matthew Flatt
7c256a051d replace "traditional Racket" references with "Racket BC" 2020-07-29 08:27:58 -06:00
Matthew Flatt
e42dfffa3a update unixstyle-install for a source distribution 2020-07-29 06:56:24 -06:00
Matthew Flatt
af651ca435 Merge branch 'master' of github.com:racket/racket 2020-07-29 05:20:13 -06:00