-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
89 changed files
with
29,354 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cmake_minimum_required(VERSION 3.11) | ||
project(miner C) | ||
|
||
set(CMAKE_C_STANDARD 99) | ||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
|
||
add_executable(miner main.c transactions.c transactions.h siggen.c nonce.h nonce.c siggen.h mempool.c mempool.h) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(miner PRIVATE Threads::Threads) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
all: miner | ||
|
||
miner: main.c siggen.c siggen.h nonce.c nonce.h | ||
gcc -Wall -lpthread -o miner main.c siggen.c nonce.c |
353 changes: 353 additions & 0 deletions
353
CSCI3120 - Operating Systems/A3/miner/cmake-build-debug/CMakeCache.txt
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
...120 - Operating Systems/A3/miner/cmake-build-debug/CMakeFiles/3.19.2/CMakeCCompiler.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") | ||
set(CMAKE_C_COMPILER_ARG1 "") | ||
set(CMAKE_C_COMPILER_ID "AppleClang") | ||
set(CMAKE_C_COMPILER_VERSION "11.0.0.11000033") | ||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "") | ||
set(CMAKE_C_COMPILER_WRAPPER "") | ||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") | ||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") | ||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") | ||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") | ||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") | ||
|
||
set(CMAKE_C_PLATFORM_ID "Darwin") | ||
set(CMAKE_C_SIMULATE_ID "") | ||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") | ||
set(CMAKE_C_SIMULATE_VERSION "") | ||
|
||
|
||
|
||
|
||
set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") | ||
set(CMAKE_C_COMPILER_AR "") | ||
set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") | ||
set(CMAKE_C_COMPILER_RANLIB "") | ||
set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") | ||
set(CMAKE_MT "") | ||
set(CMAKE_COMPILER_IS_GNUCC ) | ||
set(CMAKE_C_COMPILER_LOADED 1) | ||
set(CMAKE_C_COMPILER_WORKS TRUE) | ||
set(CMAKE_C_ABI_COMPILED TRUE) | ||
set(CMAKE_COMPILER_IS_MINGW ) | ||
set(CMAKE_COMPILER_IS_CYGWIN ) | ||
if(CMAKE_COMPILER_IS_CYGWIN) | ||
set(CYGWIN 1) | ||
set(UNIX 1) | ||
endif() | ||
|
||
set(CMAKE_C_COMPILER_ENV_VAR "CC") | ||
|
||
if(CMAKE_COMPILER_IS_MINGW) | ||
set(MINGW 1) | ||
endif() | ||
set(CMAKE_C_COMPILER_ID_RUN 1) | ||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) | ||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
set(CMAKE_C_LINKER_PREFERENCE 10) | ||
|
||
# Save compiler ABI information. | ||
set(CMAKE_C_SIZEOF_DATA_PTR "8") | ||
set(CMAKE_C_COMPILER_ABI "") | ||
set(CMAKE_C_LIBRARY_ARCHITECTURE "") | ||
|
||
if(CMAKE_C_SIZEOF_DATA_PTR) | ||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") | ||
endif() | ||
|
||
if(CMAKE_C_COMPILER_ABI) | ||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") | ||
endif() | ||
|
||
if(CMAKE_C_LIBRARY_ARCHITECTURE) | ||
set(CMAKE_LIBRARY_ARCHITECTURE "") | ||
endif() | ||
|
||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") | ||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) | ||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") | ||
endif() | ||
|
||
|
||
|
||
|
||
|
||
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include") | ||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") | ||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib") | ||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks") |
Binary file added
BIN
+4.2 KB
...ting Systems/A3/miner/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin
Binary file not shown.
15 changes: 15 additions & 0 deletions
15
CSCI3120 - Operating Systems/A3/miner/cmake-build-debug/CMakeFiles/3.19.2/CMakeSystem.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set(CMAKE_HOST_SYSTEM "Darwin-19.6.0") | ||
set(CMAKE_HOST_SYSTEM_NAME "Darwin") | ||
set(CMAKE_HOST_SYSTEM_VERSION "19.6.0") | ||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
|
||
|
||
|
||
set(CMAKE_SYSTEM "Darwin-19.6.0") | ||
set(CMAKE_SYSTEM_NAME "Darwin") | ||
set(CMAKE_SYSTEM_VERSION "19.6.0") | ||
set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
|
||
set(CMAKE_CROSSCOMPILING "FALSE") | ||
|
||
set(CMAKE_SYSTEM_LOADED 1) |
Oops, something went wrong.