File tree Expand file tree Collapse file tree 3 files changed +2
-26
lines changed
Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122
123123 - name : Prepare CMake
124124 working-directory : ${{runner.workspace}}/build
125- run : cmake -DCMAKE_BUILD_TYPE=Debug - DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release
125+ run : cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 $GITHUB_WORKSPACE -DOPT_BUILD_PLUTOSDR_SOURCE=ON -DOPT_BUILD_SOAPY_SOURCE=OFF -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_AUDIO_SINK=OFF -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_M17_DECODER=ON -DOPT_BUILD_PERSEUS_SOURCE=ON -DOPT_BUILD_AUDIO_SOURCE=OFF -DUSE_BUNDLE_DEFAULTS=ON -DCMAKE_BUILD_TYPE=Release
126126
127127 - name : Build
128128 working-directory : ${{runner.workspace}}/build
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
7171 if (MSVC )
7272 set (SDRPP_COMPILER_FLAGS /std:c++17 /EHsc)
7373 elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
74- set (SDRPP_COMPILER_FLAGS -g -Og -std=c++17 -Wno-unused-command -line-argument -undefined dynamic_lookup -fsanitize=address )
74+ set (SDRPP_COMPILER_FLAGS -g -Og -std=c++17 -Wno-unused-command -line-argument -undefined dynamic_lookup)
7575 else ()
7676 set (SDRPP_COMPILER_FLAGS -g -Og -std=c++17)
7777 endif ()
Original file line number Diff line number Diff line change 11#include < core.h>
22#include < stdio.h>
3- #include < unistd.h>
4-
5- extern char **environ;
63
74int main (int argc, char * argv[], char * envp[]) {
8- FILE* dump = fopen (" /Users/ryzerth/dump.txt" , " wb" );
9-
10- char buf[1024 ];
11- fprintf (dump, " Working directory: %s\n\n " , getcwd (buf, 1023 ));
12-
13- fprintf (dump, " Arguments:\n " );
14- fprintf (dump, " ----------\n " );
15- for (int i = 0 ; i < argc; i++) {
16- fprintf (dump, " %d: '%s'\n " , i, argv[i]);
17- }
18- fprintf (dump, " \n " );
19-
20- fprintf (dump, " Environment Variables:\n " );
21- fprintf (dump, " ----------\n " );
22- for (char ** env = environ; *env; env++) {
23- fprintf (dump, " %s\n " , *env);
24- }
25- fprintf (dump, " \n " );
26-
27- fclose (dump);
28-
295 return sdrpp_main (argc, argv);
306}
You can’t perform that action at this time.
0 commit comments