Skip to content

Commit 252d974

Browse files
committed
Update cmake.yml
1 parent 8375b36 commit 252d974

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
binutils-i686-linux-gnu \
2525
gcc-i686-linux-gnu \
2626
libgcc-s1-i386-cross \
27-
gcc-multilib \
2827
wget
2928
3029
- name: Cache AI Model
@@ -44,12 +43,13 @@ jobs:
4443
run: |
4544
mkdir -p build
4645
cd build
47-
# Use the cross-compiler explicitly and force 32-bit mode
46+
# Use the cross-compiler, force 32-bit mode, and skip the link check for the compiler test
4847
cmake .. \
4948
-DCMAKE_C_COMPILER=i686-linux-gnu-gcc \
5049
-DCMAKE_ASM_NASM_COMPILER=nasm \
5150
-DCMAKE_ASM_NASM_FLAGS="-f elf32" \
52-
-DCMAKE_C_FLAGS="-m32"
51+
-DCMAKE_C_FLAGS="-m32" \
52+
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
5353
make
5454
5555
- name: Verify Kernel Architecture

0 commit comments

Comments
 (0)