Skip to content

Commit

Permalink
Update deps and clang-18
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Oct 8, 2024
1 parent ab2045a commit 8e33206
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
llvm_version: [16]
llvm_version: [18]

runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions Makefile.clang
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CURRENT_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

ifeq ($(origin LLVM_VERSION),undefined)
LLVM_VERSION = 16
LLVM_VERSION = 18
endif

LLVM_SUFFIX = $(if $(LLVM_VERSION),-$(LLVM_VERSION),)
Expand All @@ -17,7 +17,7 @@ CFLAGS += -fno-builtin-printf -fno-builtin-memcmp \
-nostdinc -nostdlib\
-fdata-sections -ffunction-sections

CFLAGS += -I lualib -I lualib/c-stdlib -I include/ckb-c-stdlib -I include/ckb-c-stdlib/libc -I include/ckb-c-stdlib/molecule
CFLAGS += -I lualib -I lualib/c-stdlib -I include/ckb-c-stdlib -I include/ckb-c-stdlib/libc -I include/ckb-c-stdlib/molecule
CFLAGS += -I deps/compiler-rt-builtins-riscv/compiler-rt/lib/builtins
CFLAGS += -Wall -Werror -Wno-error=unused-command-line-argument -Wno-error=incompatible-library-redeclaration -Wno-error=invalid-noreturn -Wno-error=unused-function

Expand Down
2 changes: 1 addition & 1 deletion deps/compiler-rt-builtins-riscv
90 changes: 90 additions & 0 deletions tests/test_cases/memory_leak.json

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions tests/test_cases/partial_loading.json

Large diffs are not rendered by default.

0 comments on commit 8e33206

Please sign in to comment.