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