Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
2072ca19
by Raymond Toy at 2025-11-10T05:07:47-08:00
-
671d8973
by Raymond Toy at 2025-11-10T05:07:47-08:00
2 changed files:
Changes:
| ... | ... | @@ -301,6 +301,7 @@ linux:static-analyzer: |
| 301 | 301 | tags:
|
| 302 | 302 | - linux
|
| 303 | 303 | artifacts:
|
| 304 | + when: always
|
|
| 304 | 305 | paths:
|
| 305 | 306 | - analyzer.log
|
| 306 | 307 | needs:
|
| ... | ... | @@ -312,15 +313,7 @@ linux:static-analyzer: |
| 312 | 313 | # console. If someday there's less or no output, we can consider
|
| 313 | 314 | # having the logs go to the console too.
|
| 314 | 315 | - make -C build-4/lisp clean
|
| 315 | - # From
|
|
| 316 | - # https://docs.gitlab.com/ci/yaml/script/#ignore-non-zero-exit-codes
|
|
| 317 | - #
|
|
| 318 | - # If the analyzer fails, we still want the logs to be saved. So
|
|
| 319 | - # ignore the failure, but also print a message so we know
|
|
| 320 | - # something happened.
|
|
| 321 | - - exit_code=0
|
|
| 322 | - - make -C build-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 || exit_code=$?
|
|
| 323 | - - if [ $exit_code -ne 0 ]; then echo "Analyzer failed with code $exit_code"; fi;
|
|
| 316 | + - make -C build-4/lisp ANALYZER=-fanalyzer > analyzer.log 2>&1
|
|
| 324 | 317 | |
| 325 | 318 | #### OpenSUSE jobs ####
|
| 326 | 319 | opensuse:install:
|
| ... | ... | @@ -4,7 +4,9 @@ include Config.x86_common |
| 4 | 4 | CFLAGS += $(COPT)
|
| 5 | 5 | CPPFLAGS += -m32
|
| 6 | 6 | CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic
|
| 7 | -CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
|
| 7 | +# ANALYZER flag should be set to -fanalyzer when doing the CI builds
|
|
| 8 | +# for the C static analyzer.
|
|
| 9 | +CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(ANALYZER)
|
|
| 8 | 10 | |
| 9 | 11 | UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
|
| 10 | 12 | ASSEM_SRC += linux-stubs.S
|