diff --git a/.github/workflows/build_viewer.yml b/.github/workflows/build_viewer.yml index 1aeb6d6b0c..5c8697fc82 100644 --- a/.github/workflows/build_viewer.yml +++ b/.github/workflows/build_viewer.yml @@ -29,7 +29,7 @@ env: fallback_platform: ${platform} FS_RELEASE_CHAN: ${FS_RELEASE_TYPE}x64 FS_GRID: "GRID FLAGS NOT SET" - PYTHON: + PYTHON: Unknown jobs: build_matrix: @@ -38,7 +38,11 @@ jobs: os: [macos-15,ubuntu-24.04,windows-2022] grid: [sl,os] variant: [regular, avx] + include: + - os: ubuntu-24.04 + container_image: ubuntu:22.04 # only Linux uses a container runs-on: ${{ matrix.os }} + container: ${{ matrix.container_image }} outputs: viewer_channel: ${{ steps.channel.outputs.viewer_channel }} viewer_version: ${{ steps.version.outputs.viewer_version }} @@ -101,12 +105,16 @@ jobs: with: swap-storage: false - # - name: Set gcc version on Linux - # if: runner.os == 'Linux' - # run: | - # echo "CC=gcc-10" >> $GITHUB_ENV - # echo "CXX=g++-10" >> $GITHUB_ENV - + - name: Install GCC-14 + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y software-properties-common + sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + sudo apt-get update + sudo apt-get install -y gcc-14 g++-14 + echo "CC=gcc-14" >> $GITHUB_ENV + echo "CXX=g++-14" >> $GITHUB_ENV - name: Setup rclone and download the folder uses: beqjanus/setup-rclone@main diff --git a/indra/newview/gltf/asset.cpp b/indra/newview/gltf/asset.cpp index 28f30ae1c9..e6dd9c1749 100644 --- a/indra/newview/gltf/asset.cpp +++ b/indra/newview/gltf/asset.cpp @@ -606,10 +606,10 @@ bool Asset::prep() vertex_count[variant] += primitive.getVertexCount(); index_count[variant] += primitive.getIndexCount(); - +#ifdef SHOW_ASSERT // all primitives of a given variant and material should all have the same attribute mask llassert(attribute_mask == 0 || primitive.mAttributeMask == attribute_mask); -#ifdef SHOW_ASSERT + attribute_mask |= primitive.mAttributeMask; #endif }