Skip to content

Commit

Permalink
Remove compiler flag to restore SNP build (#6779)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jan 27, 2025
1 parent 05abf16 commit 9b166f8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 72 deletions.
4 changes: 0 additions & 4 deletions .azure-pipelines-templates/build_check.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ jobs:
ninja -v | tee build.log
shell: bash

- name: "Check Mitigation Flags"
run: |
cd build
python3 ../scripts/build-check.py < build.log SNPCC
shell: bash
if: ${{ matrix.platform.name == 'snp' }}

- name: "Install Extended Testing Tools"
run: |
set -ex
Expand Down
7 changes: 0 additions & 7 deletions cmake/preproject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,4 @@ function(add_warning_checks name)
)
endfunction()

set(SPECTRE_MITIGATION_FLAGS -mllvm -x86-speculative-load-hardening)
if("${COMPILE_TARGET}" STREQUAL "snp")
if(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_compile_options(${SPECTRE_MITIGATION_FLAGS})
endif()
endif()

set(CMAKE_CXX_STANDARD 20)
54 changes: 0 additions & 54 deletions scripts/build-check.py

This file was deleted.

0 comments on commit 9b166f8

Please sign in to comment.