mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
adds fpic
This commit is contained in:
parent
f66f2c9c45
commit
0a13e56dd9
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
gcc-debug-build,
|
||||
clang-debug-build,
|
||||
clang-debug-asan-build,
|
||||
clang-debug-msan-build,
|
||||
]
|
||||
|
||||
include:
|
||||
@ -29,27 +30,26 @@ jobs:
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
flags: -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
- name: gcc-debug-build
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
flags: -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
- name: clang-release-build
|
||||
cc: clang
|
||||
cxx: clang++
|
||||
flags: -DCMAKE_BUILD_TYPE=Release
|
||||
long_tests: 1
|
||||
|
||||
- name: clang-debug-build
|
||||
cc: /usr/bin/clang
|
||||
cxx: /usr/bin/clang++
|
||||
flags: -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
- name: clang-debug-asan-build
|
||||
cc: /usr/bin/clang
|
||||
cxx: /usr/bin/clang++
|
||||
flags: -DCMAKE_BUILD_TYPE=Debug -DSANITIZERS=1
|
||||
cc: clang
|
||||
cxx: clang++
|
||||
flags: -DCMAKE_BUILD_TYPE=Release -DADDRSAN=1
|
||||
- name: clang-debug-msan-build
|
||||
cc: clang
|
||||
cxx: clang++
|
||||
flags: -DCMAKE_BUILD_TYPE=Release -DMEMSAN=1
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
|
@ -4,6 +4,7 @@ include(FetchContent)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
enable_language(C)
|
||||
enable_language(CXX)
|
||||
@ -35,6 +36,7 @@ FetchContent_Declare(
|
||||
FetchContent_Populate(gbench)
|
||||
|
||||
add_subdirectory(3rd/gtest)
|
||||
set(BUILD_PIC ON CACHE BOOL "")
|
||||
add_subdirectory(3rd/cpu_features)
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
Loading…
Reference in New Issue
Block a user