Skip to content

Commit

Permalink
Use 32 bit pkg-config in linux 32 bit CI jobs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
charles-lunarg committed Dec 21, 2024
1 parent 03a736d commit 6a6878c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
-D UPDATE_DEPS=ON \
-D BUILD_WERROR=ON \
-D SYSCONFDIR=/etc/not_vulkan \
-D PKG_CONFIG_EXECUTABLE=/usr/bin/i686-linux-gnu-pkg-config \
-G Ninja
env:
CFLAGS: -m32
Expand Down Expand Up @@ -166,6 +167,7 @@ jobs:
-D UPDATE_DEPS=ON \
-D BUILD_WERROR=ON \
-D USE_GAS=OFF \
-D PKG_CONFIG_EXECUTABLE=/usr/bin/i686-linux-gnu-pkg-config \
-G Ninja
env:
CFLAGS: -m32
Expand Down

0 comments on commit 6a6878c

Please sign in to comment.