Skip to content

Commit 9f5585a

Browse files
fix: builtin_kernel linker error (move to runtime lib) + disable ARM64 unity build in CI
1 parent f18678c commit 9f5585a

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
arch: aarch64
2020
cuda-keyring: sbsa
2121
jobs: 4
22-
unity: ON
22+
unity: OFF
2323

2424
name: ${{ matrix.config }} / ${{ matrix.platform.os }} / ${{ matrix.platform.arch }} / ${{ matrix.compiler }}
2525
runs-on: ${{ matrix.platform.os }}

src/runtime/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set(LUISA_COMPUTE_RUNTIME_REMOTE_SOURCES
2323
set(LUISA_COMPUTE_RUNTIME_SOURCES
2424
bindless_array.cpp
2525
buffer.cpp
26+
builtin_kernel.cpp
2627
byte_buffer.cpp
2728
command_list.cpp
2829
context.cpp

src/tests/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ endif ()
6363
# --- unit/ast: standalone tests (need backend, NOT auto-run via CTest) ---
6464
luisa_compute_add_test(test_ast unit/ast/test_ast.cpp)
6565
luisa_compute_add_test(test_builtin_kernel unit/ast/test_builtin_kernel.cpp)
66-
target_sources(test_builtin_kernel PRIVATE ${CMAKE_SOURCE_DIR}/src/runtime/builtin_kernel.cpp)
6766
target_include_directories(test_builtin_kernel PRIVATE ${CMAKE_SOURCE_DIR}/src/runtime)
6867
luisa_compute_add_test(test_manual_ast unit/ast/test_manual_ast.cpp)
6968

0 commit comments

Comments
 (0)