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
Paulo Matos
a20f55cf47
Remove Boehm GC from Racket
...
Boehm GC has not been regularly tested or even used - therefore
removal avoid bit-rot.
2020-07-28 13:23:17 -06:00
Matthew Flatt
62a3f6ec91
change CS build to use a subtree Chez Scheme and a bootstrapped pb
...
Also, schemified "thread", "io", "regexp", "schemify", and "expander"
layers are checked in. Overall, building Racket CS no longer requires
first building Racket BC.
2020-07-28 12:56:42 -06:00
Matthew Flatt
c6e0c54a4f
repair for pb on FreeBSD
2020-07-28 12:54:43 -06:00
Paulo Matos
139c1de00f
Call recursive make through $(MAKE)
...
This fixes the build under FreeBSD 12.1 where the system `make` is not compatible with the Chez makefiles and gmake is needed instead.
2020-07-28 12:54:42 -06:00
Matthew Flatt
89831c01f6
bc: fix optimizer bug
...
Fix inlining problem when inlining has been explicitly disabled.
Closes #3309
2020-07-28 12:43:39 -06:00
Dionna Amalie Glaze
ec0ec8e970
s/comparing with with/comparing it with/ ( #3314 )
...
Duplicated word in documentation.
2020-07-28 09:03:06 +02:00
Matthew Flatt
d44fcbf041
import Chez Scheme sources as racket/src/ChezScheme
...
The imported sources are from the `racket/ChezScheme` repository,
which branched from `cisco/ChezScheme`. The commit history is
preserved, but all of the commit IDs have shifted, because bootfiles
have been pruned from the history.
2020-07-27 07:41:56 -06:00
Jasper Pilgrim
303a941915
Fix typos ( #3313 )
...
doublequotes -> double quotes
doublequote -> double quote
2020-07-27 15:02:58 +02:00
Matthew Flatt
c2e4bba728
configure: remove git pull, improve --pb
support
...
original commit: e6d6783dddb25339fbf613e70e361a7f4d18cd94
2020-07-26 16:02:11 -06:00
Matthew Flatt
c90eea4850
configure: avoid touching "config.h" if no change
...
original commit: a4a9630e90b82113bcfd448d90efd555ffdba636
2020-07-26 11:43:56 -06:00
Matthew Flatt
d04c53d6e1
fix swapped integer ref and set! for some platforms
...
original commit: 35c1813738b8e7de9938021a7e7324cf8c785c30
2020-07-26 07:59:04 -06:00
Matthew Flatt
1defddb778
fix $object-ref
with unsigned-64
on 32-bit platforms
...
original commit: e17cba92d8bea4c14f80b7f1bc848675264de609
2020-07-26 06:30:52 -06:00
Matthew Flatt
3d5d6361c0
unbreak "record.ms"
...
Support nested `include`s.
original commit: 2ace5779126179a0624010d338c3e7b3a91896f4
2020-07-25 18:30:06 -06:00