Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
f993ea43 by Raymond Toy at 2021-01-06T17:11:03-08:00
Fix #93: Use our fork of ansi-test
Instead of using the upstream ansi-test for CI, use our own fork.
- - - - -
fdeafbc6 by Raymond Toy at 2021-01-07T05:36:53+00:00
Merge branch 'issue-93-update-ansi-test-location' into 'master'
Fix #93: Use our fork of ansi-test
Closes #93
See merge request cmucl/cmucl!62
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -57,7 +57,7 @@ linux:test:
- job: linux:build
artifacts: true
before_script:
- - git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
+ - git clone https://gitlab.common-lisp.net/cmucl/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script:
- bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
@@ -128,7 +128,7 @@ osx:test:
- job: osx:build
artifacts: true
before_script:
- - git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
+ - git clone https://gitlab.common-lisp.net/cmucl/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script:
- bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/18a3be34f2a3cadebc9949…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/18a3be34f2a3cadebc9949…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
cf7c8acc by Raymond Toy at 2021-01-03T14:19:39-08:00
Address #89: Really remove *scavenge-read-only-space*
The previous changes didn't actually completely remove
`*scavenge-read-only-space*`. We removed it from the static space,
but it's also defined in `code/x86-vm.lisp` so we need to remove it
from there as well.
And we forgot to commit the boot file, so we're doing that now.
- - - - -
e7916afe by Raymond Toy at 2021-01-03T22:56:09+00:00
Merge branch 'issue-89-really-remove-scavenge-read-only' into 'master'
Address #89: Really remove *scavenge-read-only-space*
See merge request cmucl/cmucl!59
- - - - -
2 changed files:
- + src/bootfiles/21d/boot-2020-04-1.lisp
- src/code/x86-vm.lisp
Changes:
=====================================
src/bootfiles/21d/boot-2020-04-1.lisp
=====================================
@@ -0,0 +1,12 @@
+;; Simple cross-compile script to remove `*scavenge-read-only-space*`
+;; which is no longer needed
+;;
+;; Nothing special needs to be done for the cross-compile. Just use
+;; this file for the -B option (not really necessary), and use the
+;; standard cross-compile scripts in src/tools/cross-scripts.
+;;
+;; cross-build-world.sh -crl -B boot-2020-04-1 xtarget xcross src/tools/cross-scripts/cross-foo.lisp old-lisp
+;;
+;; x86: cross-x86-x86
+;; sparc: cross-sparc-sparc
+
=====================================
src/code/x86-vm.lisp
=====================================
@@ -443,9 +443,6 @@
(defvar *fp-constant-lg2*)
(defvar *fp-constant-ln2*)
-;;; Enable/Disable scavenging of the read-only space.
-(defvar *scavenge-read-only-space* nil)
-
;;; The current alien stack pointer; saved/restored for non-local
;;; exits.
(defvar *alien-stack*)
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/b334db9faee003375a25f5…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/b334db9faee003375a25f5…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
6af2ad8b by Raymond Toy at 2021-01-03T17:55:43+00:00
Remove scavenging of read-only space.
`*SCAVENGE-READ-ONLY-SPACE*` is always set to `NIL`, and it's highly
unlikely any one ever sets it. I (rtoy) haven't done that in decades
at least.
So, remove this static symbol, and remove the C code that tests for
this to determine if the read-only space should be scavenged.
This requires a very simple cross-compile to remove the symbol. See
boot-2020-04-1.lisp for very simple instructions. We currently on do
this for x86 since we can't test on sparc right now.
Update CI to do a cross-compile.
Addresses #89
- - - - -
b334db9f by Raymond Toy at 2021-01-03T17:55:43+00:00
Merge branch 'issue-89-remove-scavenging-of-read-only' into 'master'
Remove scavenging of read-only space.
See merge request cmucl/cmucl!58
- - - - -
4 changed files:
- .gitlab-ci.yml
- src/compiler/sparc/parms.lisp
- src/compiler/x86/parms.lisp
- src/lisp/gencgc.c
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -36,7 +36,12 @@ linux:build:
- job: linux:install
artifacts: true
script:
- - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
+ # Do cross compile first
+ - bin/create-target.sh xtarget x86_linux_clang
+ - bin/create-target.sh xcross x86_linux_clang
+ - bin/cross-build-world.sh -crl -B boot-2020-04-1 xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp
+ # Regular build using the cross-compiled result
+ - bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp
- bin/make-dist.sh -I dist linux-4
linux:test:
@@ -102,7 +107,12 @@ osx:build:
- job: osx:install
artifacts: true
script:
- - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
+ # Do cross compile first
+ - bin/create-target.sh xtarget x86_darwin
+ - bin/create-target.sh xcross x86_darwin
+ - bin/cross-build-world.sh -crl -B boot-2020-04-1 xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp
+ # Regular build using the cross-compiled result
+ - bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp
- bin/make-dist.sh -I dist darwin-4
osx:test:
=====================================
src/compiler/sparc/parms.lisp
=====================================
@@ -341,6 +341,9 @@
;; address.
#+gencgc
*current-region-end-addr*
+
+ ;; TODO(issue #89). This needs to be removed. It's harmless to
+ ;; have this, but it should be removed.
#+gencgc
*scavenge-read-only-space*
=====================================
src/compiler/x86/parms.lisp
=====================================
@@ -363,9 +363,6 @@
*fp-constant-lg2*
*fp-constant-ln2*
- ;; Used by gencgc.
- *scavenge-read-only-space*
-
;; Multi-process support.
*control-stacks*
=====================================
src/lisp/gencgc.c
=====================================
@@ -7865,6 +7865,7 @@ garbage_collect_generation(int generation, int raise)
printf("Done scavenging the scavenger hooks.\n");
#endif
+#if 0
if (SymbolValue(SCAVENGE_READ_ONLY_SPACE) != NIL) {
read_only_space_size =
(lispobj *) SymbolValue(READ_ONLY_SPACE_FREE_POINTER) -
@@ -7873,6 +7874,7 @@ garbage_collect_generation(int generation, int raise)
read_only_space_size * sizeof(lispobj));
scavenge(read_only_space, read_only_space_size);
}
+#endif
static_space_size = (lispobj *) SymbolValue(STATIC_SPACE_FREE_POINTER)
- static_space;
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/c60c50da55aa3ec4d88b31…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/c60c50da55aa3ec4d88b31…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch issue-89-remove-scavenging-of-read-only at cmucl / cmucl
Commits:
22b54c71 by Raymond Toy at 2021-01-03T09:12:36-08:00
Build using the cross-compiled binary
Fix another typo for darwin. We want to build lisp using the
just-build cross-compiled binary instead of the snapshot. Duh!
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -112,7 +112,7 @@ osx:build:
- bin/create-target.sh xcross x86_darwin
- bin/cross-build-world.sh -crl -B boot-2020-04-1 xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp
# Regular build using the cross-compiled result
- - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
+ - bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp
- bin/make-dist.sh -I dist darwin-4
osx:test:
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/22b54c71cc7ee438e2ce013…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/22b54c71cc7ee438e2ce013…
You're receiving this email because of your account on gitlab.common-lisp.net.