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
working-directory: ${{runner.workspace}}/build
run: make -j3
run: make VERBOSE=1 -j3
- name: Create Archive
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
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(airspy_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(airspyhf_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(audio_sink)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(bladerf_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -5,7 +5,7 @@ add_subdirectory("libcorrect/")
# Set compiler options
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)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
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)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(discord_integration)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fPIC)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(falcon9_decoder)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(file_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(frequency_manager)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(hackrf_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(limesdr_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(m17_decoder)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(meteor_demodulator)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(network_sink)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(new_portaudio_sink)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(plutosdr_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(audio_sink)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(radio)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(recorder)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rigctl_server)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rtl_sdr_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(rtl_tcp_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(scanner)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(sddc_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(sdrplay_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(soapy_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(spyserver_source)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(weather_sat_decoder)
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")
add_compile_options(-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
else ()