Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl Commits: 6abcc6b4 by Raymond Toy at 2025-12-16T15:57:17-08:00 Use clang to build the core-math routines on Linux Add new variable `CONFIG` to let each build choose what config to use. Currently, we need x86_linux_clang for Linux to be able to build the core-math routines. Eventually, we need to fix it so that gcc can build the core-math routines. - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -53,8 +53,10 @@ variables: #- 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 or snapshot. The # analyzer job requires gcc, so make sure we build with gcc here - # instead of clang. - - bin/build.sh $bootstrap -b build -R -C "" -o snapshot/bin/lisp + # instead of clang. + # + # Set CONFIG in appropriately each build. + - bin/build.sh $bootstrap -b build -R -C $CONFIG -o snapshot/bin/lisp # When the result of `git describe` cannot be used as a version # string, an alternative can be provided with the -V flag # The following stages need this to run tests and such. @@ -144,6 +146,8 @@ linux:build: needs: - job: linux:install artifacts: true + variables: + CONFIG: "x86_linux_clang" # These rules is needed so that the static analyzer job can run on a # schedule because this is a prerequisite of the analyzer build. A # regular push or merge request does the normal stuff. @@ -165,6 +169,10 @@ linux:cross-build: - linux-4/*.log # The lisp directory is needed for the static analyzer job. - linux-4/lisp + variables: + # This must match the config used for the linux build! + CONFIG: "x86_linux_clang" + needs: # Normally need the linux:install stage to get the compiler to @@ -178,7 +186,7 @@ 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 -b xlinux $bootstrap -R -C "" -o "xtarget/lisp/lisp -lib xtarget/lisp" + - bin/build.sh -b xlinux $bootstrap -R -C $CONFIG -o "xtarget/lisp/lisp -lib xtarget/lisp" - bin/make-dist.sh -I xdist xlinux-4 linux:test: @@ -248,6 +256,8 @@ osx:build: needs: - job: osx:install artifacts: true + variables: + CONFIG: "" osx:test: <<: *unit_test_configuration @@ -335,6 +345,8 @@ ubuntu:build: needs: - job: ubuntu:install artifacts: true + variables: + CONFIG: "x86_linux_clang" ubuntu:test: <<: *unit_test_configuration View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/6abcc6b40d8af07b291b024a... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/6abcc6b40d8af07b291b024a... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)