Matthew Flatt
e79f07b6cc
racket/fasl: fixed representation for +nan.0
...
To make fasl writing as determinsitic and portable as possible, write
+nan.0 and +nan.f always with a specific bit pattern.
This choice risks losing information that is potentially useful, but
given the way that Racket treats all NaN encodings as equivalent, that
rick seems low.
2019-03-13 09:32:33 -06:00
Matthew Flatt
6a35d64e95
repairs for change for machine-independent bytecode
...
Fix problems with moving some VM-specific handlign to schemify, and
fix some interning issues that the change exposed.
2019-03-13 09:32:33 -06:00
Matthew Flatt
df8501d8f0
make empty immutable hash tables unique
...
For example, `#hasheq()` is `eq?` to `(hasheq)` and `(hash-remove
(hasheq 'x 2) 'x)`. Making empty hash table unique avoids some
potential and actual inconsistencies between traditional Racket and
Racket CS, such as in machine-independent bytecode.
2019-03-13 09:32:33 -06:00
Matthew Flatt
6e958b627f
expander: avoid VM-specific expansion
...
Move different handling of serialized syntax data to the schemify
layer instead of te expander, so that the result of compiling in
machine-independent form is the same for traditional Racket and Racket
CS.
2019-03-13 09:32:33 -06:00
Matthew Flatt
d0d391d76b
raco setup: add --recompile-only
...
The `--recompile-only` flag is intended to help dectect build
problems, especially distribution builds where packages are
supposed to be in built form.
2019-03-13 09:32:33 -06:00
Matthew Flatt
ce708478e7
raco setup: add time to section printouts
2019-03-13 09:32:33 -06:00
Paulo Matos
e70006b5e5
Add cache to test cs jobs
2019-03-13 13:10:06 +01:00
Philip McGrath
4b69cf6995
typo fix in contracts documentation ( #2530 )
2019-03-13 12:39:51 +01:00
Paulo Matos
29551644d0
Show current directory
2019-03-13 11:02:26 +01:00
Paulo Matos
8cfdadce13
Add new target, arm-linux-user
2019-03-13 09:37:00 +01:00
Paulo Matos
9148649030
Pass arguments properly
2019-03-13 09:19:58 +01:00
Paulo Matos
31f0667695
Pass qemu path
2019-03-13 09:08:15 +01:00
Paulo Matos
0b715b5077
Fix path to qemu
2019-03-13 08:55:10 +01:00
Paulo Matos
2fc8f46b7e
Enable use of qemu-3.1.0
2019-03-13 08:27:37 +01:00
Robby Findler
b8b0260e50
add examples for ->
contract combinator
...
closes #2527
Thanks to Paulo Matos
2019-03-12 09:16:04 -05:00
Paulo Matos
3bd45fc0bb
Set LLVM build type to minsizerel to minimize llvm build size
2019-03-12 14:46:22 +01:00
Marc
7ce28e8795
Update broken URL
...
Fixes #2518
2019-03-12 09:41:59 -04:00
Paulo Matos
a5514e684b
Use llvm HEAD from release/8.x branch
2019-03-12 09:44:41 +01:00
Paulo Matos
d4097aeaca
Fix image name
2019-03-11 20:59:17 +01:00
Paulo Matos
a4b0ed2202
Add qemu-3.1.0 build job
2019-03-11 20:57:51 +01:00
Alexis King
bb42476157
syntax/parse: Add prop:syntax-class
2019-03-11 12:18:36 -05:00
Paulo Matos
cbf21df284
Use annotate-output from devscripts
2019-03-11 17:05:43 +01:00
Sam Tobin-Hochstadt
25efc68b17
Make sql-null
a transparent struct.
...
This allows it to cooperate better with Typed Racket, particularly
regarding the `Any` type. The guard and use of `#:authentic` also
check that it's still a singleton in all cases.
2019-03-11 14:02:57 +01:00
Paulo Matos
847f607536
Move cross testing to stage test
2019-03-11 13:26:33 +01:00
Paulo Matos
2dc3f08f19
Allow failure for x86_64:cs
2019-03-11 13:26:33 +01:00
Paulo Matos
95784935c6
Fix ppc64 arch name
2019-03-11 13:26:33 +01:00
Paulo Matos
0b4725b200
Add uuid-dev necessary for cs as GUEST
2019-03-11 13:26:33 +01:00
Paulo Matos
6dada950d9
Install guest dependencies if we are running tests natively
2019-03-11 13:26:33 +01:00
Paulo Matos
48c0f528fe
Add native x86_64 testing and cross with cs.
2019-03-11 13:26:33 +01:00
Paulo Matos
0407af0e4d
Fix location of chroot file
2019-03-11 13:26:33 +01:00
Paulo Matos
fed32eb4aa
Fix recursive script call.
2019-03-11 13:26:33 +01:00
Paulo Matos
b65c4ed1ec
Fix variable name
2019-03-11 13:26:33 +01:00
Paulo Matos
2f322efb62
Add environment information
2019-03-11 13:26:33 +01:00
Paulo Matos
037f07d744
Use CI_PROJECT_DIR, not CI_PROJECT_PATH
2019-03-11 13:26:33 +01:00
Paulo Matos
2761f31ef1
Fix a few issues
2019-03-11 13:26:33 +01:00
Paulo Matos
e157ee6415
Fix issues pointed to by shellcheck
2019-03-11 13:26:33 +01:00
Paulo Matos
f00286335a
Add debug echo statement.
2019-03-11 13:26:33 +01:00
Paulo Matos
821158dcd8
apt-get update before running script
2019-03-11 13:26:33 +01:00
Paulo Matos
743f649fdc
cross tests run in ubuntu 18.04
2019-03-11 13:26:33 +01:00
Paulo Matos
c09721c67c
Force all scan-build jobs and prepare-cache to the same runner
2019-03-11 13:26:33 +01:00
Paulo Matos
88cc48e3aa
Move test jobs to prepare
2019-03-11 13:26:33 +01:00
Paulo Matos
ed43d996ca
Add cross-testing to gitlab-ci
2019-03-11 13:26:33 +01:00
Paulo Matos
da6dba56fb
Pass correct arguments on recursive call
2019-03-11 13:26:33 +01:00
Paulo Matos
3b287fb9dc
Choose chroot path
2019-03-11 13:26:33 +01:00
Paulo Matos
0f04689658
Only check archs on host
2019-03-11 13:26:33 +01:00
Paulo Matos
b03a3dc413
Add support for more architectures
2019-03-11 13:26:33 +01:00
Paulo Matos
385350d9a5
Add new script for cross-qemu chroot
2019-03-11 13:26:33 +01:00
Matthew Flatt
de82588e08
cs: fix cross-compile fasl
2019-03-09 13:01:23 -07:00
Matthew Flatt
17e5a56569
raco setup: allow dependency checking to continue after error
...
When reading a bytecode file fails, record the error and continue.
2019-03-09 08:42:54 -07:00
Matthew Flatt
e46e791724
cs: delayed parsing of cross-linklet info
...
Avoid parsing cross-linklet optimization information until it is
needed. This change also avoids a problem with saving hash codes
that are platform-specific.
2019-03-09 08:13:03 -07:00