Raymond Toy pushed to branch issue-337-cross-compile-linux-x86-fails at cmucl / cmucl
Commits:
f48dcfc0 by Raymond Toy at 2024-07-19T18:24:20-07:00
Revert the change to the version features
We'll do that in a different merge.
- - - - -
1 changed file:
- src/tools/cross-scripts/cross-x86-x86.lisp
Changes:
=====================================
src/tools/cross-scripts/cross-x86-x86.lisp
=====================================
@@ -21,7 +21,7 @@
:conservative-float-type
:hash-new
:random-xoroshiro ; RNG
- :cmu :cmu21 :cmu21e ; Version features
+ :cmu :cmu20 :cmu20a ; Version features
:double-double ; double-double float support
)
;; Features to remove from current *features* here. Normally don't
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f48dcfc0d74ba9041f882f3…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/f48dcfc0d74ba9041f882f3…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch issue-337-cross-compile-linux-x86-fails at cmucl / cmucl
Commits:
9a46eb81 by Raymond Toy at 2024-07-18T19:34:36-07:00
Use different directory when rebuilding lisp with the cross-compiler
Not sure what's going on, but let's just do the normal build (using
the cross-compiled result) using different base directory name.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -75,8 +75,8 @@ linux:cross-build:
- bin/create-target.sh xtarget
- bin/create-target.sh xcross
- bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp dist/bin/lisp
- - bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp
- - bin/make-dist.sh -V `git describe --dirty` -I xdist linux-4
+ - bin/build.sh -b xlinux $bootstrap -R -C "" -o xtarget/lisp/lisp
+ - bin/make-dist.sh -V `git describe --dirty` -I xdist xlinux-4
linux:test:
stage: test
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/9a46eb816dc87ca1b9f9bbc…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/9a46eb816dc87ca1b9f9bbc…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch issue-337-cross-compile-linux-x86-fails at cmucl / cmucl
Commits:
05421c98 by Raymond Toy at 2024-07-18T06:55:03-07:00
Actually use the build from linux:build for cross-compiling
Forgot to change the compiler to dist/bin/lisp instead of the
snapshot.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -74,7 +74,7 @@ linux:cross-build:
script:
- bin/create-target.sh xtarget
- bin/create-target.sh xcross
- - bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp
+ - bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp dist/bin/lisp
- bin/build.sh $bootstrap -R -C "" -o xtarget/lisp/lisp
- bin/make-dist.sh -V `git describe --dirty` -I xdist linux-4
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/05421c985d37b5f10aa18ba…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/05421c985d37b5f10aa18ba…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
a85f2a01 by Raymond Toy at 2024-07-17T16:44:16+00:00
Address #336: Fix compiler warnings in srctran.lisp
- - - - -
ba2176ab by Raymond Toy at 2024-07-17T16:44:27+00:00
Merge branch 'issue-336-1-fix-compiler-notes' into 'master'
Address #336: Fix compiler warnings in srctran.lisp
See merge request cmucl/cmucl!233
- - - - -
2 changed files:
- src/compiler/srctran.lisp
- src/compiler/x86/float-sse2.lisp
Changes:
=====================================
src/compiler/srctran.lisp
=====================================
@@ -1809,8 +1809,7 @@
(round-it pos)))))))
(defun round-derive-type-quot (number-type divisor-type)
- (let* ((rem-type (rem-result-type number-type divisor-type))
- (number-interval (numeric-type->interval number-type))
+ (let* ((number-interval (numeric-type->interval number-type))
(divisor-interval (numeric-type->interval divisor-type)))
(let ((quot (round-quotient-bound
(interval-div number-interval
@@ -1819,9 +1818,7 @@
,(or (interval-high quot) '*))))))
(defun round-derive-type-rem (number-type divisor-type)
- (let* ((rem-type (rem-result-type number-type divisor-type))
- (number-interval (numeric-type->interval number-type))
- (divisor-interval (numeric-type->interval divisor-type)))
+ (let* ((rem-type (rem-result-type number-type divisor-type)))
(multiple-value-bind (class format)
(ecase rem-type
(integer
@@ -1835,13 +1832,6 @@
(values 'float nil))
(real
(values nil nil)))
- #+nil
- (when (member rem-type '(float single-float double-float
- #+long-float long-float
- #+double-double double-double-float))
- (setf rem (interval-func #'(lambda (x)
- (coerce x rem-type))
- rem)))
(make-numeric-type :class class
:format format
:low nil
=====================================
src/compiler/x86/float-sse2.lisp
=====================================
@@ -773,10 +773,11 @@
(inst ,opinst x (,ea y)))
(,stack-sc
(inst ,opinst x (,ea-stack y)))))
- ((and ,commutative (location= y r))
- ;; y = r and the operation is commutative, so just
- ;; do the operation with r and x.
- (inst ,opinst y x))
+ ,@(when commutative
+ `(((location= y r)
+ ;; y = r and the operation is commutative, so just
+ ;; do the operation with r and x.
+ (inst ,opinst y x))))
((not (location= r y))
;; x, y, and r are three different regs. So just
;; move r to x and do the operation on r.
@@ -1994,8 +1995,9 @@
`(cond
((location= x r)
(inst ,opinst x y))
- ((and ,commutative (location= y r))
- (inst ,opinst y x))
+ ,@(when commutative
+ `(((location= y r)
+ (inst ,opinst y x))))
((not (location= r y))
(inst ,movinst r x)
(inst ,opinst r y))
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/5c8483f87814f4d2423fcc…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/5c8483f87814f4d2423fcc…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch issue-337-cross-compile-linux-x86-fails at cmucl / cmucl
Commits:
92732c62 by Raymond Toy at 2024-07-15T16:12:06-07:00
Need to save the cross-compiled lisp
Add xdist directory to artifacts so that the cross-compiled build can
be used for testing. Without this, the cross-test fails because it
can't find the lisp to use.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -56,6 +56,12 @@ linux:cross-build:
stage: build
tags:
- linux
+ artifacts:
+ paths:
+ - xdist/
+ - linux-2/*.log
+ - linux-3/*.log
+ - linux-4/*.log
needs:
- job: linux:install
artifacts: true
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/92732c62ca7118fa87c172c…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/92732c62ca7118fa87c172c…
You're receiving this email because of your account on gitlab.common-lisp.net.