More fixes + debugging macos ci

This commit is contained in:
AlexandreRouma 2021-10-03 02:04:02 +02:00
parent 8666aa07e7
commit a9d92d3a8e
31 changed files with 31 additions and 31 deletions

View File

@ -95,7 +95,7 @@ jobs:
- name: Build - name: Build
working-directory: ${{runner.workspace}}/build working-directory: ${{runner.workspace}}/build
run: make -j3 run: make VERBOSE=1 -j3
- name: Create Archive - name: Create Archive
working-directory: ${{runner.workspace}} working-directory: ${{runner.workspace}}

View File

@ -46,7 +46,7 @@ option(OPT_BUILD_RIGCTL_SERVER "Rigctl backend for controlling SDR++ with softwa
# Compiler arguments for each platform # Compiler arguments for each platform
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(airspy_source) project(airspy_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(airspyhf_source) project(airspyhf_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(audio_sink) project(audio_sink)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(bladerf_source) project(bladerf_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -5,7 +5,7 @@ add_subdirectory("libcorrect/")
# Set compiler options # Set compiler options
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(demo) project(demo)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(discord_integration) project(discord_integration)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fPIC) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fPIC)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(falcon9_decoder) project(falcon9_decoder)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(file_source) project(file_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(frequency_manager) project(frequency_manager)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(hackrf_source) project(hackrf_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(limesdr_source) project(limesdr_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(m17_decoder) project(m17_decoder)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(meteor_demodulator) project(meteor_demodulator)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(network_sink) project(network_sink)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(new_portaudio_sink) project(new_portaudio_sink)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(plutosdr_source) project(plutosdr_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(audio_sink) project(audio_sink)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(radio) project(radio)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(recorder) project(recorder)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rigctl_server) project(rigctl_server)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rtl_sdr_source) project(rtl_sdr_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rtl_tcp_source) project(rtl_tcp_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(scanner) project(scanner)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(sddc_source) project(sddc_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(sdrplay_source) project(sdrplay_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(soapy_source) project(soapy_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(spyserver_source) project(spyserver_source)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(weather_sat_decoder) project(weather_sat_decoder)
if (MSVC) if (MSVC)
add_compile_options(/O2 /std:c++17 /EHsc) add_compile_options(/O2 /Ob2 /std:c++17 /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else () else ()