Skip to content

Commit 6a6878c

Browse files
Use 32 bit pkg-config in linux 32 bit CI jobs
PKG_CONFIG_EXECTUABLE is a CMake variable that sets the pkg-config executable used, allowing the use of the 32 bit pkg-config when looking for pkg-config packages. The prior version of the 32 bit job actually used the 64 bit packages but that happened to work okay because the only things used from the 64 bit packages were header files, which are arch agnostic.
1 parent 03a736d commit 6a6878c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
-D UPDATE_DEPS=ON \
131131
-D BUILD_WERROR=ON \
132132
-D SYSCONFDIR=/etc/not_vulkan \
133+
-D PKG_CONFIG_EXECUTABLE=/usr/bin/i686-linux-gnu-pkg-config \
133134
-G Ninja
134135
env:
135136
CFLAGS: -m32
@@ -166,6 +167,7 @@ jobs:
166167
-D UPDATE_DEPS=ON \
167168
-D BUILD_WERROR=ON \
168169
-D USE_GAS=OFF \
170+
-D PKG_CONFIG_EXECUTABLE=/usr/bin/i686-linux-gnu-pkg-config \
169171
-G Ninja
170172
env:
171173
CFLAGS: -m32

0 commit comments

Comments
 (0)