
Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl Commits: 66fd41a2 by Raymond Toy at 2025-08-09T18:05:05-07:00 Use x86_linux_clang config for Linux and OpenSUSE The VMs running the linux and opensuse builds won't build the core-math routines using gcc. We currently need to use clang for that, so add a CI variable to specify the build config so we can have the linux and opensuse builders use x86_linux_clang. - - - - - 2 changed files: - .gitlab-ci.yml - src/lisp/Config.x86_linux Changes: ===================================== .gitlab-ci.yml ===================================== @@ -5,6 +5,7 @@ variables: version: "$year-$month-x86" tar_ext: "xz" bootstrap: "" + build_config: "" # Default install configuration to download the cmucl tarballs to use # for building. @@ -49,7 +50,7 @@ variables: # 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 + - bin/build.sh $bootstrap -b build -R -C "$build_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. @@ -137,6 +138,11 @@ linux:build: needs: - job: linux:install artifacts: true + variables: + # The CI on linux needs to use clang to build the core-math + # routines. Gcc gets an internal compiler error for the OS + # running the linux builder. + build_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. @@ -326,6 +332,11 @@ opensuse:build: needs: - job: opensuse:install artifacts: true + variables: + # The CI on linux needs to use clang to build the core-math + # routines. Gcc gets an internal compiler error for the OS + # running the linux builder. + build_config: "x86_linux_clang" opensuse:test: <<: *unit_test_configuration ===================================== src/lisp/Config.x86_linux ===================================== @@ -1,9 +1,6 @@ # -*- Mode: makefile -*- include Config.x86_common -# TEMP FIX! -CC = clang - # We want errno support because we used to have that. CORE_MATH = -DCORE_MATH_SUPPORT_ERRNO View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/66fd41a20c4868aefd10089a... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/66fd41a20c4868aefd10089a... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)