diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt index 3419e07..bfdfa76 100644 --- a/build/CMakeCache.txt +++ b/build/CMakeCache.txt @@ -1,5 +1,5 @@ # This is the CMakeCache file. -# For build in directory: /home/pi/Repos/cs3100hw5/build +# For build in directory: /home/pi/Repos/cs3100hw6/build # It was generated by CMake: /usr/bin/cmake # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. @@ -166,10 +166,10 @@ CMAKE_STRIP:FILEPATH=/usr/bin/strip CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE //Value Computed by CMake -ComputePi_BINARY_DIR:STATIC=/home/pi/Repos/cs3100hw5/build +ComputePi_BINARY_DIR:STATIC=/home/pi/Repos/cs3100hw6/build //Value Computed by CMake -ComputePi_SOURCE_DIR:STATIC=/home/pi/Repos/cs3100hw5 +ComputePi_SOURCE_DIR:STATIC=/home/pi/Repos/cs3100hw6 ######################## @@ -179,7 +179,7 @@ ComputePi_SOURCE_DIR:STATIC=/home/pi/Repos/cs3100hw5 //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=/home/pi/Repos/cs3100hw5/build +CMAKE_CACHEFILE_DIR:INTERNAL=/home/pi/Repos/cs3100hw6/build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache @@ -242,7 +242,7 @@ CMAKE_GENERATOR_PLATFORM:INTERNAL= CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project -CMAKE_HOME_DIRECTORY:INTERNAL=/home/pi/Repos/cs3100hw5 +CMAKE_HOME_DIRECTORY:INTERNAL=/home/pi/Repos/cs3100hw6 //Install .so files without execute permission. CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER diff --git a/build/CMakeFiles/CMakeDirectoryInformation.cmake b/build/CMakeFiles/CMakeDirectoryInformation.cmake index a7a49a8..7b2e78d 100644 --- a/build/CMakeFiles/CMakeDirectoryInformation.cmake +++ b/build/CMakeFiles/CMakeDirectoryInformation.cmake @@ -2,8 +2,8 @@ # Generated by "Unix Makefiles" Generator, CMake Version 3.7 # Relative path conversion top directories. -set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/pi/Repos/cs3100hw5") -set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/pi/Repos/cs3100hw5/build") +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/pi/Repos/cs3100hw6") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/pi/Repos/cs3100hw6/build") # Force unix paths in dependencies. set(CMAKE_FORCE_UNIX_PATHS 1) diff --git a/build/CMakeFiles/CMakeOutput.log b/build/CMakeFiles/CMakeOutput.log index e715075..c33b210 100644 --- a/build/CMakeFiles/CMakeOutput.log +++ b/build/CMakeFiles/CMakeOutput.log @@ -10,7 +10,7 @@ The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" -The C compiler identification is GNU, found in "/home/pi/Repos/cs3100hw5/build/CMakeFiles/3.7.2/CompilerIdC/a.out" +The C compiler identification is GNU, found in "/home/pi/Repos/cs3100hw6/build/CMakeFiles/3.7.2/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ @@ -23,33 +23,33 @@ The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" -The CXX compiler identification is GNU, found in "/home/pi/Repos/cs3100hw5/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out" +The CXX compiler identification is GNU, found in "/home/pi/Repos/cs3100hw6/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_cee14/fast" -/usr/bin/make -f CMakeFiles/cmTC_cee14.dir/build.make CMakeFiles/cmTC_cee14.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_cee14.dir/testCCompiler.c.o -/usr/bin/cc -o CMakeFiles/cmTC_cee14.dir/testCCompiler.c.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp/testCCompiler.c -Linking C executable cmTC_cee14 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cee14.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_cee14.dir/testCCompiler.c.o -o cmTC_cee14 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_5dc19/fast" +/usr/bin/make -f CMakeFiles/cmTC_5dc19.dir/build.make CMakeFiles/cmTC_5dc19.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_5dc19.dir/testCCompiler.c.o +/usr/bin/cc -o CMakeFiles/cmTC_5dc19.dir/testCCompiler.c.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTC_5dc19 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5dc19.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_5dc19.dir/testCCompiler.c.o -o cmTC_5dc19 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_68e8b/fast" -/usr/bin/make -f CMakeFiles/cmTC_68e8b.dir/build.make CMakeFiles/cmTC_68e8b.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -/usr/bin/cc -o CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c -Linking C executable cmTC_68e8b -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68e8b.dir/link.txt --verbose=1 -/usr/bin/cc -v CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -o cmTC_68e8b -rdynamic +Run Build Command:"/usr/bin/make" "cmTC_bfd5a/fast" +/usr/bin/make -f CMakeFiles/cmTC_bfd5a.dir/build.make CMakeFiles/cmTC_bfd5a.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o +/usr/bin/cc -o CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c +Linking C executable cmTC_bfd5a +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bfd5a.dir/link.txt --verbose=1 +/usr/bin/cc -v CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -o cmTC_bfd5a -rdynamic Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper @@ -59,24 +59,24 @@ Thread model: posix gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1) COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/ LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_68e8b' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' - /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyGtSOy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_68e8b /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_68e8b' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfd5a' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' + /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccVo8XKc.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_bfd5a /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfd5a' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp] + ignore line: [Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp] ignore line: [] - ignore line: [Run Build Command:"/usr/bin/make" "cmTC_68e8b/fast"] - ignore line: [/usr/bin/make -f CMakeFiles/cmTC_68e8b.dir/build.make CMakeFiles/cmTC_68e8b.dir/build] - ignore line: [make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp'] - ignore line: [Building C object CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o] - ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c] - ignore line: [Linking C executable cmTC_68e8b] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68e8b.dir/link.txt --verbose=1] - ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -o cmTC_68e8b -rdynamic ] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_bfd5a/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_bfd5a.dir/build.make CMakeFiles/cmTC_bfd5a.dir/build] + ignore line: [make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c] + ignore line: [Linking C executable cmTC_bfd5a] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bfd5a.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -o cmTC_bfd5a -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/cc] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] @@ -86,13 +86,13 @@ Parsed C implicit link information from above output: ignore line: [gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_68e8b' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] - link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccyGtSOy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_68e8b /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bfd5a' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] + link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccVo8XKc.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_bfd5a /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] arg [/usr/lib/gcc/arm-linux-gnueabihf/6/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/ccyGtSOy.res] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccVo8XKc.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore @@ -109,7 +109,7 @@ Parsed C implicit link information from above output: arg [-m] ==> ignore arg [armelf_linux_eabi] ==> ignore arg [-o] ==> ignore - arg [cmTC_68e8b] ==> ignore + arg [cmTC_bfd5a] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o] ==> ignore @@ -118,7 +118,7 @@ Parsed C implicit link information from above output: arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf] arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf] - arg [CMakeFiles/cmTC_68e8b.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [CMakeFiles/cmTC_bfd5a.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] @@ -147,17 +147,17 @@ Parsed C implicit link information from above output: Detecting C [-std=c11] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_d9aa0/fast" -/usr/bin/make -f CMakeFiles/cmTC_d9aa0.dir/build.make CMakeFiles/cmTC_d9aa0.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_d9aa0.dir/feature_tests.c.o -/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_d9aa0.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_d9aa0 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9aa0.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_d9aa0.dir/feature_tests.c.o -o cmTC_d9aa0 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_94598/fast" +/usr/bin/make -f CMakeFiles/cmTC_94598.dir/build.make CMakeFiles/cmTC_94598.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_94598.dir/feature_tests.c.o +/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_94598.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_94598 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94598.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_94598.dir/feature_tests.c.o -o cmTC_94598 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes @@ -167,17 +167,17 @@ make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' Detecting C [-std=c99] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_fffca/fast" -/usr/bin/make -f CMakeFiles/cmTC_fffca.dir/build.make CMakeFiles/cmTC_fffca.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_fffca.dir/feature_tests.c.o -/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_fffca.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_fffca -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fffca.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_fffca.dir/feature_tests.c.o -o cmTC_fffca -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_8569c/fast" +/usr/bin/make -f CMakeFiles/cmTC_8569c.dir/build.make CMakeFiles/cmTC_8569c.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_8569c.dir/feature_tests.c.o +/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_8569c.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_8569c +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8569c.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_8569c.dir/feature_tests.c.o -o cmTC_8569c -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes @@ -187,17 +187,17 @@ make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' Detecting C [-std=c90] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_a0055/fast" -/usr/bin/make -f CMakeFiles/cmTC_a0055.dir/build.make CMakeFiles/cmTC_a0055.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_a0055.dir/feature_tests.c.o -/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_a0055.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_a0055 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a0055.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_a0055.dir/feature_tests.c.o -o cmTC_a0055 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_0f3fd/fast" +/usr/bin/make -f CMakeFiles/cmTC_0f3fd.dir/build.make CMakeFiles/cmTC_0f3fd.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_0f3fd.dir/feature_tests.c.o +/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_0f3fd.dir/feature_tests.c.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_0f3fd +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f3fd.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_0f3fd.dir/feature_tests.c.o -o cmTC_0f3fd -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes @@ -205,30 +205,30 @@ make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:0c_static_assert Feature record: C_FEATURE:0c_variadic_macros Determining if the CXX compiler works passed with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_0a3c9/fast" -/usr/bin/make -f CMakeFiles/cmTC_0a3c9.dir/build.make CMakeFiles/cmTC_0a3c9.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_0a3c9.dir/testCXXCompiler.cxx.o -/usr/bin/c++ -o CMakeFiles/cmTC_0a3c9.dir/testCXXCompiler.cxx.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx -Linking CXX executable cmTC_0a3c9 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0a3c9.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_0a3c9.dir/testCXXCompiler.cxx.o -o cmTC_0a3c9 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_ee2e6/fast" +/usr/bin/make -f CMakeFiles/cmTC_ee2e6.dir/build.make CMakeFiles/cmTC_ee2e6.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_ee2e6.dir/testCXXCompiler.cxx.o +/usr/bin/c++ -o CMakeFiles/cmTC_ee2e6.dir/testCXXCompiler.cxx.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTC_ee2e6 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee2e6.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_ee2e6.dir/testCXXCompiler.cxx.o -o cmTC_ee2e6 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_7afde/fast" -/usr/bin/make -f CMakeFiles/cmTC_7afde.dir/build.make CMakeFiles/cmTC_7afde.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -/usr/bin/c++ -o CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp -Linking CXX executable cmTC_7afde -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7afde.dir/link.txt --verbose=1 -/usr/bin/c++ -v CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7afde -rdynamic +Run Build Command:"/usr/bin/make" "cmTC_6db31/fast" +/usr/bin/make -f CMakeFiles/cmTC_6db31.dir/build.make CMakeFiles/cmTC_6db31.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/c++ -o CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp +Linking CXX executable cmTC_6db31 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6db31.dir/link.txt --verbose=1 +/usr/bin/c++ -v CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_6db31 -rdynamic Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper @@ -238,24 +238,24 @@ Thread model: posix gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1) COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/ LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7afde' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' - /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/cc3ar8SM.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_7afde /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7afde' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6db31' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' + /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccI7yhXy.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_6db31 /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6db31' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp] + ignore line: [Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp] ignore line: [] - ignore line: [Run Build Command:"/usr/bin/make" "cmTC_7afde/fast"] - ignore line: [/usr/bin/make -f CMakeFiles/cmTC_7afde.dir/build.make CMakeFiles/cmTC_7afde.dir/build] - ignore line: [make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp'] - ignore line: [Building CXX object CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp] - ignore line: [Linking CXX executable cmTC_7afde] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7afde.dir/link.txt --verbose=1] - ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7afde -rdynamic ] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_6db31/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_6db31.dir/build.make CMakeFiles/cmTC_6db31.dir/build] + ignore line: [make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp'] + ignore line: [Building CXX object CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Linking CXX executable cmTC_6db31] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6db31.dir/link.txt --verbose=1] + ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_6db31 -rdynamic ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] @@ -265,13 +265,13 @@ Parsed CXX implicit link information from above output: ignore line: [gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7afde' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] - link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/cc3ar8SM.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_7afde /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6db31' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] + link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccI7yhXy.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_6db31 /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] arg [/usr/lib/gcc/arm-linux-gnueabihf/6/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/cc3ar8SM.res] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccI7yhXy.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore @@ -288,7 +288,7 @@ Parsed CXX implicit link information from above output: arg [-m] ==> ignore arg [armelf_linux_eabi] ==> ignore arg [-o] ==> ignore - arg [cmTC_7afde] ==> ignore + arg [cmTC_6db31] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o] ==> ignore arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o] ==> ignore @@ -297,7 +297,7 @@ Parsed CXX implicit link information from above output: arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf] arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf] - arg [CMakeFiles/cmTC_7afde.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [CMakeFiles/cmTC_6db31.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] @@ -324,17 +324,17 @@ Parsed CXX implicit link information from above output: Detecting CXX [-std=c++14] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_3c297/fast" -/usr/bin/make -f CMakeFiles/cmTC_3c297.dir/build.make CMakeFiles/cmTC_3c297.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_3c297.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_3c297.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_3c297 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3c297.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_3c297.dir/feature_tests.cxx.o -o cmTC_3c297 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_123a2/fast" +/usr/bin/make -f CMakeFiles/cmTC_123a2.dir/build.make CMakeFiles/cmTC_123a2.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_123a2.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_123a2.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_123a2 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_123a2.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_123a2.dir/feature_tests.cxx.o -o cmTC_123a2 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers @@ -397,17 +397,17 @@ make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' Detecting CXX [-std=c++11] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_51d7a/fast" -/usr/bin/make -f CMakeFiles/cmTC_51d7a.dir/build.make CMakeFiles/cmTC_51d7a.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_51d7a.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_51d7a.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_51d7a -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51d7a.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_51d7a.dir/feature_tests.cxx.o -o cmTC_51d7a -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_803d9/fast" +/usr/bin/make -f CMakeFiles/cmTC_803d9.dir/build.make CMakeFiles/cmTC_803d9.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_803d9.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_803d9.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_803d9 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_803d9.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_803d9.dir/feature_tests.cxx.o -o cmTC_803d9 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers @@ -470,17 +470,17 @@ make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' Detecting CXX [-std=c++98] compiler features compiled with the following output: -Change Dir: /home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp +Change Dir: /home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_f4471/fast" -/usr/bin/make -f CMakeFiles/cmTC_f4471.dir/build.make CMakeFiles/cmTC_f4471.dir/build -make[1]: Entering directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_f4471.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_f4471.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw5/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_f4471 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f4471.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_f4471.dir/feature_tests.cxx.o -o cmTC_f4471 -rdynamic -make[1]: Leaving directory '/home/pi/Repos/cs3100hw5/build/CMakeFiles/CMakeTmp' +Run Build Command:"/usr/bin/make" "cmTC_7f347/fast" +/usr/bin/make -f CMakeFiles/cmTC_7f347.dir/build.make CMakeFiles/cmTC_7f347.dir/build +make[1]: Entering directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_7f347.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_7f347.dir/feature_tests.cxx.o -c /home/pi/Repos/cs3100hw6/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_7f347 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f347.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_7f347.dir/feature_tests.cxx.o -o cmTC_7f347 -rdynamic +make[1]: Leaving directory '/home/pi/Repos/cs3100hw6/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers diff --git a/build/CMakeFiles/ComputePi.dir/CXX.includecache b/build/CMakeFiles/ComputePi.dir/CXX.includecache index 529bb9a..1be9da9 100644 --- a/build/CMakeFiles/ComputePi.dir/CXX.includecache +++ b/build/CMakeFiles/ComputePi.dir/CXX.includecache @@ -6,29 +6,29 @@ #IncludeRegexTransform: -/home/pi/Repos/cs3100hw5/FifoQueue.cpp +/home/pi/Repos/cs3100hw6/FifoQueue.cpp FifoQueue.hpp -/home/pi/Repos/cs3100hw5/FifoQueue.hpp +/home/pi/Repos/cs3100hw6/FifoQueue.hpp -/home/pi/Repos/cs3100hw5/FifoQueue.hpp +/home/pi/Repos/cs3100hw6/FifoQueue.hpp queue - mutex - -/home/pi/Repos/cs3100hw5/Map.cpp +/home/pi/Repos/cs3100hw6/Map.cpp Map.hpp -/home/pi/Repos/cs3100hw5/Map.hpp +/home/pi/Repos/cs3100hw6/Map.hpp -/home/pi/Repos/cs3100hw5/Map.hpp +/home/pi/Repos/cs3100hw6/Map.hpp unordered_map - mutex - -/home/pi/Repos/cs3100hw5/computePi.cpp +/home/pi/Repos/cs3100hw6/computePi.cpp computePi.hpp -/home/pi/Repos/cs3100hw5/computePi.hpp +/home/pi/Repos/cs3100hw6/computePi.hpp cstdlib - cmath @@ -36,11 +36,15 @@ cmath string - -/home/pi/Repos/cs3100hw5/computePi.hpp +/home/pi/Repos/cs3100hw6/computePi.hpp -/home/pi/Repos/cs3100hw5/main.cpp +/home/pi/Repos/cs3100hw6/main.cpp iostream - +fstream +- +string +- thread - vector @@ -48,9 +52,9 @@ vector memory - FifoQueue.hpp -/home/pi/Repos/cs3100hw5/FifoQueue.hpp +/home/pi/Repos/cs3100hw6/FifoQueue.hpp Map.hpp -/home/pi/Repos/cs3100hw5/Map.hpp +/home/pi/Repos/cs3100hw6/Map.hpp computePi.hpp -/home/pi/Repos/cs3100hw5/computePi.hpp +/home/pi/Repos/cs3100hw6/computePi.hpp diff --git a/build/CMakeFiles/ComputePi.dir/DependInfo.cmake b/build/CMakeFiles/ComputePi.dir/DependInfo.cmake index 2ec482f..d6c0703 100644 --- a/build/CMakeFiles/ComputePi.dir/DependInfo.cmake +++ b/build/CMakeFiles/ComputePi.dir/DependInfo.cmake @@ -4,10 +4,10 @@ set(CMAKE_DEPENDS_LANGUAGES ) # The set of files for implicit dependencies of each language: set(CMAKE_DEPENDS_CHECK_CXX - "/home/pi/Repos/cs3100hw5/FifoQueue.cpp" "/home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir/FifoQueue.cpp.o" - "/home/pi/Repos/cs3100hw5/Map.cpp" "/home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir/Map.cpp.o" - "/home/pi/Repos/cs3100hw5/computePi.cpp" "/home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir/computePi.cpp.o" - "/home/pi/Repos/cs3100hw5/main.cpp" "/home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir/main.cpp.o" + "/home/pi/Repos/cs3100hw6/FifoQueue.cpp" "/home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir/FifoQueue.cpp.o" + "/home/pi/Repos/cs3100hw6/Map.cpp" "/home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir/Map.cpp.o" + "/home/pi/Repos/cs3100hw6/computePi.cpp" "/home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir/computePi.cpp.o" + "/home/pi/Repos/cs3100hw6/main.cpp" "/home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir/main.cpp.o" ) set(CMAKE_CXX_COMPILER_ID "GNU") diff --git a/build/CMakeFiles/ComputePi.dir/build.make b/build/CMakeFiles/ComputePi.dir/build.make index 235d1a1..27716b2 100644 --- a/build/CMakeFiles/ComputePi.dir/build.make +++ b/build/CMakeFiles/ComputePi.dir/build.make @@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f EQUALS = = # The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw5 +CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw6 # The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw5/build +CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw6/build # Include any dependencies generated for this target. include CMakeFiles/ComputePi.dir/depend.make @@ -59,16 +59,16 @@ include CMakeFiles/ComputePi.dir/flags.make CMakeFiles/ComputePi.dir/main.cpp.o: CMakeFiles/ComputePi.dir/flags.make CMakeFiles/ComputePi.dir/main.cpp.o: ../main.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/ComputePi.dir/main.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/main.cpp.o -c /home/pi/Repos/cs3100hw5/main.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/ComputePi.dir/main.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/main.cpp.o -c /home/pi/Repos/cs3100hw6/main.cpp CMakeFiles/ComputePi.dir/main.cpp.i: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ComputePi.dir/main.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw5/main.cpp > CMakeFiles/ComputePi.dir/main.cpp.i + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw6/main.cpp > CMakeFiles/ComputePi.dir/main.cpp.i CMakeFiles/ComputePi.dir/main.cpp.s: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ComputePi.dir/main.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw5/main.cpp -o CMakeFiles/ComputePi.dir/main.cpp.s + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw6/main.cpp -o CMakeFiles/ComputePi.dir/main.cpp.s CMakeFiles/ComputePi.dir/main.cpp.o.requires: @@ -83,16 +83,16 @@ CMakeFiles/ComputePi.dir/main.cpp.o.provides.build: CMakeFiles/ComputePi.dir/mai CMakeFiles/ComputePi.dir/computePi.cpp.o: CMakeFiles/ComputePi.dir/flags.make CMakeFiles/ComputePi.dir/computePi.cpp.o: ../computePi.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/ComputePi.dir/computePi.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/computePi.cpp.o -c /home/pi/Repos/cs3100hw5/computePi.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/ComputePi.dir/computePi.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/computePi.cpp.o -c /home/pi/Repos/cs3100hw6/computePi.cpp CMakeFiles/ComputePi.dir/computePi.cpp.i: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ComputePi.dir/computePi.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw5/computePi.cpp > CMakeFiles/ComputePi.dir/computePi.cpp.i + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw6/computePi.cpp > CMakeFiles/ComputePi.dir/computePi.cpp.i CMakeFiles/ComputePi.dir/computePi.cpp.s: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ComputePi.dir/computePi.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw5/computePi.cpp -o CMakeFiles/ComputePi.dir/computePi.cpp.s + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw6/computePi.cpp -o CMakeFiles/ComputePi.dir/computePi.cpp.s CMakeFiles/ComputePi.dir/computePi.cpp.o.requires: @@ -107,16 +107,16 @@ CMakeFiles/ComputePi.dir/computePi.cpp.o.provides.build: CMakeFiles/ComputePi.di CMakeFiles/ComputePi.dir/Map.cpp.o: CMakeFiles/ComputePi.dir/flags.make CMakeFiles/ComputePi.dir/Map.cpp.o: ../Map.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/ComputePi.dir/Map.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/Map.cpp.o -c /home/pi/Repos/cs3100hw5/Map.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/ComputePi.dir/Map.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/Map.cpp.o -c /home/pi/Repos/cs3100hw6/Map.cpp CMakeFiles/ComputePi.dir/Map.cpp.i: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ComputePi.dir/Map.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw5/Map.cpp > CMakeFiles/ComputePi.dir/Map.cpp.i + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw6/Map.cpp > CMakeFiles/ComputePi.dir/Map.cpp.i CMakeFiles/ComputePi.dir/Map.cpp.s: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ComputePi.dir/Map.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw5/Map.cpp -o CMakeFiles/ComputePi.dir/Map.cpp.s + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw6/Map.cpp -o CMakeFiles/ComputePi.dir/Map.cpp.s CMakeFiles/ComputePi.dir/Map.cpp.o.requires: @@ -131,16 +131,16 @@ CMakeFiles/ComputePi.dir/Map.cpp.o.provides.build: CMakeFiles/ComputePi.dir/Map. CMakeFiles/ComputePi.dir/FifoQueue.cpp.o: CMakeFiles/ComputePi.dir/flags.make CMakeFiles/ComputePi.dir/FifoQueue.cpp.o: ../FifoQueue.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/ComputePi.dir/FifoQueue.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/FifoQueue.cpp.o -c /home/pi/Repos/cs3100hw5/FifoQueue.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/ComputePi.dir/FifoQueue.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ComputePi.dir/FifoQueue.cpp.o -c /home/pi/Repos/cs3100hw6/FifoQueue.cpp CMakeFiles/ComputePi.dir/FifoQueue.cpp.i: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ComputePi.dir/FifoQueue.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw5/FifoQueue.cpp > CMakeFiles/ComputePi.dir/FifoQueue.cpp.i + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/pi/Repos/cs3100hw6/FifoQueue.cpp > CMakeFiles/ComputePi.dir/FifoQueue.cpp.i CMakeFiles/ComputePi.dir/FifoQueue.cpp.s: cmake_force @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ComputePi.dir/FifoQueue.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw5/FifoQueue.cpp -o CMakeFiles/ComputePi.dir/FifoQueue.cpp.s + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/pi/Repos/cs3100hw6/FifoQueue.cpp -o CMakeFiles/ComputePi.dir/FifoQueue.cpp.s CMakeFiles/ComputePi.dir/FifoQueue.cpp.o.requires: @@ -169,7 +169,7 @@ ComputePi: CMakeFiles/ComputePi.dir/Map.cpp.o ComputePi: CMakeFiles/ComputePi.dir/FifoQueue.cpp.o ComputePi: CMakeFiles/ComputePi.dir/build.make ComputePi: CMakeFiles/ComputePi.dir/link.txt - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Linking CXX executable ComputePi" + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Linking CXX executable ComputePi" $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ComputePi.dir/link.txt --verbose=$(VERBOSE) # Rule to build all files generated by this target. @@ -189,6 +189,6 @@ CMakeFiles/ComputePi.dir/clean: .PHONY : CMakeFiles/ComputePi.dir/clean CMakeFiles/ComputePi.dir/depend: - cd /home/pi/Repos/cs3100hw5/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/pi/Repos/cs3100hw5 /home/pi/Repos/cs3100hw5 /home/pi/Repos/cs3100hw5/build /home/pi/Repos/cs3100hw5/build /home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir/DependInfo.cmake --color=$(COLOR) + cd /home/pi/Repos/cs3100hw6/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/pi/Repos/cs3100hw6 /home/pi/Repos/cs3100hw6 /home/pi/Repos/cs3100hw6/build /home/pi/Repos/cs3100hw6/build /home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir/DependInfo.cmake --color=$(COLOR) .PHONY : CMakeFiles/ComputePi.dir/depend diff --git a/build/CMakeFiles/ComputePi.dir/depend.internal b/build/CMakeFiles/ComputePi.dir/depend.internal index b10ec82..081b887 100644 --- a/build/CMakeFiles/ComputePi.dir/depend.internal +++ b/build/CMakeFiles/ComputePi.dir/depend.internal @@ -2,16 +2,16 @@ # Generated by "Unix Makefiles" Generator, CMake Version 3.7 CMakeFiles/ComputePi.dir/FifoQueue.cpp.o - /home/pi/Repos/cs3100hw5/FifoQueue.cpp - /home/pi/Repos/cs3100hw5/FifoQueue.hpp + /home/pi/Repos/cs3100hw6/FifoQueue.cpp + /home/pi/Repos/cs3100hw6/FifoQueue.hpp CMakeFiles/ComputePi.dir/Map.cpp.o - /home/pi/Repos/cs3100hw5/Map.cpp - /home/pi/Repos/cs3100hw5/Map.hpp + /home/pi/Repos/cs3100hw6/Map.cpp + /home/pi/Repos/cs3100hw6/Map.hpp CMakeFiles/ComputePi.dir/computePi.cpp.o - /home/pi/Repos/cs3100hw5/computePi.cpp - /home/pi/Repos/cs3100hw5/computePi.hpp + /home/pi/Repos/cs3100hw6/computePi.cpp + /home/pi/Repos/cs3100hw6/computePi.hpp CMakeFiles/ComputePi.dir/main.cpp.o - /home/pi/Repos/cs3100hw5/FifoQueue.hpp - /home/pi/Repos/cs3100hw5/Map.hpp - /home/pi/Repos/cs3100hw5/computePi.hpp - /home/pi/Repos/cs3100hw5/main.cpp + /home/pi/Repos/cs3100hw6/FifoQueue.hpp + /home/pi/Repos/cs3100hw6/Map.hpp + /home/pi/Repos/cs3100hw6/computePi.hpp + /home/pi/Repos/cs3100hw6/main.cpp diff --git a/build/CMakeFiles/ComputePi.dir/main.cpp.o b/build/CMakeFiles/ComputePi.dir/main.cpp.o index 112ea9e..4da26d8 100644 Binary files a/build/CMakeFiles/ComputePi.dir/main.cpp.o and b/build/CMakeFiles/ComputePi.dir/main.cpp.o differ diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake index 284c099..39ee16b 100644 --- a/build/CMakeFiles/Makefile.cmake +++ b/build/CMakeFiles/Makefile.cmake @@ -11,16 +11,81 @@ set(CMAKE_MAKEFILE_DEPENDS "CMakeFiles/3.7.2/CMakeCCompiler.cmake" "CMakeFiles/3.7.2/CMakeCXXCompiler.cmake" "CMakeFiles/3.7.2/CMakeSystem.cmake" + "CMakeFiles/feature_tests.c" + "CMakeFiles/feature_tests.cxx" + "/usr/share/cmake-3.7/Modules/CMakeCCompiler.cmake.in" + "/usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c" "/usr/share/cmake-3.7/Modules/CMakeCInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeCXXCompiler.cmake.in" + "/usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp" "/usr/share/cmake-3.7/Modules/CMakeCXXInformation.cmake" "/usr/share/cmake-3.7/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake-3.7/Modules/CMakeCompilerIdDetection.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCXXCompiler.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineCompilerId.cmake" + "/usr/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake" + "/usr/share/cmake-3.7/Modules/CMakeFindBinUtils.cmake" "/usr/share/cmake-3.7/Modules/CMakeGenericSystem.cmake" "/usr/share/cmake-3.7/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeParseArguments.cmake" + "/usr/share/cmake-3.7/Modules/CMakeParseImplicitLinkInfo.cmake" + "/usr/share/cmake-3.7/Modules/CMakeSystem.cmake.in" "/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInformation.cmake" "/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake" + "/usr/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake" + "/usr/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake" + "/usr/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/ADSP-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/ARMCC-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/AppleClang-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Borland-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Bruce-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Clang-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Clang-DetermineCompilerInternal.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Compaq-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Cray-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Embarcadero-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Fujitsu-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GHS-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU-C-FeatureTests.cmake" "/usr/share/cmake-3.7/Modules/Compiler/GNU-C.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU-CXX-FeatureTests.cmake" "/usr/share/cmake-3.7/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU-DetermineCompiler.cmake" "/usr/share/cmake-3.7/Modules/Compiler/GNU.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/HP-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/HP-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/IAR-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Intel-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/MIPSpro-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/MSVC-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/PGI-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/PathScale-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/SCO-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/SDCC-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/SunPro-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/TI-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/Watcom-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/XL-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/XL-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/zOS-C-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake" + "/usr/share/cmake-3.7/Modules/Internal/FeatureTesting.cmake" + "/usr/share/cmake-3.7/Modules/Platform/Linux-Determine-CXX.cmake" "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-C.cmake" "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-CXX.cmake" "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU.cmake" @@ -36,6 +101,11 @@ set(CMAKE_MAKEFILE_OUTPUTS # Byproducts of CMake generate step: set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/3.7.2/CMakeSystem.cmake" + "CMakeFiles/3.7.2/CMakeCCompiler.cmake" + "CMakeFiles/3.7.2/CMakeCXXCompiler.cmake" + "CMakeFiles/3.7.2/CMakeCCompiler.cmake" + "CMakeFiles/3.7.2/CMakeCXXCompiler.cmake" "CMakeFiles/CMakeDirectoryInformation.cmake" ) diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2 index 006f26a..eed8f27 100644 --- a/build/CMakeFiles/Makefile2 +++ b/build/CMakeFiles/Makefile2 @@ -54,10 +54,10 @@ RM = /usr/bin/cmake -E remove -f EQUALS = = # The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw5 +CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw6 # The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw5/build +CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw6/build #============================================================================= # Target rules for target CMakeFiles/ComputePi.dir @@ -66,7 +66,7 @@ CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw5/build CMakeFiles/ComputePi.dir/all: $(MAKE) -f CMakeFiles/ComputePi.dir/build.make CMakeFiles/ComputePi.dir/depend $(MAKE) -f CMakeFiles/ComputePi.dir/build.make CMakeFiles/ComputePi.dir/build - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/pi/Repos/cs3100hw5/build/CMakeFiles --progress-num=1,2,3,4,5 "Built target ComputePi" + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/pi/Repos/cs3100hw6/build/CMakeFiles --progress-num=1,2,3,4,5 "Built target ComputePi" .PHONY : CMakeFiles/ComputePi.dir/all # Include target in all. @@ -76,9 +76,9 @@ all: CMakeFiles/ComputePi.dir/all # Build rule for subdir invocation for target. CMakeFiles/ComputePi.dir/rule: cmake_check_build_system - $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw5/build/CMakeFiles 5 + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw6/build/CMakeFiles 5 $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ComputePi.dir/all - $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw5/build/CMakeFiles 0 + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw6/build/CMakeFiles 0 .PHONY : CMakeFiles/ComputePi.dir/rule # Convenience name for target. diff --git a/build/CMakeFiles/TargetDirectories.txt b/build/CMakeFiles/TargetDirectories.txt index 9a08314..968c126 100644 --- a/build/CMakeFiles/TargetDirectories.txt +++ b/build/CMakeFiles/TargetDirectories.txt @@ -1,3 +1,3 @@ -/home/pi/Repos/cs3100hw5/build/CMakeFiles/rebuild_cache.dir -/home/pi/Repos/cs3100hw5/build/CMakeFiles/edit_cache.dir -/home/pi/Repos/cs3100hw5/build/CMakeFiles/ComputePi.dir +/home/pi/Repos/cs3100hw6/build/CMakeFiles/rebuild_cache.dir +/home/pi/Repos/cs3100hw6/build/CMakeFiles/edit_cache.dir +/home/pi/Repos/cs3100hw6/build/CMakeFiles/ComputePi.dir diff --git a/build/ComputePi b/build/ComputePi index 7b81a29..9817d9d 100755 Binary files a/build/ComputePi and b/build/ComputePi differ diff --git a/build/Makefile b/build/Makefile index b36acbf..f569809 100644 --- a/build/Makefile +++ b/build/Makefile @@ -48,10 +48,10 @@ RM = /usr/bin/cmake -E remove -f EQUALS = = # The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw5 +CMAKE_SOURCE_DIR = /home/pi/Repos/cs3100hw6 # The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw5/build +CMAKE_BINARY_DIR = /home/pi/Repos/cs3100hw6/build #============================================================================= # Targets provided globally by CMake. @@ -80,9 +80,9 @@ edit_cache/fast: edit_cache # The main all target all: cmake_check_build_system - $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw5/build/CMakeFiles /home/pi/Repos/cs3100hw5/build/CMakeFiles/progress.marks + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw6/build/CMakeFiles /home/pi/Repos/cs3100hw6/build/CMakeFiles/progress.marks $(MAKE) -f CMakeFiles/Makefile2 all - $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw5/build/CMakeFiles 0 + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/Repos/cs3100hw6/build/CMakeFiles 0 .PHONY : all # The main clean target diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake index 859fee0..07a1d68 100644 --- a/build/cmake_install.cmake +++ b/build/cmake_install.cmake @@ -1,4 +1,4 @@ -# Install script for directory: /home/pi/Repos/cs3100hw5 +# Install script for directory: /home/pi/Repos/cs3100hw6 # Set the install prefix if(NOT DEFINED CMAKE_INSTALL_PREFIX) @@ -40,5 +40,5 @@ endif() string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "/home/pi/Repos/cs3100hw5/build/${CMAKE_INSTALL_MANIFEST}" +file(WRITE "/home/pi/Repos/cs3100hw6/build/${CMAKE_INSTALL_MANIFEST}" "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/main.cpp b/main.cpp index b60a05e..c016244 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,6 @@ #include +#include +#include #include #include #include @@ -9,16 +11,14 @@ void threadWorker(std::uint16_t threadNum, FifoQueue* threadSafeQueue, Map* threadSafeMap) { - while(!threadSafeQueue->empty()){ - int index = threadSafeQueue->front(); - threadSafeQueue->pop(); - unsigned int piDigit = computePiDigit(index); - threadSafeMap->safeInsert(index, piDigit); - std::cout << "."; - std::cout.flush(); - } - - + while(!threadSafeQueue->empty()){ + int index = threadSafeQueue->front(); + threadSafeQueue->pop(); + unsigned int piDigit = computePiDigit(index); + threadSafeMap->safeInsert(index, piDigit); + std::cout << "."; + std::cout.flush(); + } } @@ -29,24 +29,49 @@ int main() { for(int i = 1; i <= 1000; i++){ threadSafeQueue->push(i); } - // - // Make as many threads as there are CPU cores + // + // Make as many threads as there are CPU cores // Assign them to run our threadWorker function, and supply arguments as necessary for that function - std::vector> threads; - for (std::uint16_t core = 0; core < std::thread::hardware_concurrency(); core++) + std::vector> threads; + for (std::uint16_t core = 0; core < std::thread::hardware_concurrency(); core++) // The arguments you wish to pass to threadWorker are passed as // arguments to the constructor of std::thread - threads.push_back(std::make_shared(threadWorker, core, threadSafeQueue, threadSafeMap)); + threads.push_back(std::make_shared(threadWorker, core, threadSafeQueue, threadSafeMap)); - // - // Wait for all of these threads to complete - for (auto&& thread : threads) - thread->join(); + // + // Wait for all of these threads to complete + for (auto&& thread : threads) + thread->join(); + std::cout << std::endl << std::endl; - std::cout << std::endl << std::endl << "3."; - - for(int i = 1; i <= 1000; i++){ - std::cout << threadSafeMap->find(i); + std::ifstream piShape("../piShape.txt"); + if(piShape.is_open()){ + std::string c; + int t = 0; + int j = 1; + while(getline(piShape, c)){ + for(int i = 0; i < c.size(); i++){ + if(c[i] == ' '){ + std::cout << " "; + } + else{ + if(t == 0){ + std::cout << "3"; + t++; + } + else if(t == 1){ + std::cout<<"."; + t++; + }else{ + std::cout << threadSafeMap->find(j); j++; + } + } + } + std::cout << std::endl; + } } - return 0; + else{std::cout << "file piShape.txt not found or could not be opened" << std::endl;} + + // std::cout << threadSafeMap->find(i); + return 0; } diff --git a/piShape.txt b/piShape.txt new file mode 100644 index 0000000..0d2f7f9 --- /dev/null +++ b/piShape.txt @@ -0,0 +1,42 @@ + 3334159265358979323846264338327950 + 3.14159265358979323846264338327950288 + 3141592653589793238462643383279502884197 + 1693993751058209749445923078164062862089986 + 280348253421170679821480865132823066470938446 + 0955058223172535940812848111745028410270193852 + 0955058223172535940812848111745028410270193852 + 11055596446229489549303819644288109756659334461 + 284756482337867831652712019091456485669234603486 + 104543266482133936072602491412737245870066063155 + 881748815209209628292540917153643678925903600113 + 30530548820 46652 13841 + 3053054882 46652 13841 + 4695194 15116 094330 +572703 65759 59195 +30921 861173 81932 +6117 93105 11854 +111 807446 23799 +11 627495 673518 +1 857527 248912 + 279381 830119 + 491298 336733 + 6244065 664308 + 6021394 9463952 + 2473719 07021798 + 6094370 27705392 + 17176293 17675238 + 46748184 676694051 + 32000568 127145263 + 56082778 577134275 + 778960917 3637178721 + 468440901 2249534301 + 465491853 71050792279 + 689258923 54201995611 + 2129021960 864034418159 + 8136297747 71309960518 + 7072113499 99998372978 + 0499510597 31732816096 + 3185950244 594553469 + 08302642 522308253 + 3446850 3526193 + 446850 1526193