Skip to content

Commit 9b166f8

Browse files
authored
Remove compiler flag to restore SNP build (#6779)
1 parent 05abf16 commit 9b166f8

File tree

4 files changed

+0
-72
lines changed

4 files changed

+0
-72
lines changed

.azure-pipelines-templates/build_check.yml

-4
This file was deleted.

.github/workflows/release.yml

-7
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ jobs:
9292
ninja -v | tee build.log
9393
shell: bash
9494

95-
- name: "Check Mitigation Flags"
96-
run: |
97-
cd build
98-
python3 ../scripts/build-check.py < build.log SNPCC
99-
shell: bash
100-
if: ${{ matrix.platform.name == 'snp' }}
101-
10295
- name: "Install Extended Testing Tools"
10396
run: |
10497
set -ex

cmake/preproject.cmake

-7
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,4 @@ function(add_warning_checks name)
7575
)
7676
endfunction()
7777

78-
set(SPECTRE_MITIGATION_FLAGS -mllvm -x86-speculative-load-hardening)
79-
if("${COMPILE_TARGET}" STREQUAL "snp")
80-
if(NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
81-
add_compile_options(${SPECTRE_MITIGATION_FLAGS})
82-
endif()
83-
endif()
84-
8578
set(CMAKE_CXX_STANDARD 20)

scripts/build-check.py

-54
This file was deleted.

0 commit comments

Comments
 (0)