Skip to content

Commit 271b1e9

Browse files
Update glfw submodule to latest (#1237)
* Update glfw submodule to latest Old version was 3.3, released over two years ago Fixes #1192 * Install libraries required by new GLFW version * Fixing library names * Fixing type * Also add new GLFW required libs to v2 yml * Also add new libraries to documentation ci step Weird, but somehow required * Update linux build docs with new libs required by updated GLFW * Remove Wayland dependencies and conditionally build Antora Wayland dependencies were removed from the workflows and build configurations to streamline the installation process. The Antora documentation build is now conditional, preventing unnecessary inclusion when VKB_GENERATE_ANTORA_SITE is not set. This improves build flexibility and reduces extraneous steps. * Apply required changes to merged CI changes * Trying to fix CI after merge (again) * Trying to fix CI after merge (again and again) --------- Co-authored-by: swinston <steve@holochip.com>
1 parent b3cb382 commit 271b1e9

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- if: ${{ matrix.platform != 'windows' }}
5353
name: Configure and build
5454
run: |
55-
cmake -B"build/${{ matrix.platform }}" -DVKB_BUILD_TESTS=ON -DVKB_BUILD_SAMPLES=ON
55+
cmake -B"build/${{ matrix.platform }}" -DVKB_BUILD_TESTS=ON -DVKB_BUILD_SAMPLES=ON -DGLFW_BUILD_WAYLAND=OFF
5656
cmake --build "build/${{ matrix.platform }}" --target vulkan_samples --config ${{ matrix.build_type }} ${{ env.PARALLEL }}
5757
5858
build_v2:
@@ -76,7 +76,7 @@ jobs:
7676
sudo apt install xorg-dev libglu1-mesa-dev
7777
7878
- name: Configure
79-
run: cmake -B"build/${{ matrix.platform }}" -DVKB_BUILD_TESTS=ON
79+
run: cmake -B"build/${{ matrix.platform }}" -DVKB_BUILD_TESTS=ON -DGLFW_BUILD_WAYLAND=OFF
8080

8181
- name: "Build Components ${{ matrix.platform }} in ${{ matrix.build_type }}"
8282
run: cmake --build "build/${{ matrix.platform }}" --target vkb__components --config ${{ matrix.build_type }} ${{ env.PARALLEL }}

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
submodules: "recursive"
101101
- run: git config --global --add safe.directory /__w/Vulkan-Samples/Vulkan-Samples
102-
- run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -Bbuild/clang
102+
- run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DGLFW_BUILD_WAYLAND=OFF -Bbuild/clang
103103
- run: |
104104
/usr/bin/run-clang-tidy -j $(($(nproc)/2+1)) -p build/clang -header-filter=framework,samples,app -checks=-*,google-*,-google-runtime-references -quiet ${{ needs.changed-files.outputs.all }}
105105

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ cmake_minimum_required(VERSION 3.16)
3636

3737
project(vulkan_samples)
3838

39+
if(VKB_GENERATE_ANTORA_SITE)
40+
add_subdirectory(antora)
41+
else ()
3942
# search for Vulkan SDK
4043
find_package(Vulkan)
4144

@@ -104,5 +107,4 @@ endif()
104107

105108
# Add vulkan app (runs all samples)
106109
add_subdirectory(app)
107-
108-
add_subdirectory(antora)
110+
endif ()

antora/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function(gatherAntoraAssets)
1414
samples
1515
scripts
1616
shaders
17-
third_party
1817
)
1918
set(PAGES_DIR_SEARCH)
2019
set(IMAGES_DIR_SEARCH)

docs/build.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ build\windows\app\bin\Release\AMD64\vulkan_samples.exe
226226
* <<3d-models,3D models>>
227227

228228
----
229-
sudo apt-get install cmake g++ xorg-dev libglu1-mesa-dev
229+
sudo apt-get install cmake g++ xorg-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev
230230
----
231231

232232
=== Build with CMake

third_party/glfw

Submodule glfw updated 111 files

0 commit comments

Comments
 (0)