Skip to content

Commit

Permalink
CXX flags to make it less verbose in GitHub Action (#10569)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper authored Dec 2, 2024
1 parent 3d73c9c commit a27f657
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
fi
- name: Upload logs
if: always() && contains(github.event.pull_request.labels.*.name, 'need-simple-ci-upload-artifact')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: logs-${{ matrix.test_suite }}-${{ matrix.cmake_generator }}-${{ matrix.cmake_build_type }}-shared-${{ matrix.build_shared_libs }}
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
then
exit 0
fi
python3 -m pip install -U pip setuptools wheel
python3 -m pip install -U pip "setuptools<=68.2.2" wheel
python3 -m pip install 'cryptography<2.2' oss2
python3 tools/package_mirror.py -i $PWD
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
git push
- name: Upload patch
if: ${{ failure() && steps.git_push.outcome == 'failure' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: license_and_format-${{ github.sha }}.patch
path: license_and_format.patch
Expand Down
3 changes: 3 additions & 0 deletions cmake/caches/ci/release/cpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ set(CUDA_NVCC_THREADS_NUMBER 8 CACHE STRING "")
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CUDA_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_FLAGS
"-Wno-unused-but-set-parameter -Wno-unused-variable -Wno-class-memaccess -Wno-cast-function-type -Wno-comment -Wno-reorder"
CACHE STRING "")
3 changes: 3 additions & 0 deletions cmake/caches/ci/release/cu118.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ set(CUDA_NVCC_THREADS_NUMBER 2 CACHE STRING "")
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CUDA_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_FLAGS
"-Wno-unused-but-set-parameter -Wno-unused-variable -Wno-class-memaccess -Wno-cast-function-type -Wno-comment -Wno-reorder"
CACHE STRING "")
3 changes: 3 additions & 0 deletions cmake/caches/ci/release/cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ set(CUDA_NVCC_THREADS_NUMBER 2 CACHE STRING "")
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CUDA_COMPILER_LAUNCHER ccache CACHE STRING "")
set(CMAKE_CXX_FLAGS
"-Wno-unused-but-set-parameter -Wno-unused-variable -Wno-class-memaccess -Wno-cast-function-type -Wno-comment -Wno-reorder"
CACHE STRING "")

0 comments on commit a27f657

Please sign in to comment.