Compare commits
4 Commits
e2d1a2da34
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
f9f950b860
|
|||
|
2dc22d636e
|
|||
|
c2613ad69b
|
|||
|
06b1f2df82
|
8
.idea/misc.xml
generated
8
.idea/misc.xml
generated
@@ -4,15 +4,17 @@
|
||||
<component name="MakefileSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<MakefileProjectSettings>
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$/test" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/test" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="version" value="2" />
|
||||
</MakefileProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
<component name="MakefileWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
|
||||
<component name="MakefileWorkspace" PROJECT_DIR="$PROJECT_DIR$/test">
|
||||
<contentRoot DIR="$PROJECT_DIR$" />
|
||||
</component>
|
||||
</project>
|
||||
File diff suppressed because one or more lines are too long
@@ -1,13 +1,13 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-6.14.0-32-generic")
|
||||
set(CMAKE_HOST_SYSTEM "Linux-6.14.0-33-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "6.14.0-32-generic")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "6.14.0-33-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-6.14.0-32-generic")
|
||||
set(CMAKE_SYSTEM "Linux-6.14.0-33-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "6.14.0-32-generic")
|
||||
set(CMAKE_SYSTEM_VERSION "6.14.0-33-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
@@ -7,7 +7,7 @@ events:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)"
|
||||
- "CMakeLists.txt:2 (project)"
|
||||
message: |
|
||||
The system is: Linux - 6.14.0-32-generic - x86_64
|
||||
The system is: Linux - 6.14.0-33-generic - x86_64
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
@@ -61,8 +61,8 @@ events:
|
||||
checks:
|
||||
- "Detecting C compiler ABI info"
|
||||
directories:
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka"
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD"
|
||||
cmakeVariables:
|
||||
CMAKE_C_FLAGS: ""
|
||||
CMAKE_C_FLAGS_DEBUG: "-g"
|
||||
@@ -71,13 +71,13 @@ events:
|
||||
variable: "CMAKE_C_ABI_COMPILED"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka'
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_33a55/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_33a55.dir/build.make CMakeFiles/cmTC_33a55.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka'
|
||||
Building C object CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -v -o CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_fdd0b/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_fdd0b.dir/build.make CMakeFiles/cmTC_fdd0b.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD'
|
||||
Building C object CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -v -o CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
@@ -87,8 +87,8 @@ events:
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_33a55.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cchyZVmr.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_fdd0b.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccYCcTC2.s
|
||||
GNU C17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||
|
||||
@@ -105,15 +105,15 @@ events:
|
||||
/usr/include
|
||||
End of search list.
|
||||
Compiler executable checksum: 38987c28e967c64056a6454abdef726e
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o /tmp/cchyZVmr.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o /tmp/ccYCcTC2.s
|
||||
GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.'
|
||||
Linking C executable cmTC_33a55
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_33a55.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -o cmTC_33a55
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.'
|
||||
Linking C executable cmTC_fdd0b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fdd0b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -o cmTC_fdd0b
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
|
||||
@@ -126,10 +126,10 @@ events:
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_33a55' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_33a55.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsqXfYm.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_33a55 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_33a55' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_33a55.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fdd0b' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fdd0b.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7F3Clw.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fdd0b /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fdd0b' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fdd0b.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD'
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
@@ -163,13 +163,13 @@ events:
|
||||
message: |
|
||||
Parsed C implicit link information:
|
||||
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka']
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD']
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_33a55/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_33a55.dir/build.make CMakeFiles/cmTC_33a55.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-wvaEka']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_fdd0b/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_fdd0b.dir/build.make CMakeFiles/cmTC_fdd0b.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-e1iACD']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
@@ -179,8 +179,8 @@ events:
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_33a55.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cchyZVmr.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_fdd0b.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccYCcTC2.s]
|
||||
ignore line: [GNU C17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 13.3.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||
ignore line: []
|
||||
@@ -197,15 +197,15 @@ events:
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [Compiler executable checksum: 38987c28e967c64056a6454abdef726e]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o /tmp/cchyZVmr.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o /tmp/ccYCcTC2.s]
|
||||
ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.']
|
||||
ignore line: [Linking C executable cmTC_33a55]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_33a55.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -o cmTC_33a55 ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.']
|
||||
ignore line: [Linking C executable cmTC_fdd0b]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fdd0b.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -o cmTC_fdd0b ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper]
|
||||
@@ -218,13 +218,13 @@ events:
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_33a55' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_33a55.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsqXfYm.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_33a55 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_fdd0b' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fdd0b.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7F3Clw.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fdd0b /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccsqXfYm.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc7F3Clw.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
@@ -242,7 +242,7 @@ events:
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_33a55] ==> ignore
|
||||
arg [cmTC_fdd0b] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
@@ -254,7 +254,7 @@ events:
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..]
|
||||
arg [CMakeFiles/cmTC_33a55.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [CMakeFiles/cmTC_fdd0b.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
@@ -294,8 +294,8 @@ events:
|
||||
checks:
|
||||
- "Detecting CXX compiler ABI info"
|
||||
directories:
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b"
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR"
|
||||
cmakeVariables:
|
||||
CMAKE_CXX_FLAGS: ""
|
||||
CMAKE_CXX_FLAGS_DEBUG: "-g"
|
||||
@@ -304,13 +304,13 @@ events:
|
||||
variable: "CMAKE_CXX_ABI_COMPILED"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b'
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_0393c/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_0393c.dir/build.make CMakeFiles/cmTC_0393c.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b'
|
||||
Building CXX object CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -v -o CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_7f3b4/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_7f3b4.dir/build.make CMakeFiles/cmTC_7f3b4.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR'
|
||||
Building CXX object CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -v -o CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
@@ -320,8 +320,8 @@ events:
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_0393c.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccAwCqOQ.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_7f3b4.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccppi06J.s
|
||||
GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||
|
||||
@@ -342,15 +342,15 @@ events:
|
||||
/usr/include
|
||||
End of search list.
|
||||
Compiler executable checksum: c81c05345ce537099dafd5580045814a
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccAwCqOQ.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccppi06J.s
|
||||
GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.'
|
||||
Linking CXX executable cmTC_0393c
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0393c.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_0393c
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.'
|
||||
Linking CXX executable cmTC_7f3b4
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f3b4.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7f3b4
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
|
||||
@@ -363,10 +363,10 @@ events:
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0393c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_0393c.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccicCxJc.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_0393c /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0393c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_0393c.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7f3b4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_7f3b4.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccRlWQzA.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_7f3b4 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7f3b4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_7f3b4.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR'
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
@@ -406,13 +406,13 @@ events:
|
||||
message: |
|
||||
Parsed CXX implicit link information:
|
||||
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b']
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR']
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_0393c/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_0393c.dir/build.make CMakeFiles/cmTC_0393c.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-GaYX2b']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_7f3b4/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_7f3b4.dir/build.make CMakeFiles/cmTC_7f3b4.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles/CMakeScratch/TryCompile-amlrMR']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
@@ -422,8 +422,8 @@ events:
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_0393c.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccAwCqOQ.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_7f3b4.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccppi06J.s]
|
||||
ignore line: [GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 13.3.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||
ignore line: []
|
||||
@@ -444,15 +444,15 @@ events:
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [Compiler executable checksum: c81c05345ce537099dafd5580045814a]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccAwCqOQ.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccppi06J.s]
|
||||
ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.']
|
||||
ignore line: [Linking CXX executable cmTC_0393c]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0393c.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_0393c ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.']
|
||||
ignore line: [Linking CXX executable cmTC_7f3b4]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f3b4.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7f3b4 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper]
|
||||
@@ -465,13 +465,13 @@ events:
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0393c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_0393c.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccicCxJc.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_0393c /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7f3b4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_7f3b4.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccRlWQzA.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_7f3b4 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccicCxJc.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccRlWQzA.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
@@ -489,7 +489,7 @@ events:
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_0393c] ==> ignore
|
||||
arg [cmTC_7f3b4] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
@@ -501,7 +501,7 @@ events:
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..]
|
||||
arg [CMakeFiles/cmTC_0393c.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [CMakeFiles/cmTC_7f3b4.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
|
||||
@@ -28,9 +28,7 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeFindCodeBlocks.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
|
||||
@@ -54,7 +52,6 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/ProcessorCount.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
@@ -76,4 +73,5 @@ set(CMAKE_DEPEND_INFO_FILES
|
||||
"src/CMakeFiles/factory_core.dir/DependInfo.cmake"
|
||||
"test/CMakeFiles/test_simple.dir/DependInfo.cmake"
|
||||
"test/CMakeFiles/test_json.dir/DependInfo.cmake"
|
||||
"test/CMakeFiles/test_optim.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
@@ -98,6 +98,7 @@ src/clean: src/CMakeFiles/factory_core.dir/clean
|
||||
# Recursive "all" directory target.
|
||||
test/all: test/CMakeFiles/test_simple.dir/all
|
||||
test/all: test/CMakeFiles/test_json.dir/all
|
||||
test/all: test/CMakeFiles/test_optim.dir/all
|
||||
.PHONY : test/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
@@ -107,6 +108,7 @@ test/preinstall:
|
||||
# Recursive "clean" directory target.
|
||||
test/clean: test/CMakeFiles/test_simple.dir/clean
|
||||
test/clean: test/CMakeFiles/test_json.dir/clean
|
||||
test/clean: test/CMakeFiles/test_optim.dir/clean
|
||||
.PHONY : test/clean
|
||||
|
||||
#=============================================================================
|
||||
@@ -142,7 +144,7 @@ src/CMakeFiles/factory_core.dir/clean:
|
||||
test/CMakeFiles/test_simple.dir/all: src/CMakeFiles/factory_core.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_simple.dir/build.make test/CMakeFiles/test_simple.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_simple.dir/build.make test/CMakeFiles/test_simple.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles --progress-num=15,16 "Built target test_simple"
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles --progress-num=17,18 "Built target test_simple"
|
||||
.PHONY : test/CMakeFiles/test_simple.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
@@ -187,6 +189,32 @@ test/CMakeFiles/test_json.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_json.dir/build.make test/CMakeFiles/test_json.dir/clean
|
||||
.PHONY : test/CMakeFiles/test_json.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target test/CMakeFiles/test_optim.dir
|
||||
|
||||
# All Build rule for target.
|
||||
test/CMakeFiles/test_optim.dir/all: src/CMakeFiles/factory_core.dir/all
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles --progress-num=15,16 "Built target test_optim"
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
test/CMakeFiles/test_optim.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles 14
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/CMakeFiles/test_optim.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles 0
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
test_optim: test/CMakeFiles/test_optim.dir/rule
|
||||
.PHONY : test_optim
|
||||
|
||||
# clean rule for target.
|
||||
test/CMakeFiles/test_optim.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/clean
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/CMakeFiles/rebuild_cache.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_simple.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_json.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_optim.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/edit_cache.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/rebuild_cache.dir
|
||||
|
||||
@@ -1 +1 @@
|
||||
16
|
||||
18
|
||||
|
||||
14
Makefile
14
Makefile
@@ -165,6 +165,19 @@ test_json/fast:
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_json.dir/build.make test/CMakeFiles/test_json.dir/build
|
||||
.PHONY : test_json/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named test_optim
|
||||
|
||||
# Build rule for target.
|
||||
test_optim: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test_optim
|
||||
.PHONY : test_optim
|
||||
|
||||
# fast build rule for target.
|
||||
test_optim/fast:
|
||||
$(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/build
|
||||
.PHONY : test_optim/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@@ -176,6 +189,7 @@ help:
|
||||
@echo "... test"
|
||||
@echo "... factory_core"
|
||||
@echo "... test_json"
|
||||
@echo "... test_optim"
|
||||
@echo "... test_simple"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
# TP1 Modélisation problèmes
|
||||
Kévin Taccoen, 29 septembre 2025
|
||||
|
||||
# artis-factory
|
||||
|
||||
The objective of this repo is to create a simulation of a manufacturing factory by using
|
||||
@@ -63,4 +60,4 @@ cmake -DCMAKE_INSTALL_PREFIX=$HOME/usr -DCMAKE_BUILD_TYPE=Debug ..
|
||||
make
|
||||
cd test
|
||||
./test_json
|
||||
```
|
||||
```
|
||||
@@ -1 +0,0 @@
|
||||
---
|
||||
@@ -1,3 +0,0 @@
|
||||
Start testing: Oct 06 13:14 CEST
|
||||
----------------------------------------------------------
|
||||
End testing: Oct 06 13:14 CEST
|
||||
@@ -1,337 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6"/>
|
||||
<Project>
|
||||
<Option title="artis-factory"/>
|
||||
<Option makefile_is_custom="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Option virtualFolders="CMake Files\;CMake Files\..\;CMake Files\..\..\;CMake Files\..\..\..\;CMake Files\..\..\..\..\;CMake Files\..\..\..\..\..\;CMake Files\..\..\..\..\..\..\;CMake Files\..\..\..\..\..\..\usr\;CMake Files\..\..\..\..\..\..\usr\lib\;CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\;CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\;CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\Boost-1.83.0\;CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_headers-1.83.0\;CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_unit_test_framework-1.83.0\;CMake Files\src\;CMake Files\test\;"/>
|
||||
<Build>
|
||||
<Target title="all">
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 all"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="test">
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 test"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="edit_cache">
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 edit_cache"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="rebuild_cache">
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 rebuild_cache"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="factory_core">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/libfactory_core.a" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="2"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 factory_core"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="factory_core/fast">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/libfactory_core.a" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="2"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 factory_core/fast"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="test_simple">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_simple" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 test_simple"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="test_simple/fast">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_simple" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 test_simple/fast"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="test_json">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_json" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 test_json"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="test_json/fast">
|
||||
<Option output="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_json" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add option="-DWITH_TRACE"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB"/>
|
||||
<Add option="-DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK"/>
|
||||
<Add directory="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src"/>
|
||||
<Add directory="/usr/local/include/artis-star-1.0"/>
|
||||
<Add directory="/usr/include/c++/13"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/13"/>
|
||||
<Add directory="/usr/include/c++/13/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/13/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 test_json/fast"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Combiner.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Conveyor.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManager.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Item.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/JsonReader.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrderGenerator.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrderGenerator.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Separator.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Separator.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.cpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp">
|
||||
<Option target="factory_core"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_json.cpp">
|
||||
<Option target="test_json"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_simple.cpp">
|
||||
<Option target="test_simple"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/BoostDetectToolset-1.83.0.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\Boost-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfigVersion.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\Boost-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_headers-1.83.0/boost_headers-config-version.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_headers-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_headers-1.83.0/boost_headers-config.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_headers-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.83.0/boost_unit_test_framework-config-version.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_unit_test_framework-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.83.0/boost_unit_test_framework-config.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_unit_test_framework-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.83.0/libboost_unit_test_framework-variant-shared.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_unit_test_framework-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/../../../../../../usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.83.0/libboost_unit_test_framework-variant-static.cmake">
|
||||
<Option virtualFolder="CMake Files\..\..\..\..\..\..\usr\lib\x86_64-linux-gnu\cmake\boost_unit_test_framework-1.83.0\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\test\"/>
|
||||
</Unit>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
@@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="test_simple" />
|
||||
<File name="src/Sink.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1556" topLine="24" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/Processor.cpp" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1887" topLine="24" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/Router.cpp" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/ProductionOrder.hpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="60" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/Processor.hpp" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1175" topLine="87" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/Machine.hpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="6" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/ItemStock.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="24" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/Sink.hpp" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1138" topLine="12" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="src/PoolRouter.cpp" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="0" topLine="116" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1007,6 +1007,4 @@ src/CMakeFiles/factory_core.dir/PoolRouter.cpp.o: \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Context.hpp \
|
||||
/usr/include/c++/13/cxxabi.h \
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
src/CMakeFiles/factory_core.dir/Processor.cpp.o: \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.cpp \
|
||||
/usr/include/stdc-predef.h \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/event/Bag.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/event/ExternalEvent.hpp \
|
||||
@@ -1007,5 +1007,7 @@ src/CMakeFiles/factory_core.dir/Processor.cpp.o: \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Context.hpp \
|
||||
/usr/include/c++/13/cxxabi.h \
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3320,10 +3320,8 @@ src/CMakeFiles/factory_core.dir/Machine.cpp.o
|
||||
src/CMakeFiles/factory_core.dir/PoolRouter.cpp.o
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.cpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp
|
||||
/usr/include/alloca.h
|
||||
/usr/include/asm-generic/errno-base.h
|
||||
/usr/include/asm-generic/errno.h
|
||||
@@ -4428,9 +4426,11 @@ src/CMakeFiles/factory_core.dir/PoolRouter.cpp.o
|
||||
src/CMakeFiles/factory_core.dir/Processor.cpp.o
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.cpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp
|
||||
/usr/include/alloca.h
|
||||
/usr/include/asm-generic/errno-base.h
|
||||
/usr/include/asm-generic/errno.h
|
||||
|
||||
@@ -3316,10 +3316,8 @@ src/CMakeFiles/factory_core.dir/Machine.cpp.o: src/Machine.cpp \
|
||||
|
||||
src/CMakeFiles/factory_core.dir/PoolRouter.cpp.o: src/PoolRouter.cpp \
|
||||
src/Base.hpp \
|
||||
src/Machine.hpp \
|
||||
src/PoolRouter.hpp \
|
||||
src/ProductionOrder.hpp \
|
||||
src/Sink.hpp \
|
||||
/usr/include/alloca.h \
|
||||
/usr/include/asm-generic/errno-base.h \
|
||||
/usr/include/asm-generic/errno.h \
|
||||
@@ -4423,9 +4421,11 @@ src/CMakeFiles/factory_core.dir/PoolRouter.cpp.o: src/PoolRouter.cpp \
|
||||
|
||||
src/CMakeFiles/factory_core.dir/Processor.cpp.o: src/Processor.cpp \
|
||||
src/Base.hpp \
|
||||
src/ItemStock.hpp \
|
||||
src/Machine.hpp \
|
||||
src/Processor.hpp \
|
||||
src/ProductionOrder.hpp \
|
||||
src/Stock.hpp \
|
||||
/usr/include/alloca.h \
|
||||
/usr/include/asm-generic/errno-base.h \
|
||||
/usr/include/asm-generic/errno.h \
|
||||
@@ -11274,10 +11274,10 @@ src/CMakeFiles/factory_core.dir/Stock.cpp.o: src/Stock.cpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Simulator.hpp
|
||||
|
||||
|
||||
src/Stock.hpp:
|
||||
|
||||
src/Stock.cpp:
|
||||
|
||||
src/Sink.hpp:
|
||||
|
||||
src/Separator.cpp:
|
||||
|
||||
src/Router.hpp:
|
||||
@@ -11296,9 +11296,9 @@ src/ProductionOrderGenerator.cpp:
|
||||
|
||||
src/ProductionOrder.cpp:
|
||||
|
||||
src/Processor.hpp:
|
||||
src/Stock.hpp:
|
||||
|
||||
src/Sink.hpp:
|
||||
src/Processor.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/locale_facets.tcc:
|
||||
|
||||
|
||||
@@ -17,4 +17,3 @@ SET(FACTORY_CORE_CPP Base.cpp Combiner.hpp Conveyor.hpp ItemStock.cpp Machine.cp
|
||||
ADD_LIBRARY(factory_core ${FACTORY_CORE_HPP} ${FACTORY_CORE_CPP})
|
||||
|
||||
TARGET_LINK_LIBRARIES(factory_core ${Boost_LIBRARIES} ${ARTIS_LIBRARIES})
|
||||
|
||||
|
||||
@@ -28,24 +28,22 @@
|
||||
#define ARTIS_FACTORY_FACTORY_GRAPH_MANAGER_HPP
|
||||
|
||||
#include "Base.hpp"
|
||||
#include "FactoryGraphManagerParameters.hpp"
|
||||
#include "ItemStock.hpp"
|
||||
#include "JsonReader.hpp"
|
||||
#include "PoolRouter.hpp"
|
||||
#include "Router.hpp"
|
||||
#include "Sink.hpp"
|
||||
#include "Stock.hpp"
|
||||
|
||||
#include <artis-star/kernel/pdevs/GraphManager.hpp>
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct FactoryGraphManagerParameters {
|
||||
Factory factory;
|
||||
};
|
||||
|
||||
class FactoryGraphManager
|
||||
: public artis::pdevs::GraphManager<artis::common::DoubleTime, artis::common::NoParameters, FactoryGraphManagerParameters> {
|
||||
public:
|
||||
enum sub_models {
|
||||
GENERATOR, ROUTER, POOL_ROUTER, MACHINE = 10000
|
||||
GENERATOR, ROUTER, POOL_ROUTER, MACHINE = 10000, ITEM_STOCK = 20000, STOCK = 30000
|
||||
};
|
||||
|
||||
FactoryGraphManager(Coordinator *coordinator, const artis::common::NoParameters ¶meters,
|
||||
@@ -53,27 +51,13 @@ public:
|
||||
artis::pdevs::GraphManager<artis::common::DoubleTime, artis::common::NoParameters, FactoryGraphManagerParameters>(
|
||||
coordinator, parameters, graph_parameters) {
|
||||
unsigned int machine_index = 0;
|
||||
std::map<unsigned int, Program> programs;
|
||||
|
||||
for (const auto &product: graph_parameters.factory._products) {
|
||||
unsigned int product_id = product.first;
|
||||
Program program;
|
||||
|
||||
for (const auto &pool_job: product.second._pool_jobs) {
|
||||
std::vector<uint8_t> machines;
|
||||
|
||||
for (const auto &machine_job: pool_job._machine_jobs) {
|
||||
machines.push_back(machine_job._machine_id);
|
||||
}
|
||||
program.emplace_back((uint8_t) pool_job._pool_id, machines);
|
||||
}
|
||||
programs[product_id] = program;
|
||||
}
|
||||
|
||||
ProductionOrderGeneratorParameters generator_parameters{programs,
|
||||
ProductionOrderGeneratorParameters generator_parameters{graph_parameters.get_programs(),
|
||||
graph_parameters.factory._generator._random_seed,
|
||||
graph_parameters.factory._generator._min_send_speed_rate,
|
||||
graph_parameters.factory._generator._max_send_speed_rate};
|
||||
graph_parameters.factory._generator._max_send_speed_rate,
|
||||
graph_parameters.factory._generator._po_number,
|
||||
graph_parameters.factory._generator._po_order};
|
||||
|
||||
_generator = new GeneratorSimulator("G", generator_parameters);
|
||||
_router = new RouterSimulator("R", {graph_parameters.factory._pools.size()});
|
||||
@@ -81,45 +65,131 @@ public:
|
||||
this->add_child(ROUTER, _router);
|
||||
this->add_child(GENERATOR, _generator);
|
||||
|
||||
// item stocks
|
||||
for (const auto &p: graph_parameters.factory._stocks) {
|
||||
_item_stocks.push_back(
|
||||
new ItemStockSimulator("I_S_" + std::to_string(p._id),
|
||||
ItemStockParameters{graph_parameters.get_item_stock(p._id),
|
||||
graph_parameters.get_machines_to_item_stock(p._id)}));
|
||||
this->add_child(ITEM_STOCK + p._id, _item_stocks.back());
|
||||
}
|
||||
|
||||
// intermediate stocks
|
||||
for (const auto &p: graph_parameters.factory._pools) {
|
||||
unsigned int pool_id = std::get<0>(p);
|
||||
for (const auto &s: std::get<3>(p)) {
|
||||
_stocks[std::make_pair(pool_id, s._id)] = new StockSimulator(
|
||||
"S_" + std::to_string(pool_id) + "_" + std::to_string(s._id),
|
||||
StockParameters{graph_parameters.get_machines_to_in_stock(pool_id, s._id),
|
||||
graph_parameters.get_machines_to_out_stock(pool_id, s._id),
|
||||
s._capacity});
|
||||
this->add_child(STOCK + pool_id * 100 + s._id, _stocks[std::make_pair(pool_id, s._id)]);
|
||||
}
|
||||
}
|
||||
|
||||
// pool + machines
|
||||
for (const auto &p: graph_parameters.factory._pools) {
|
||||
unsigned int pool_id = std::get<0>(p);
|
||||
std::map<unsigned int, unsigned int> capacities;
|
||||
|
||||
for (const auto &m: std::get<2>(p)) {
|
||||
capacities[m->machine_id] = m->capacity;
|
||||
}
|
||||
_pool_routers.push_back(
|
||||
new PoolRouterSimulator("P_R_" + std::to_string(std::get<0>(p)),
|
||||
PoolRouterParameters{std::get<1>(p), std::get<2>(p).size()}));
|
||||
new PoolRouterSimulator("P_R_" + std::to_string(pool_id), PoolRouterParameters{std::get<1>(p), capacities}));
|
||||
this->add_child(POOL_ROUTER + std::get<0>(p), _pool_routers.back());
|
||||
out({_router, artis::factory::Router::outputs::OUT_P + std::get<0>(p)})
|
||||
out({_router, artis::factory::Router::outputs::OUT_P + pool_id})
|
||||
>> in({_pool_routers.back(), artis::factory::PoolRouter::inputs::IN});
|
||||
out({_pool_routers.back(), artis::factory::PoolRouter::outputs::OUT})
|
||||
>> in({_router, artis::factory::Router::inputs::IN_P + std::get<0>(p)});
|
||||
>> in({_router, artis::factory::Router::inputs::IN_P + pool_id});
|
||||
|
||||
// machines
|
||||
for (const auto &m: std::get<2>(p)) {
|
||||
switch (m->machine_type) {
|
||||
case PROCESSOR: {
|
||||
auto &processor_parameters = (ProcessorParameters &) (*m);
|
||||
auto new_processor = new ProcessorSimulator(
|
||||
"M_" + std::to_string(m->pool_id) + "_" + std::to_string(m->machine_id), (ProcessorParameters &) (*m));
|
||||
"M_" + std::to_string(m->pool_id) + "_" + std::to_string(m->machine_id), processor_parameters);
|
||||
|
||||
_processors.push_back(new_processor);
|
||||
this->add_child(MACHINE + machine_index, new_processor);
|
||||
|
||||
// connection processor <-> pool router
|
||||
out({_pool_routers.back(), artis::factory::PoolRouter::outputs::OUT_M + m->machine_id})
|
||||
>> in({new_processor, artis::factory::Processor::inputs::IN});
|
||||
out({new_processor, artis::factory::Processor::outputs::OUT})
|
||||
>> in({_pool_routers.back(), artis::factory::PoolRouter::inputs::IN_M + m->machine_id});
|
||||
|
||||
// connection processor <-> item stock
|
||||
std::vector<unsigned int> item_stocks;
|
||||
|
||||
for (const auto &q: processor_parameters.in_out) {
|
||||
for (const auto &r: q.second._ins) {
|
||||
if (r._source._pool_id == -1) {
|
||||
item_stocks.push_back(r._source._stock_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &q: item_stocks) {
|
||||
out({new_processor, artis::factory::Processor::outputs::OUT_ITEM_DEMAND + q})
|
||||
>> in({_item_stocks.back(), artis::factory::ItemStock::inputs::IN + m->machine_id});
|
||||
out({_item_stocks.back(), artis::factory::ItemStock::outputs::OUT + m->machine_id})
|
||||
>> in({new_processor, artis::factory::Processor::inputs::IN_ITEM});
|
||||
}
|
||||
// connection processor <-> intermediate stock
|
||||
std::vector<std::pair<unsigned int, unsigned int>> stocks;
|
||||
|
||||
for (const auto &q: processor_parameters.in_out) {
|
||||
for (const auto &r: q.second._outs) {
|
||||
auto u = std::make_pair((unsigned int) r._destination._pool_id, r._destination._stock_id);
|
||||
|
||||
if (r._destination._pool_id != -1 and std::find(stocks.cbegin(), stocks.cend(), u) == stocks.cend()) {
|
||||
stocks.push_back(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &q: stocks) {
|
||||
out({new_processor, artis::factory::Processor::outputs::OUT_STOCK + (q.first * 100 + q.second)})
|
||||
>> in({_stocks[q], artis::factory::Stock::inputs::IN});
|
||||
out({new_processor, artis::factory::Processor::outputs::OUT_STOCK_AVAILABLE + (q.first * 100 + q.second)})
|
||||
>> in({_stocks[q], artis::factory::Stock::inputs::IN_STOCK_AVAILABLE + m->machine_id});
|
||||
out({_stocks[q], artis::factory::Stock::outputs::OUT_STOCK_AVAILABLE + m->machine_id})
|
||||
>> in(
|
||||
{new_processor, artis::factory::Processor::inputs::IN_STOCK_AVAILABLE + (q.first * 100 + q.second)});
|
||||
}
|
||||
stocks.clear();
|
||||
for (const auto &q: processor_parameters.in_out) {
|
||||
for (const auto &r: q.second._ins) {
|
||||
auto u = std::make_pair((unsigned int) r._source._pool_id, r._source._stock_id);
|
||||
|
||||
if (r._source._pool_id != -1 and std::find(stocks.cbegin(), stocks.cend(), u) == stocks.cend()) {
|
||||
stocks.push_back(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &q: stocks) {
|
||||
out({new_processor, artis::factory::Processor::outputs::OUT_STOCK_DEMAND + (q.first * 100 + q.second)})
|
||||
>> in({_stocks[q], artis::factory::Stock::inputs::IN_DEMAND + m->machine_id});
|
||||
out({_stocks[q], artis::factory::Stock::outputs::OUT + m->machine_id})
|
||||
>> in({new_processor, artis::factory::Processor::inputs::IN_STOCK});
|
||||
}
|
||||
++machine_index;
|
||||
break;
|
||||
}
|
||||
case SINK: {
|
||||
auto new_sink = new SinkSimulator(
|
||||
"M_" + std::to_string(m->pool_id) + "_" + std::to_string(m->machine_id),
|
||||
SinkParameters{}
|
||||
);
|
||||
auto new_sink = new SinkSimulator(
|
||||
"M_" + std::to_string(m->pool_id) + "_" + std::to_string(m->machine_id), (SinkParameters &) (*m));
|
||||
|
||||
_sinks.push_back(new_sink);
|
||||
this->add_child(MACHINE + machine_index, new_sink);
|
||||
_sinks.push_back(new_sink);
|
||||
this->add_child(MACHINE + machine_index, new_sink);
|
||||
|
||||
// PoolRouter -> Sink
|
||||
out({_pool_routers.back(), artis::factory::PoolRouter::outputs::OUT_M + m->machine_id})
|
||||
>> in({_sinks.back(), artis::factory::Sink::inputs::IN});
|
||||
|
||||
++machine_index;
|
||||
break;
|
||||
// connection sink <-> pool router
|
||||
out({_pool_routers.back(), artis::factory::PoolRouter::outputs::OUT_M + m->machine_id})
|
||||
>> in({new_sink, artis::factory::Sink::inputs::IN});
|
||||
out({new_sink, artis::factory::Sink::outputs::OUT})
|
||||
>> in({_pool_routers.back(), artis::factory::PoolRouter::inputs::FINISH});
|
||||
++machine_index;
|
||||
break;
|
||||
}
|
||||
case SEPARATOR: {
|
||||
// TODO
|
||||
@@ -129,11 +199,12 @@ public:
|
||||
// TODO
|
||||
break;
|
||||
}
|
||||
case CONVEYOR :{
|
||||
case CONVEYOR : {
|
||||
// TODO
|
||||
break;
|
||||
}
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,12 +218,16 @@ private:
|
||||
typedef artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::PoolRouter, artis::factory::PoolRouterParameters> PoolRouterSimulator;
|
||||
typedef artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Processor, artis::factory::ProcessorParameters> ProcessorSimulator;
|
||||
typedef artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Sink, artis::factory::SinkParameters> SinkSimulator;
|
||||
typedef artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::ItemStock, artis::factory::ItemStockParameters> ItemStockSimulator;
|
||||
typedef artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Stock, artis::factory::StockParameters> StockSimulator;
|
||||
|
||||
GeneratorSimulator *_generator;
|
||||
RouterSimulator *_router;
|
||||
std::vector<PoolRouterSimulator *> _pool_routers;
|
||||
std::vector<ProcessorSimulator *> _processors;
|
||||
std::vector<SinkSimulator *> _sinks;
|
||||
std::vector<ItemStockSimulator *> _item_stocks;
|
||||
std::map<std::pair<unsigned int, unsigned int>, StockSimulator *> _stocks;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
128
src/FactoryGraphManagerParameters.hpp
Normal file
128
src/FactoryGraphManagerParameters.hpp
Normal file
@@ -0,0 +1,128 @@
|
||||
/**
|
||||
* @file FactoryGraphManagerParameters.hpp
|
||||
* @author The ARTIS Development Team
|
||||
* See the AUTHORS or Authors.txt file
|
||||
*/
|
||||
|
||||
/*
|
||||
* ARTIS - the multimodeling and simulation environment
|
||||
* This file is a part of the ARTIS environment
|
||||
*
|
||||
* Copyright (C) 2013-2023 ULCO http://www.univ-littoral.fr
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef ARTIS_FACTORY_FACTORY_GRAPH_MANAGER_PARAMETERS_HPP
|
||||
#define ARTIS_FACTORY_FACTORY_GRAPH_MANAGER_PARAMETERS_HPP
|
||||
|
||||
#include "JsonReader.hpp"
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct FactoryGraphManagerParameters {
|
||||
Factory factory;
|
||||
|
||||
std::map<unsigned int, int> get_item_stock(unsigned int id) const {
|
||||
std::map<unsigned int, int> items;
|
||||
|
||||
auto it = std::find_if(factory._stocks.cbegin(), factory._stocks.cend(),
|
||||
[id](const auto &e) { return e._id == id; });
|
||||
if (it != factory._stocks.cend()) {
|
||||
for (const auto &e: it->_items) {
|
||||
items[e._id] = e._quantity;
|
||||
}
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
std::vector<unsigned int> get_machines_to_item_stock(unsigned int id) const {
|
||||
std::vector<unsigned int> machines;
|
||||
|
||||
for (const auto &p: factory._products) {
|
||||
for (const auto &q: p.second._pool_jobs) {
|
||||
for (const auto &r: q._machine_jobs) {
|
||||
for (const auto &s: r._ins) {
|
||||
if (s._source._stock_id == id and
|
||||
std::find(machines.cbegin(), machines.cend(), r._machine_id) == machines.cend()) {
|
||||
machines.push_back(r._machine_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return machines;
|
||||
}
|
||||
|
||||
std::vector<unsigned int> get_machines_to_in_stock(unsigned int pool_id, unsigned int stock_id) const {
|
||||
std::vector<unsigned int> machines;
|
||||
|
||||
for (const auto &p: factory._products) {
|
||||
for (const auto &q: p.second._pool_jobs) {
|
||||
for (const auto &r: q._machine_jobs) {
|
||||
for (const auto &s: r._ins) {
|
||||
if (s._source._pool_id == (int) pool_id and s._source._stock_id == stock_id and
|
||||
std::find(machines.cbegin(), machines.cend(), r._machine_id) == machines.cend()) {
|
||||
machines.push_back(r._machine_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return machines;
|
||||
}
|
||||
|
||||
std::vector<unsigned int> get_machines_to_out_stock(unsigned int pool_id, unsigned int stock_id) const {
|
||||
std::vector<unsigned int> machines;
|
||||
|
||||
for (const auto &p: factory._products) {
|
||||
for (const auto &q: p.second._pool_jobs) {
|
||||
for (const auto &r: q._machine_jobs) {
|
||||
for (const auto &s: r._outs) {
|
||||
if (s._destination._pool_id == (int) pool_id and s._destination._stock_id == stock_id and
|
||||
std::find(machines.cbegin(), machines.cend(), r._machine_id) == machines.cend()) {
|
||||
machines.push_back(r._machine_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return machines;
|
||||
}
|
||||
|
||||
std::map<unsigned int, Program> get_programs() const {
|
||||
std::map<unsigned int, Program> programs;
|
||||
|
||||
for (const auto &product: factory._products) {
|
||||
unsigned int product_id = product.first;
|
||||
Program program;
|
||||
|
||||
for (const auto &pool_job: product.second._pool_jobs) {
|
||||
std::vector<uint8_t> machines;
|
||||
|
||||
for (const auto &machine_job: pool_job._machine_jobs) {
|
||||
machines.push_back(machine_job._machine_id);
|
||||
}
|
||||
program.emplace_back((uint8_t) pool_job._pool_id, machines);
|
||||
}
|
||||
programs[product_id] = program;
|
||||
}
|
||||
return programs;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif //ARTIS_FACTORY_FACTORY_GRAPH_MANAGER_PARAMETERS_HPP
|
||||
14
src/Item.hpp
14
src/Item.hpp
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file Item.hpp
|
||||
* @file Item.hpp
|
||||
* @author The ARTIS Development Team
|
||||
* See the AUTHORS or Authors.txt file
|
||||
*/
|
||||
@@ -29,13 +29,13 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct BaseItem {
|
||||
unsigned int _id;
|
||||
};
|
||||
struct BaseItem {
|
||||
unsigned int _id;
|
||||
};
|
||||
|
||||
struct Item {
|
||||
unsigned int _po_id;
|
||||
};
|
||||
struct Item {
|
||||
unsigned int _po_id;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -29,28 +29,58 @@
|
||||
namespace artis::factory {
|
||||
|
||||
void ItemStock::dint(const Time & /* t */) {
|
||||
// TODO
|
||||
switch (_phase) {
|
||||
case Phase::SEND: {
|
||||
_demands.clear();
|
||||
_phase = Phase::WAIT;
|
||||
break;
|
||||
}
|
||||
case Phase::WAIT: {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ItemStock::dext(const Time & /* t */, const Time & /* e */, const Bag &bag) {
|
||||
std::for_each(bag.begin(), bag.end(), [](const ExternalEvent & /* event */) {
|
||||
// TODO
|
||||
std::for_each(bag.begin(), bag.end(), [this](const ExternalEvent &event) {
|
||||
ItemDemand demand;
|
||||
|
||||
event.data()(demand);
|
||||
if (_items[demand.item_id] == -1 or _items[demand.item_id] >= (int) demand.quantity) {
|
||||
_demands.push_back(std::make_pair(event.port_index() - inputs::IN, demand));
|
||||
if (_items[demand.item_id] != -1) {
|
||||
_items[demand.item_id] -= (int) demand.quantity;
|
||||
}
|
||||
_phase = Phase::SEND;
|
||||
} else {
|
||||
_unsatisfied_demands.push_back(std::make_pair(event.port_index() - inputs::IN, demand));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void ItemStock::start(const Time & /* t */) {
|
||||
// TODO
|
||||
_phase = Phase::WAIT;
|
||||
_items = _parameters._items;
|
||||
}
|
||||
|
||||
Time ItemStock::ta(const Time & /* t */) const {
|
||||
// TODO
|
||||
switch (_phase) {
|
||||
case Phase::WAIT:
|
||||
return artis::common::DoubleTime::infinity;
|
||||
case Phase::SEND:
|
||||
return 0;
|
||||
}
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
|
||||
Bag ItemStock::lambda(const Time & /* t */) const {
|
||||
Bag bag;
|
||||
|
||||
// TODO
|
||||
if (_phase == Phase::SEND) {
|
||||
for (const auto &e: _demands) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT + e.first, ItemResponse(e.second.item_id, e.second.po_id)));
|
||||
}
|
||||
}
|
||||
return bag;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,42 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct ItemDemand {
|
||||
int item_id;
|
||||
int po_id;
|
||||
unsigned int quantity;
|
||||
|
||||
ItemDemand(int item_id = -1, int po_id = -1, unsigned int quantity = 0) : item_id(item_id), po_id(po_id),
|
||||
quantity(quantity) {}
|
||||
|
||||
bool operator==(const ItemDemand &other) const {
|
||||
return item_id == other.item_id and po_id == other.po_id and quantity == other.quantity;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "Demand < " + std::to_string(item_id) + " | " + std::to_string(po_id) + " | " + std::to_string(quantity) +
|
||||
" >";
|
||||
}
|
||||
};
|
||||
|
||||
struct ItemResponse {
|
||||
int item_id;
|
||||
int po_id;
|
||||
|
||||
ItemResponse(int item_id = -1, int po_id = -1) : item_id(item_id), po_id(po_id) {}
|
||||
|
||||
bool operator==(const ItemResponse &other) const {
|
||||
return item_id == other.item_id and po_id == other.po_id;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "Response < " + std::to_string(item_id) + " | " + std::to_string(po_id) + " >";
|
||||
}
|
||||
};
|
||||
|
||||
struct ItemStockParameters {
|
||||
std::map<unsigned int, int> _items;
|
||||
std::vector<unsigned int> _machines;
|
||||
};
|
||||
|
||||
class ItemStock : public Dynamics<ItemStock, ItemStockParameters> {
|
||||
@@ -55,9 +90,11 @@ public:
|
||||
};
|
||||
|
||||
ItemStock(const std::string &name, const Context<ItemStock, ItemStockParameters> &context)
|
||||
: Dynamics<ItemStock, ItemStockParameters>(name, context) {
|
||||
input_port({inputs::IN, "in"});
|
||||
output_port({outputs::OUT, "out"});
|
||||
: Dynamics<ItemStock, ItemStockParameters>(name, context), _parameters(context.parameters()) {
|
||||
for (const auto &m: _parameters._machines) {
|
||||
input_port({inputs::IN + m, "in_" + std::to_string(m)});
|
||||
output_port({outputs::OUT + m, "out_" + std::to_string(m)});
|
||||
}
|
||||
}
|
||||
|
||||
~ItemStock() override = default;
|
||||
@@ -75,7 +112,29 @@ public:
|
||||
artis::common::event::Value observe(const Time &t, unsigned int index) const override;
|
||||
|
||||
private:
|
||||
// TODO (state)
|
||||
struct Phase {
|
||||
enum values {
|
||||
WAIT,
|
||||
SEND
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
switch (value) {
|
||||
case WAIT:
|
||||
return "WAIT";
|
||||
case SEND:
|
||||
return "SEND";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
ItemStockParameters _parameters;
|
||||
|
||||
Phase::values _phase;
|
||||
std::map<unsigned int, int> _items;
|
||||
std::vector<std::pair<unsigned int, ItemDemand>> _demands;
|
||||
std::vector<std::pair<unsigned int, ItemDemand>> _unsatisfied_demands;
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
@@ -39,27 +39,11 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct Location {
|
||||
int _pool_id;
|
||||
unsigned int _stock_id;
|
||||
};
|
||||
|
||||
struct In {
|
||||
int _id; // -1 if global
|
||||
Location _source;
|
||||
unsigned int _quantity;
|
||||
};
|
||||
|
||||
struct Out {
|
||||
int _id; // -1 if global
|
||||
Location _destination;
|
||||
unsigned int _quantity;
|
||||
};
|
||||
|
||||
struct MachineJob {
|
||||
unsigned int _machine_id;
|
||||
std::vector<In> _ins;
|
||||
std::vector<Out> _outs;
|
||||
std::shared_ptr<Durations> _durations;
|
||||
};
|
||||
|
||||
struct PoolJob {
|
||||
@@ -69,16 +53,20 @@ struct PoolJob {
|
||||
|
||||
struct Product {
|
||||
unsigned int _id;
|
||||
std::vector<std::pair<unsigned int, unsigned int>> _components;
|
||||
std::vector<PoolJob> _pool_jobs;
|
||||
bool final;
|
||||
};
|
||||
|
||||
struct Generator {
|
||||
uint _random_seed;
|
||||
uint _min_send_speed_rate;
|
||||
uint _max_send_speed_rate;
|
||||
int _po_number;
|
||||
std::vector<unsigned int> _po_order;
|
||||
};
|
||||
|
||||
struct Stock {
|
||||
struct IntermediateStock {
|
||||
unsigned int _id;
|
||||
int _capacity; // if -1 then infinity
|
||||
};
|
||||
@@ -88,16 +76,16 @@ struct Item {
|
||||
int _quantity; // if -1 then infinity
|
||||
};
|
||||
|
||||
struct ItemStock {
|
||||
struct GlobalStock {
|
||||
unsigned int _id;
|
||||
std::vector<Item> _items;
|
||||
};
|
||||
|
||||
struct Factory {
|
||||
Generator _generator;
|
||||
std::vector<std::tuple<unsigned int, unsigned int, std::vector<std::shared_ptr<MachineParameters>>, std::vector<Stock> >> _pools;
|
||||
std::vector<std::tuple<unsigned int, unsigned int, std::vector<std::shared_ptr<MachineParameters>>, std::vector<IntermediateStock> >> _pools;
|
||||
std::map<unsigned int, Product> _products;
|
||||
std::vector<ItemStock> _stocks;
|
||||
std::vector<GlobalStock> _stocks;
|
||||
};
|
||||
|
||||
class JsonReader {
|
||||
@@ -114,6 +102,7 @@ public:
|
||||
parse_products(data["products"]);
|
||||
parse_generator(data["generator"]);
|
||||
parse_pools(data["pools"]);
|
||||
parse_product_job_durations(data["products"]);
|
||||
if (data.contains("stocks")) {
|
||||
parse_item_stocks(data["stocks"]);
|
||||
}
|
||||
@@ -123,7 +112,8 @@ private:
|
||||
void parse_generator(const nlohmann::json &data) {
|
||||
_factory._generator = Generator{data["random_seed"].get<unsigned int>(),
|
||||
data["min_send_speed_rate"].get<unsigned int>(),
|
||||
data["max_send_speed_rate"].get<unsigned int>()};
|
||||
data["max_send_speed_rate"].get<unsigned int>(),
|
||||
-1, {}};
|
||||
}
|
||||
|
||||
std::vector<In> parse_ins(const nlohmann::json &data) {
|
||||
@@ -144,8 +134,22 @@ private:
|
||||
std::vector<std::shared_ptr<MachineParameters>> machines;
|
||||
|
||||
for (const nlohmann::json &machine: data) {
|
||||
unsigned int machine_id = machine["id"].get<unsigned int>();
|
||||
unsigned int machine_type = machine["type"].get<unsigned int>();
|
||||
unsigned int capacity = machine.contains("capacity") ? machine["capacity"].get<unsigned int>() : 1;
|
||||
std::map<unsigned int, InOut> in_out;
|
||||
|
||||
for (const auto &product: _factory._products) {
|
||||
for (const auto &pool_job: product.second._pool_jobs) {
|
||||
if (pool_job._pool_id == pool_id) {
|
||||
for (const auto &machine_job: pool_job._machine_jobs) {
|
||||
if (machine_job._machine_id == machine_id) {
|
||||
in_out[product.first] = InOut{machine_job._ins, machine_job._outs};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
switch (machine_type) {
|
||||
case PROCESSOR: {
|
||||
unsigned int load_time = machine.contains("load_time") ? machine["load_time"].get<unsigned int>() : 0;
|
||||
@@ -154,32 +158,32 @@ private:
|
||||
unsigned int unload_time = machine.contains("unload_time") ? machine["unload_time"].get<unsigned int>() : 0;
|
||||
|
||||
machines.push_back(
|
||||
std::make_shared<ProcessorParameters>(ProcessorParameters{{machine["id"].get<unsigned int>(), machine_type,
|
||||
pool_id}, load_time, processing_time,
|
||||
unload_time}));
|
||||
std::make_shared<ProcessorParameters>(ProcessorParameters{{machine_id, machine_type, pool_id, capacity},
|
||||
ProcessorDurations{{}, load_time, processing_time,
|
||||
unload_time}, in_out, {}}));
|
||||
break;
|
||||
}
|
||||
case SINK: {
|
||||
machines.push_back(std::make_shared<SinkParameters>(
|
||||
SinkParameters{{machine["id"].get<unsigned int>(), machine_type, pool_id}}));
|
||||
machines.push_back(
|
||||
std::make_shared<SinkParameters>(SinkParameters{{machine_id, machine_type, pool_id, capacity}}));
|
||||
break;
|
||||
}
|
||||
case SEPARATOR: {
|
||||
// TODO
|
||||
machines.push_back(std::make_shared<SeparatorParameters>(
|
||||
SeparatorParameters{{machine["id"].get<unsigned int>(), machine_type, pool_id}}));
|
||||
machines.push_back(
|
||||
std::make_shared<SeparatorParameters>(SeparatorParameters{{machine_id, machine_type, pool_id, capacity}}));
|
||||
break;
|
||||
}
|
||||
case COMBINER : {
|
||||
// TODO
|
||||
machines.push_back(std::make_shared<CombinerParameters>(
|
||||
CombinerParameters{{machine["id"].get<unsigned int>(), machine_type, pool_id}}));
|
||||
machines.push_back(
|
||||
std::make_shared<CombinerParameters>(CombinerParameters{{machine_id, machine_type, pool_id, capacity}}));
|
||||
break;
|
||||
}
|
||||
case CONVEYOR : {
|
||||
// TODO
|
||||
machines.push_back(std::make_shared<ConveyorParameters>(
|
||||
ConveyorParameters{{machine["id"].get<unsigned int>(), machine_type, pool_id}}));
|
||||
machines.push_back(
|
||||
std::make_shared<ConveyorParameters>(ConveyorParameters{{machine_id, machine_type, pool_id, capacity}}));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -207,7 +211,7 @@ private:
|
||||
for (const nlohmann::json &pool: data) {
|
||||
unsigned int pool_id = pool["id"].get<unsigned int>();
|
||||
unsigned int pool_type = pool["type"].get<unsigned int>();
|
||||
std::vector<Stock> stocks;
|
||||
std::vector<IntermediateStock> stocks;
|
||||
|
||||
if (pool.contains("stocks")) {
|
||||
for (const nlohmann::json &stock: pool["stocks"]) {
|
||||
@@ -224,8 +228,54 @@ private:
|
||||
void parse_products(const nlohmann::json &data) {
|
||||
for (const nlohmann::json &product: data) {
|
||||
unsigned int product_id = product["id"].get<unsigned int>();
|
||||
bool final = product.contains("final") ? product["final"].get<bool>() : true;
|
||||
std::vector<std::pair<unsigned int, unsigned int>> components;
|
||||
|
||||
_factory._products[product_id] = Product{product_id, parse_program(product["program"])};
|
||||
if (product.contains("components")) {
|
||||
for (const nlohmann::json &component: product["components"]) {
|
||||
components.emplace_back(component["id"].get<unsigned int>(), component["number"].get<unsigned int>());
|
||||
}
|
||||
}
|
||||
_factory._products[product_id] = Product{product_id, components, parse_program(product["program"]), final};
|
||||
}
|
||||
}
|
||||
|
||||
void parse_product_job_durations(const nlohmann::json &data) {
|
||||
for (const nlohmann::json &product: data) {
|
||||
unsigned int product_id = product["id"].get<unsigned int>();
|
||||
unsigned int pool_index = 0;
|
||||
|
||||
for (const nlohmann::json &pool_machine: product["program"]) {
|
||||
unsigned int pool_id = pool_machine["poolID"].get<unsigned int>();
|
||||
const auto &pool = *std::find_if(_factory._pools.cbegin(), _factory._pools.cend(),
|
||||
[pool_id](const auto &e) { return std::get<0>(e) == pool_id; });
|
||||
const auto &machines = std::get<2>(pool);
|
||||
unsigned int sequence_index = 0;
|
||||
|
||||
for (const nlohmann::json &machine: pool_machine["sequence"]) {
|
||||
if (machine.is_object()) {
|
||||
unsigned int machine_id = machine["machineID"].get<unsigned int>();
|
||||
const auto &m = *std::find_if(machines.cbegin(), machines.cend(),
|
||||
[machine_id](const auto &e) { return e->machine_id == machine_id; });
|
||||
|
||||
if (m->machine_type == PROCESSOR) {
|
||||
auto &M = (ProcessorParameters &) (*m);
|
||||
auto d = std::make_shared<ProcessorDurations>(
|
||||
ProcessorDurations{{},
|
||||
machine.contains("load_time") ? machine["load_time"].get<unsigned int>() : 0,
|
||||
machine.contains("processing_time")
|
||||
? machine["processing_time"].get<unsigned int>() : 0,
|
||||
machine.contains("unload_time") ? machine["unload_time"].get<unsigned int>() : 0
|
||||
});
|
||||
|
||||
_factory._products[product_id]._pool_jobs[pool_index]._machine_jobs[sequence_index]._durations = d;
|
||||
M.product_durations[product_id] = d;
|
||||
}
|
||||
}
|
||||
++sequence_index;
|
||||
}
|
||||
++pool_index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,9 +304,9 @@ private:
|
||||
if (machine.contains("outs")) {
|
||||
outs = parse_outs(machine["outs"]);
|
||||
}
|
||||
sequence.push_back(MachineJob{machine["machineID"].get<unsigned int>(), ins, outs});
|
||||
sequence.push_back(MachineJob{machine["machineID"].get<unsigned int>(), ins, outs, {}});
|
||||
} else {
|
||||
sequence.push_back(MachineJob{machine.get<unsigned int>(), {}, {}});
|
||||
sequence.push_back(MachineJob{machine.get<unsigned int>(), {}, {}, {}});
|
||||
}
|
||||
}
|
||||
return sequence;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file Machine.hpp
|
||||
* @file Machine.hpp
|
||||
* @author The ARTIS Development Team
|
||||
* See the AUTHORS or Authors.txt file
|
||||
*/
|
||||
@@ -32,11 +32,15 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct MachineParameters {
|
||||
uint machine_id;
|
||||
uint machine_type;
|
||||
uint pool_id;
|
||||
};
|
||||
struct MachineParameters {
|
||||
uint machine_id;
|
||||
uint machine_type;
|
||||
uint pool_id;
|
||||
uint capacity;
|
||||
};
|
||||
|
||||
struct Durations {
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
*/
|
||||
|
||||
#include "PoolRouter.hpp"
|
||||
#include "Sink.hpp"
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
@@ -43,25 +42,13 @@ void PoolRouter::dint(const Time & /* t */) {
|
||||
|
||||
assert(it != _pending_po.cend());
|
||||
|
||||
if ((*it)->is_finish()) {
|
||||
_available_machines[(*it)->last_operation()->get_loc_index()] = true;
|
||||
} else if ((*it)->current_operation().get_type() == CHANGE_POOL_TYPE) {
|
||||
_available_machines[(*it)->previous_operation()->get_loc_index()] = true;
|
||||
} else {
|
||||
//_available_machines[(*it)->current_operation().get_loc_index()] = false;
|
||||
auto idx = (*it)->current_operation().get_loc_index();
|
||||
|
||||
// Modifié pour gérer le Sink
|
||||
if (idx == _available_machines.size()-1) {// Par simplicité, je considère que la dernière machine connectée est le Sink
|
||||
_available_machines[idx] = true;// Et si idx est le dernier index, alors cette "machine" reste disponible
|
||||
} else {
|
||||
_available_machines[idx] = false;
|
||||
}
|
||||
if (not (*it)->is_finish() and (*it)->current_operation().get_type() != CHANGE_POOL_TYPE) {
|
||||
_available_machines[(*it)->current_operation().get_loc_index()]--;
|
||||
}
|
||||
_pending_po.erase(it);
|
||||
if (std::find_if(_pending_po.cbegin(), _pending_po.cend(), [this](const auto &e) {
|
||||
return e->is_finish() or e->current_operation().get_type() == CHANGE_POOL_TYPE or
|
||||
_available_machines[e->current_operation().get_loc_index()];
|
||||
_available_machines[e->current_operation().get_loc_index()] > 0;
|
||||
}) != _pending_po.cend()) {
|
||||
_phase = Phase::SEND;
|
||||
} else {
|
||||
@@ -80,19 +67,24 @@ void PoolRouter::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
event.data()(data);
|
||||
_pending_po.push_back(std::make_unique<ProductionOrder>(data, event.data().size()));
|
||||
_pending_po.back()->next();
|
||||
} else if (event.port_index() == inputs::FINISH) {
|
||||
unsigned int index;
|
||||
|
||||
event.data()(index);
|
||||
_available_machines[index]++;
|
||||
} else if (event.port_index() >= inputs::IN_M) {
|
||||
uint8_t *data = nullptr;
|
||||
|
||||
event.data()(data);
|
||||
_pending_po.push_back(std::make_unique<ProductionOrder>(data, event.data().size()));
|
||||
_available_machines[event.port_index() - inputs::IN_M] = true;
|
||||
_available_machines[event.port_index() - inputs::IN_M]++;
|
||||
_pending_po.back()->next();
|
||||
}
|
||||
}
|
||||
);
|
||||
if (std::find_if(_pending_po.cbegin(), _pending_po.cend(), [this](const auto &e) {
|
||||
return e->is_finish() or e->current_operation().get_type() == CHANGE_POOL_TYPE or
|
||||
_available_machines[e->current_operation().get_loc_index()];
|
||||
_available_machines[e->current_operation().get_loc_index()] > 0;
|
||||
}) != _pending_po.cend()) {
|
||||
_phase = Phase::SEND;
|
||||
} else {
|
||||
@@ -102,6 +94,9 @@ void PoolRouter::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
|
||||
void PoolRouter::start(const Time & /* t */) {
|
||||
_phase = Phase::INIT;
|
||||
for (const auto &e: _parameters.capacities) {
|
||||
_available_machines[e.first] = e.second;
|
||||
}
|
||||
}
|
||||
|
||||
Time PoolRouter::ta(const Time & /* t */) const {
|
||||
@@ -155,8 +150,8 @@ PoolRouter::ProductionOrders::const_iterator PoolRouter::next_po() const {
|
||||
return it;
|
||||
} else {
|
||||
return std::find_if(_pending_po.cbegin(), _pending_po.cend(),
|
||||
[this](const auto &e) { return _available_machines[e->current_operation().get_loc_index()]; });
|
||||
[this](const auto &e) { return _available_machines.at(e->current_operation().get_loc_index()) > 0; });
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace artis::factory
|
||||
} // namespace artis::factory
|
||||
@@ -36,14 +36,14 @@ namespace artis::factory {
|
||||
|
||||
struct PoolRouterParameters {
|
||||
uint type;
|
||||
std::size_t machine_number;
|
||||
std::map<unsigned int, unsigned int> capacities;
|
||||
};
|
||||
|
||||
class PoolRouter : public Dynamics<PoolRouter, PoolRouterParameters> {
|
||||
public:
|
||||
struct inputs {
|
||||
enum values {
|
||||
IN, IN_M = 1000
|
||||
IN, FINISH, IN_M = 1000
|
||||
};
|
||||
};
|
||||
|
||||
@@ -60,14 +60,13 @@ public:
|
||||
};
|
||||
|
||||
PoolRouter(const std::string &name, const Context<PoolRouter, PoolRouterParameters> &context)
|
||||
: Dynamics<PoolRouter, PoolRouterParameters>(name, context),
|
||||
_parameters(context.parameters()), _available_machines(context.parameters().machine_number) {
|
||||
input_port({inputs::IN, "in"});
|
||||
: Dynamics<PoolRouter, PoolRouterParameters>(name, context), _parameters(context.parameters()) {
|
||||
input_ports({{inputs::IN, "in"},
|
||||
{inputs::FINISH, "finish"}});
|
||||
output_port({outputs::OUT, "out"});
|
||||
for (unsigned int i = 0; i < context.parameters().machine_number; ++i) {
|
||||
output_port({outputs::OUT_M + i, "out_m" + std::to_string(i)});
|
||||
input_port({inputs::IN_M + i, "in_m" + std::to_string(i)});
|
||||
_available_machines[i] = true;
|
||||
for (const auto &e: context.parameters().capacities) {
|
||||
output_port({outputs::OUT_M + e.first, "out_m_" + std::to_string(e.first)});
|
||||
input_port({inputs::IN_M + e.first, "in_m_" + std::to_string(e.first)});
|
||||
}
|
||||
observables({{vars::WAITING_PO_NUMBER, "waiting_po_number"}});
|
||||
}
|
||||
@@ -115,7 +114,7 @@ private:
|
||||
// state
|
||||
Phase::values _phase;
|
||||
ProductionOrders _pending_po;
|
||||
std::vector<bool> _available_machines;
|
||||
std::map<unsigned int, unsigned int> _available_machines;
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
@@ -24,63 +24,97 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "ItemStock.hpp"
|
||||
#include "Processor.hpp"
|
||||
#include "Stock.hpp"
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
void Processor::dint(const Time & t) {
|
||||
switch (_phase) {
|
||||
case Phase::INIT: {
|
||||
_phase = Phase::WAIT;
|
||||
break;
|
||||
}
|
||||
case Phase::READY:
|
||||
_po.reset(nullptr);
|
||||
_phase = Phase::WAIT;
|
||||
break;
|
||||
case Phase::WAIT:
|
||||
assert(false);
|
||||
break;
|
||||
case Phase::LOADING: {
|
||||
_phase = Phase::PROCESSING;
|
||||
break;
|
||||
}
|
||||
case Phase::PROCESSING: {
|
||||
_phase = Phase::UNLOADING;
|
||||
break;
|
||||
}
|
||||
case Phase::UNLOADING: {
|
||||
_phase = Phase::READY;
|
||||
|
||||
#ifdef WITH_TRACE
|
||||
Trace::trace()
|
||||
<< TraceElement(get_name(), t,
|
||||
artis::common::FormalismType::PDEVS,
|
||||
artis::common::FunctionType::DELTA_INT,
|
||||
artis::common::LevelType::USER)
|
||||
<< "FINISH po = " << _po->to_string();
|
||||
Trace::trace().flush();
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
assert(false);
|
||||
void Processor::dint(const Time &t) {
|
||||
for (auto it = _jobs.cbegin(); it != _jobs.cend();) {
|
||||
if (it->second._next_time == t and it->second._phase == Phase::READY) {
|
||||
it = _jobs.erase(it);
|
||||
} else {
|
||||
++it;
|
||||
}
|
||||
}
|
||||
for (auto &j: _jobs) {
|
||||
auto &job = j.second;
|
||||
|
||||
if (job._next_time == t) {
|
||||
switch (job._phase) {
|
||||
case Phase::DEMAND_SUPPLY:
|
||||
job._phase = Phase::WAIT_SUPPLY;
|
||||
job._next_time = artis::common::DoubleTime::infinity;
|
||||
break;
|
||||
case Phase::WAIT_SUPPLY:
|
||||
case Phase::WAIT:
|
||||
assert(false);
|
||||
break;
|
||||
case Phase::LOADING: {
|
||||
job._phase = Phase::PROCESSING;
|
||||
job._next_time = t + durations(job._po->get_productID()).processing_time;
|
||||
break;
|
||||
}
|
||||
case Phase::PROCESSING: {
|
||||
job._phase = Phase::UNLOADING;
|
||||
job._next_time = t + durations(job._po->get_productID()).unload_time;
|
||||
break;
|
||||
}
|
||||
case Phase::UNLOADING: {
|
||||
auto it = _parameters.in_out.find(job._po->get_productID());
|
||||
|
||||
void Processor::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
if (it != _parameters.in_out.cend() and not it->second._outs.empty()) {
|
||||
job._phase = Phase::SEND_STOCK_AVAILABLE;
|
||||
job._next_time = t;
|
||||
} else {
|
||||
job._phase = Phase::READY;
|
||||
job._next_time = t;
|
||||
}
|
||||
|
||||
#ifdef WITH_TRACE
|
||||
Trace::trace()
|
||||
<< TraceElement(get_name(), t,
|
||||
artis::common::FormalismType::PDEVS,
|
||||
artis::common::FunctionType::DELTA_INT,
|
||||
artis::common::LevelType::USER)
|
||||
<< "FINISH po = " << job._po->to_string();
|
||||
Trace::trace().flush();
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
case Phase::SEND_STOCK_AVAILABLE: {
|
||||
job._phase = Phase::WAIT_STOCK_AVAILABLE;
|
||||
job._next_time = artis::common::DoubleTime::infinity;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Processor::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
std::for_each(bag.begin(), bag.end(), [this, t](const ExternalEvent &event) {
|
||||
if (event.port_index() == inputs::IN) {
|
||||
if (event.on_port(inputs::IN)) {
|
||||
uint8_t *data = nullptr;
|
||||
|
||||
// TODO
|
||||
assert(_po == nullptr);
|
||||
assert(_jobs.size() < _parameters.capacity);
|
||||
|
||||
event.data()(data);
|
||||
_po = std::make_unique<ProductionOrder>(data, event.data().size());
|
||||
_phase = Phase::LOADING;
|
||||
|
||||
auto po = std::make_unique<ProductionOrder>(data, event.data().size());
|
||||
auto po_id = po->getID();
|
||||
auto product_id = po->get_productID();
|
||||
auto it = _parameters.in_out.find(po->get_productID());
|
||||
|
||||
if (it == _parameters.in_out.end() or it->second._ins.empty()) {
|
||||
_jobs[po_id] = Job{Phase::LOADING, std::move(po), 0, t + durations(product_id).load_time};
|
||||
} else {
|
||||
_jobs[po_id] = Job{Phase::DEMAND_SUPPLY, std::move(po), (unsigned int) it->second._ins.size(), t};
|
||||
}
|
||||
|
||||
#ifdef WITH_TRACE
|
||||
Trace::trace()
|
||||
@@ -88,43 +122,125 @@ namespace artis::factory {
|
||||
artis::common::FormalismType::PDEVS,
|
||||
artis::common::FunctionType::DELTA_EXT,
|
||||
artis::common::LevelType::USER)
|
||||
<< "START po = " << _po->to_string();
|
||||
<< "START po = " << _jobs[po_id]._po->to_string();
|
||||
Trace::trace().flush();
|
||||
#endif
|
||||
|
||||
} else if (event.on_port(inputs::IN_ITEM)) {
|
||||
ItemResponse response;
|
||||
|
||||
event.data()(response);
|
||||
|
||||
assert(_jobs.find(response.po_id) != _jobs.end());
|
||||
|
||||
auto &job = _jobs[response.po_id];
|
||||
job._demand_number--;
|
||||
if (job._demand_number == 0) {
|
||||
job._phase = Phase::LOADING;
|
||||
job._next_time = t + durations(job._po->get_productID()).load_time;
|
||||
}
|
||||
} else if (event.on_port(inputs::IN_STOCK)) {
|
||||
ProductResponse response;
|
||||
|
||||
event.data()(response);
|
||||
|
||||
assert(_jobs.find(response.po_id) != _jobs.end());
|
||||
|
||||
auto &job = _jobs[response.po_id];
|
||||
|
||||
job._demand_number--;
|
||||
if (job._demand_number == 0) {
|
||||
job._phase = Phase::LOADING;
|
||||
job._next_time = t + durations(job._po->get_productID()).load_time;
|
||||
}
|
||||
} else if (event.port_index() >= inputs::IN_STOCK_AVAILABLE) {
|
||||
StockAvailableResponse response;
|
||||
|
||||
event.data()(response);
|
||||
|
||||
assert(_jobs.find(response.po_id) != _jobs.end());
|
||||
|
||||
auto &job = _jobs[response.po_id];
|
||||
|
||||
switch (response.response) {
|
||||
case StockAvailableResponse::AVAILABLE: {
|
||||
job._phase = Phase::READY;
|
||||
job._next_time = t;
|
||||
break;
|
||||
}
|
||||
case StockAvailableResponse::NOT_AVAILABLE: {
|
||||
job._phase = Phase::WAIT_STOCK_AVAILABLE;
|
||||
job._next_time = artis::common::DoubleTime::infinity;
|
||||
break;
|
||||
}
|
||||
case StockAvailableResponse::NEW_AVAILABLE: {
|
||||
job._phase = Phase::SEND_STOCK_AVAILABLE;
|
||||
job._next_time = t;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Processor::start(const Time & /* t */) {
|
||||
// TODO
|
||||
_phase = Phase::INIT;
|
||||
}
|
||||
|
||||
Time Processor::ta(const Time & /* t */) const {
|
||||
// TODO
|
||||
switch (_phase) {
|
||||
case Phase::INIT:
|
||||
case Phase::READY:
|
||||
return 0;
|
||||
case Phase::WAIT:
|
||||
return artis::common::DoubleTime::infinity;
|
||||
case Phase::LOADING:
|
||||
return _parameters.load_time;
|
||||
case Phase::PROCESSING:
|
||||
return _parameters.processing_time;
|
||||
case Phase::UNLOADING:
|
||||
return _parameters.unload_time;
|
||||
Time Processor::ta(const Time &t) const {
|
||||
if (not _jobs.empty()) {
|
||||
return std::min_element(_jobs.cbegin(), _jobs.cend(), [](const auto &lhs, const auto &rhs) {
|
||||
return (lhs.second._next_time != artis::common::DoubleTime::infinity and
|
||||
lhs.second._next_time < rhs.second._next_time) or
|
||||
rhs.second._next_time == artis::common::DoubleTime::infinity;
|
||||
})->second._next_time - t;
|
||||
}
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
|
||||
Bag Processor::lambda(const Time & /* t */) const {
|
||||
Bag Processor::lambda(const Time &t) const {
|
||||
Bag bag;
|
||||
|
||||
// TODO
|
||||
if (_phase == Phase::READY) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT, common::event::Value(_po->_buffer, _po->_size)));
|
||||
for (const auto &e: _jobs) {
|
||||
const auto &job = e.second;
|
||||
|
||||
if (job._next_time == t) {
|
||||
if (job._phase == Phase::READY) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT, common::event::Value(job._po->_buffer, job._po->_size)));
|
||||
|
||||
auto it = _parameters.in_out.find(job._po->get_productID());
|
||||
|
||||
if (it != _parameters.in_out.cend() and not it->second._outs.empty()) {
|
||||
const auto &p = it->second._outs.front()._destination;
|
||||
|
||||
bag.push_back(ExternalEvent(outputs::OUT_STOCK + int(p._pool_id * 100 + p._stock_id),
|
||||
StockEntry(e.first, job._po->operation_index(),
|
||||
job._po->get_productID(), 1)));
|
||||
}
|
||||
} else if (job._phase == Phase::DEMAND_SUPPLY) {
|
||||
auto it = _parameters.in_out.find(job._po->get_productID());
|
||||
|
||||
for (const auto &item: it->second._ins) {
|
||||
if (item._source._pool_id == -1) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT_ITEM_DEMAND + (int) item._source._stock_id,
|
||||
ItemDemand(item._id, e.first, item._quantity)));
|
||||
} else {
|
||||
bag.push_back(
|
||||
ExternalEvent(outputs::OUT_STOCK_DEMAND + (int) (item._source._pool_id * 100 + item._source._stock_id),
|
||||
ProductDemand(e.first, job._po->operation_index() - (job._po->get_operation(
|
||||
job._po->operation_index() - 1)->get_type() == CHANGE_POOL_TYPE ? 2 : 1),
|
||||
job._po->get_productID(), 1)));
|
||||
}
|
||||
}
|
||||
} else if (job._phase == Phase::SEND_STOCK_AVAILABLE) {
|
||||
auto it = _parameters.in_out.find(job._po->get_productID());
|
||||
|
||||
if (it != _parameters.in_out.cend() and not it->second._outs.empty()) {
|
||||
const auto &p = it->second._outs.front()._destination;
|
||||
|
||||
bag.push_back(ExternalEvent(outputs::OUT_STOCK_AVAILABLE + int(p._pool_id * 100 + p._stock_id), e.first));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return bag;
|
||||
}
|
||||
@@ -133,4 +249,4 @@ artis::common::event::Value Processor::observe(const Time & /* t */, unsigned in
|
||||
return {};
|
||||
}
|
||||
|
||||
} // namespace artis::factory
|
||||
} // namespace artis::factory
|
||||
@@ -33,23 +33,51 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct ProcessorParameters : MachineParameters {
|
||||
struct Location {
|
||||
int _pool_id; // -1 if global
|
||||
unsigned int _stock_id;
|
||||
};
|
||||
|
||||
struct In {
|
||||
int _id; // -1 if current product
|
||||
Location _source;
|
||||
unsigned int _quantity;
|
||||
};
|
||||
|
||||
struct Out {
|
||||
int _id; // -1 if current product
|
||||
Location _destination;
|
||||
unsigned int _quantity;
|
||||
};
|
||||
|
||||
struct InOut {
|
||||
std::vector<In> _ins;
|
||||
std::vector<Out> _outs;
|
||||
};
|
||||
|
||||
struct ProcessorDurations : Durations {
|
||||
uint load_time;
|
||||
uint processing_time;
|
||||
uint unload_time;
|
||||
};
|
||||
|
||||
struct ProcessorParameters : MachineParameters {
|
||||
ProcessorDurations durations;
|
||||
std::map<unsigned int, InOut> in_out;
|
||||
std::map<unsigned int, std::shared_ptr<ProcessorDurations>> product_durations;
|
||||
};
|
||||
|
||||
class Processor : public Dynamics<Processor, ProcessorParameters> {
|
||||
public:
|
||||
struct inputs {
|
||||
enum values {
|
||||
IN
|
||||
IN, IN_ITEM, IN_STOCK, IN_STOCK_AVAILABLE = 4000
|
||||
};
|
||||
};
|
||||
|
||||
struct outputs {
|
||||
enum values {
|
||||
OUT
|
||||
OUT, OUT_ITEM_DEMAND = 1000, OUT_STOCK = 2000, OUT_STOCK_DEMAND = 3000, OUT_STOCK_AVAILABLE = 4000
|
||||
};
|
||||
};
|
||||
|
||||
@@ -60,8 +88,66 @@ public:
|
||||
|
||||
Processor(const std::string &name, const Context<Processor, ProcessorParameters> &context)
|
||||
: Dynamics<Processor, ProcessorParameters>(name, context), _parameters(context.parameters()) {
|
||||
input_port({inputs::IN, "in"});
|
||||
input_ports({{inputs::IN, "in"},
|
||||
{inputs::IN_ITEM, "in_supply"},
|
||||
{inputs::IN_STOCK, "in_stock"}});
|
||||
output_port({outputs::OUT, "out"});
|
||||
|
||||
// demand: processor -> item stocks
|
||||
std::vector<unsigned int> item_stocks;
|
||||
|
||||
for (const auto &p: _parameters.in_out) {
|
||||
for (const auto &q: p.second._ins) {
|
||||
if (q._source._pool_id == -1 and
|
||||
std::find(item_stocks.cbegin(), item_stocks.cend(), q._source._stock_id) == item_stocks.cend()) {
|
||||
item_stocks.push_back(q._source._stock_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &p: item_stocks) {
|
||||
output_port({outputs::OUT_ITEM_DEMAND + p, "out_demand_supply_" + std::to_string(p)});
|
||||
}
|
||||
|
||||
// processor -> intermediate stocks
|
||||
std::vector<std::pair<unsigned int, unsigned int>> stocks;
|
||||
|
||||
for (const auto &p: _parameters.in_out) {
|
||||
for (const auto &q: p.second._outs) {
|
||||
auto r = std::make_pair((unsigned int) q._destination._pool_id, q._destination._stock_id);
|
||||
|
||||
if (q._destination._pool_id != -1 and std::find(stocks.cbegin(), stocks.cend(), r) == stocks.cend()) {
|
||||
stocks.push_back(r);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &p: stocks) {
|
||||
output_port(
|
||||
{outputs::OUT_STOCK + (p.first * 100 + p.second),
|
||||
"out_stock_" + std::to_string(p.first) + "_" + std::to_string(p.second)});
|
||||
output_port(
|
||||
{outputs::OUT_STOCK_AVAILABLE + (p.first * 100 + p.second),
|
||||
"out_stock_available_" + std::to_string(p.first) + "_" + std::to_string(p.second)});
|
||||
input_port(
|
||||
{inputs::IN_STOCK_AVAILABLE + (p.first * 100 + p.second),
|
||||
"in_stock_available_" + std::to_string(p.first) + "_" + std::to_string(p.second)});
|
||||
}
|
||||
|
||||
// demand: processor -> intermediate stocks
|
||||
stocks.clear();
|
||||
for (const auto &p: _parameters.in_out) {
|
||||
for (const auto &q: p.second._ins) {
|
||||
auto r = std::make_pair((unsigned int) q._source._pool_id, q._source._stock_id);
|
||||
|
||||
if (q._source._pool_id != -1 and std::find(stocks.cbegin(), stocks.cend(), r) == stocks.cend()) {
|
||||
stocks.push_back(r);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto &p: stocks) {
|
||||
output_port(
|
||||
{outputs::OUT_STOCK_DEMAND + (p.first * 100 + p.second),
|
||||
"out_stock_demand_" + std::to_string(p.first) + "_" + std::to_string(p.second)});
|
||||
}
|
||||
}
|
||||
|
||||
~Processor() override = default;
|
||||
@@ -79,21 +165,29 @@ public:
|
||||
artis::common::event::Value observe(const Time &t, unsigned int index) const override;
|
||||
|
||||
private:
|
||||
const ProcessorDurations &durations(unsigned int product_id) const {
|
||||
if (_parameters.product_durations.find(product_id) == _parameters.product_durations.cend()) {
|
||||
return _parameters.durations;
|
||||
} else {
|
||||
return *_parameters.product_durations.at(product_id);
|
||||
}
|
||||
}
|
||||
|
||||
struct Phase {
|
||||
enum values {
|
||||
INIT,
|
||||
READY,
|
||||
WAIT,
|
||||
LOADING,
|
||||
PROCESSING,
|
||||
UNLOADING
|
||||
UNLOADING,
|
||||
DEMAND_SUPPLY,
|
||||
WAIT_SUPPLY,
|
||||
SEND_STOCK_AVAILABLE,
|
||||
WAIT_STOCK_AVAILABLE
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
switch (value) {
|
||||
case INIT:
|
||||
return "INIT";
|
||||
case READY:
|
||||
return "READY";
|
||||
case WAIT:
|
||||
@@ -104,19 +198,33 @@ private:
|
||||
return "PROCESSING";
|
||||
case UNLOADING:
|
||||
return "UNLOADING";
|
||||
case DEMAND_SUPPLY:
|
||||
return "DEMAND SUPPLY";
|
||||
case WAIT_SUPPLY:
|
||||
return "WAIT SUPPLY";
|
||||
case SEND_STOCK_AVAILABLE:
|
||||
return "SEND STOCK AVAILABLE";
|
||||
case WAIT_STOCK_AVAILABLE:
|
||||
return "WAIT STOCK AVAILABLE";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
// parameters
|
||||
struct Job {
|
||||
Phase::values _phase;
|
||||
std::unique_ptr<ProductionOrder> _po;
|
||||
unsigned int _demand_number;
|
||||
Time _next_time;
|
||||
};
|
||||
|
||||
// parameters
|
||||
ProcessorParameters _parameters;
|
||||
|
||||
// state
|
||||
Phase::values _phase;
|
||||
std::unique_ptr<ProductionOrder> _po;
|
||||
// state
|
||||
std::map<unsigned int, Job> _jobs; // key = po_id
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -84,7 +84,8 @@ ProductionOrder::ProductionOrder(uint8_t *buffer, std::size_t size)
|
||||
_is_finish = _buffer[INDEX_POSITION] + 1 >= _buffer[OPERATION_NUMBER_POSITION];
|
||||
}
|
||||
|
||||
ProductionOrder::ProductionOrder(uint16_t ID, uint16_t product_ID, const Program &program) : _is_finish(false) {
|
||||
ProductionOrder::ProductionOrder(uint16_t ID, uint16_t parent_ID, uint32_t due_date, uint16_t product_ID,
|
||||
const Program &program) : _is_finish(false) {
|
||||
Reference reference{0, 0};
|
||||
std::size_t operation_number = 0;
|
||||
|
||||
@@ -108,6 +109,16 @@ ProductionOrder::ProductionOrder(uint16_t ID, uint16_t product_ID, const Program
|
||||
_buffer[reference._byte_index++] = (uint8_t) (ID >> 8);
|
||||
_buffer[reference._byte_index++] = (uint8_t) (ID & 0xFF);
|
||||
|
||||
// parent ID
|
||||
_buffer[reference._byte_index++] = (uint8_t) (parent_ID >> 8);
|
||||
_buffer[reference._byte_index++] = (uint8_t) (parent_ID & 0xFF);
|
||||
|
||||
// due date
|
||||
_buffer[reference._byte_index++] = (uint8_t) (due_date >> 24);
|
||||
_buffer[reference._byte_index++] = (uint8_t) ((due_date >> 16) & 0xFF);
|
||||
_buffer[reference._byte_index++] = (uint8_t) ((due_date >> 8) & 0xFF);
|
||||
_buffer[reference._byte_index++] = (uint8_t) (due_date & 0xFF);
|
||||
|
||||
// product ID
|
||||
_buffer[reference._byte_index++] = (uint8_t) (product_ID >> 8);
|
||||
_buffer[reference._byte_index++] = (uint8_t) (product_ID & 0xFF);
|
||||
@@ -199,8 +210,14 @@ std::unique_ptr<Operation> ProductionOrder::previous_operation() const {
|
||||
std::string ProductionOrder::to_string() const {
|
||||
std::string str = "[ ";
|
||||
uint16_t ID = (_buffer[ID_POSITION] << 8) + _buffer[ID_POSITION + 1];
|
||||
uint16_t parentID = (_buffer[PARENT_ID_POSITION] << 8) + _buffer[PARENT_ID_POSITION + 1];
|
||||
|
||||
str += std::to_string(ID) + " ][ ";
|
||||
str += std::to_string(ID);
|
||||
if (ID != parentID) {
|
||||
str += + "/" + std::to_string(parentID) +" ][ ";
|
||||
|
||||
}
|
||||
str += " ][ ";
|
||||
for (uint8_t i = 0; i < _buffer[OPERATION_NUMBER_POSITION]; ++i) {
|
||||
if (_buffer[INDEX_POSITION] == i) {
|
||||
str += "<";
|
||||
|
||||
@@ -34,15 +34,17 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
// HEADER = [bit number (16 bits)][ID (16 bits)][Product ID (16 bits)][index (8 bits)][operation number (8 bits)]
|
||||
const std::size_t POOL_SIZE = 7; // bit number
|
||||
const std::size_t MACHINE_SIZE = 4; // bit number
|
||||
const std::size_t TYPE_SIZE = 2; // bit number
|
||||
const std::size_t HEADER_SIZE = 8; // byte number
|
||||
// HEADER = [bit number (16 bits)][ID (16 bits)][parent ID (16 bits)][Due date (32 bits)][Product ID (16 bits)][index (8 bits)][operation number (8 bits)]
|
||||
const std::size_t POOL_SIZE = 7; // bit number
|
||||
const std::size_t MACHINE_SIZE = 4; // bit number
|
||||
const std::size_t TYPE_SIZE = 2; // bitModifier le générateur de PO afin de générer tous les PO number
|
||||
const std::size_t HEADER_SIZE = 14; // byte number
|
||||
|
||||
const std::size_t BIT_NUMBER_POSITION = 0;
|
||||
const std::size_t ID_POSITION = BIT_NUMBER_POSITION + 2;
|
||||
const std::size_t PRODUCT_ID_POSITION = ID_POSITION + 2;
|
||||
const std::size_t PARENT_ID_POSITION = ID_POSITION + 2;
|
||||
const std::size_t DUE_DATE_POSITION = PARENT_ID_POSITION + 2;
|
||||
const std::size_t PRODUCT_ID_POSITION = DUE_DATE_POSITION + 4;
|
||||
const std::size_t INDEX_POSITION = PRODUCT_ID_POSITION + 2;
|
||||
const std::size_t OPERATION_NUMBER_POSITION = INDEX_POSITION + 1;
|
||||
|
||||
@@ -139,7 +141,7 @@ struct ProductionOrder {
|
||||
|
||||
~ProductionOrder() { delete[] _buffer; }
|
||||
|
||||
ProductionOrder(uint16_t ID, uint16_t product_ID, const Program &program);
|
||||
ProductionOrder(uint16_t ID, uint16_t parent_ID, uint32_t due_date, uint16_t product_ID, const Program &program);
|
||||
|
||||
const Operation ¤t_operation() const { return *_current_operation; }
|
||||
|
||||
@@ -147,8 +149,17 @@ struct ProductionOrder {
|
||||
return (_buffer[ID_POSITION] << 8) + _buffer[ID_POSITION + 1];
|
||||
}
|
||||
|
||||
uint32_t get_due_date() const {
|
||||
return (_buffer[DUE_DATE_POSITION] << 24) + (_buffer[DUE_DATE_POSITION] << 16) + (_buffer[DUE_DATE_POSITION] << 8) +
|
||||
_buffer[DUE_DATE_POSITION + 1];
|
||||
}
|
||||
|
||||
std::unique_ptr<Operation> get_operation(uint8_t index) const;
|
||||
|
||||
uint16_t get_parentID() const {
|
||||
return (_buffer[PARENT_ID_POSITION] << 8) + _buffer[PARENT_ID_POSITION + 1];
|
||||
}
|
||||
|
||||
uint16_t get_productID() const {
|
||||
return (_buffer[PRODUCT_ID_POSITION] << 8) + _buffer[PRODUCT_ID_POSITION + 1];
|
||||
}
|
||||
|
||||
@@ -28,20 +28,30 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
void ProductionOrderGenerator::dint(const Time & /* &t */) {
|
||||
void ProductionOrderGenerator::dint(const Time &t) {
|
||||
switch (_phase) {
|
||||
case Phase::INIT:
|
||||
_phase = Phase::SEND;
|
||||
break;
|
||||
case Phase::SEND: {
|
||||
_current_id++;
|
||||
_po_counter++;
|
||||
_productID = _productIDs[_distrib_product(_rng)];
|
||||
_po = std::make_unique<ProductionOrder>(_current_id, _productID, _parameters.programs[_productID]);
|
||||
_send_speed = _distrib_send_speed(_rng);
|
||||
_phase = Phase::SEND;
|
||||
if (_parameters.po_number == -1) {
|
||||
generate_production_orders(t);
|
||||
_sigma = _distrib_send_speed(_rng);
|
||||
_phase = Phase::SEND;
|
||||
} else {
|
||||
if (_po_index < (unsigned int) _parameters.po_number - 1) {
|
||||
_po_index++;
|
||||
if (not _parameters.po_order.empty()) {
|
||||
_sigma = 0;
|
||||
}
|
||||
} else {
|
||||
_phase = Phase::FINISH;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Phase::FINISH:
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,14 +61,18 @@ void ProductionOrderGenerator::dext(const Time & /* t */, const Time & /* e */,
|
||||
});
|
||||
}
|
||||
|
||||
void ProductionOrderGenerator::start(const Time & /* t */) {
|
||||
void ProductionOrderGenerator::start(const Time &t) {
|
||||
_phase = Phase::INIT;
|
||||
_po = nullptr;
|
||||
_current_id = 0;
|
||||
_productID = _productIDs[_distrib_product(_rng)];
|
||||
_po = std::make_unique<ProductionOrder>(_current_id, _productID, _parameters.programs[_productID]);
|
||||
_po_counter = 0;
|
||||
_send_speed = 0; // _distrib_send_speed(_rng);
|
||||
_po_index = 0;
|
||||
if (_parameters.po_number == -1) {
|
||||
generate_production_orders(t);
|
||||
} else {
|
||||
for (unsigned int i = 0; i < (unsigned int) _parameters.po_number; ++i) {
|
||||
generate_production_orders(t);
|
||||
}
|
||||
}
|
||||
_sigma = 0;
|
||||
}
|
||||
|
||||
Time ProductionOrderGenerator::ta(const Time & /* t */) const {
|
||||
@@ -66,7 +80,9 @@ Time ProductionOrderGenerator::ta(const Time & /* t */) const {
|
||||
case Phase::INIT:
|
||||
return 0;
|
||||
case Phase::SEND:
|
||||
return _send_speed;
|
||||
return _sigma;
|
||||
case Phase::FINISH:
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
@@ -75,8 +91,12 @@ Bag ProductionOrderGenerator::lambda(const Time & /* t */) const {
|
||||
Bag bag;
|
||||
|
||||
if (_phase == Phase::SEND) {
|
||||
if (_po) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT, common::event::Value(_po->_buffer, _po->_size)));
|
||||
if (_parameters.po_order.empty()) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT, common::event::Value(_pos[_po_index]->_buffer, _pos[_po_index]->_size)));
|
||||
} else {
|
||||
const auto &po = _pos[_parameters.po_order[_po_index]];
|
||||
|
||||
bag.push_back(ExternalEvent(outputs::OUT, common::event::Value(po->_buffer, po->_size)));
|
||||
}
|
||||
}
|
||||
return bag;
|
||||
@@ -85,9 +105,16 @@ Bag ProductionOrderGenerator::lambda(const Time & /* t */) const {
|
||||
artis::common::event::Value ProductionOrderGenerator::observe(const Time & /* t */, unsigned int index) const {
|
||||
switch (index) {
|
||||
case vars::TOTAL_PO_NUMBER:
|
||||
return (unsigned int) _po_counter;
|
||||
return (unsigned int) _po_index;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
void ProductionOrderGenerator::generate_production_orders(const Time &t) {
|
||||
_productID = _productIDs[_distrib_product(_rng)];
|
||||
_pos.push_back(std::make_unique<ProductionOrder>(_current_id, _current_id, t + 8 * 60 * 60, _productID,
|
||||
_parameters.programs[_productID]));
|
||||
_current_id++;
|
||||
}
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
@@ -42,6 +42,8 @@ struct ProductionOrderGeneratorParameters {
|
||||
uint random_seed;
|
||||
uint min_send_speed_rate;
|
||||
uint max_send_speed_rate;
|
||||
int po_number{-1};
|
||||
std::vector<unsigned int> po_order{};
|
||||
};
|
||||
|
||||
class ProductionOrderGenerator
|
||||
@@ -89,9 +91,11 @@ public:
|
||||
artis::common::event::Value observe(const Time &t, unsigned int index) const override;
|
||||
|
||||
private:
|
||||
void generate_production_orders(const Time & t);
|
||||
|
||||
struct Phase {
|
||||
enum values {
|
||||
INIT, SEND
|
||||
INIT, SEND, FINISH
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
@@ -100,6 +104,8 @@ private:
|
||||
return "INIT";
|
||||
case SEND:
|
||||
return "SEND";
|
||||
case FINISH:
|
||||
return "FINISH";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
@@ -119,11 +125,11 @@ private:
|
||||
std::vector<unsigned int> _productIDs;
|
||||
|
||||
unsigned int _productID;
|
||||
std::unique_ptr<ProductionOrder> _po;
|
||||
std::vector<std::unique_ptr<ProductionOrder>> _pos;
|
||||
|
||||
unsigned int _current_id;
|
||||
std::size_t _po_counter;
|
||||
unsigned int _send_speed;
|
||||
std::size_t _po_index;
|
||||
unsigned int _sigma;
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
66
src/Sink.cpp
66
src/Sink.cpp
@@ -28,52 +28,51 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
void Sink::dint(const Time &/*t*/) {
|
||||
// TODO
|
||||
// Inutile si l'on consiède que cet élément ce fait que recevoir des POs. Il ne fait rien par lui-même, et ne varie que en fonction de son environnement.
|
||||
void Sink::dint(const Time & /* t */) {
|
||||
switch (_phase) {
|
||||
case Phase::WAIT: {
|
||||
assert(false);
|
||||
}
|
||||
case Phase::SEND: {
|
||||
_phase = Phase::WAIT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Sink::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
std::for_each(bag.begin(), bag.end(), [this, t](const ExternalEvent &event) {
|
||||
|
||||
std::for_each(bag.begin(), bag.end(), [t, this](const ExternalEvent &event) {
|
||||
if (event.port_index() == inputs::IN) {
|
||||
uint8_t *data = nullptr;
|
||||
|
||||
event.data()(data);
|
||||
std::unique_ptr<ProductionOrder> po = std::make_unique<ProductionOrder>(data, event.data().size());
|
||||
#ifdef WITH_TRACE
|
||||
Trace::trace()
|
||||
<< TraceElement(get_name(), t,
|
||||
artis::common::FormalismType::PDEVS,
|
||||
artis::common::FunctionType::DELTA_EXT,
|
||||
artis::common::LevelType::USER)
|
||||
<< "Sink received po = " << po->to_string();
|
||||
Trace::trace().flush();
|
||||
#endif
|
||||
_pos.push_back(std::move(po));//Je ne peux pas dupliquer ce pointer unique dans la liste, je dois explicitement le déplacer.
|
||||
_phase = Phase::LOADED;
|
||||
_finished_po.push_back(std::make_unique<ProductionOrder>(data, event.data().size()));
|
||||
_phase = Phase::SEND;
|
||||
|
||||
#ifdef WITH_TRACE
|
||||
Trace::trace()
|
||||
<< TraceElement(get_name(), t,
|
||||
artis::common::FormalismType::PDEVS,
|
||||
artis::common::FunctionType::DELTA_EXT,
|
||||
artis::common::LevelType::USER)
|
||||
<< "FINISH po = " << _finished_po.back()->to_string();
|
||||
Trace::trace().flush();
|
||||
#endif
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Sink::start(const Time & /* t */) {
|
||||
_phase = Phase::INIT;
|
||||
// Préparation du modèle, j'imagine que ce n'est pas utile donc passage immédiat en READY
|
||||
_phase = Phase::READY;
|
||||
// Le modèle est prêt, on attend des PO
|
||||
_phase = Phase::WAIT;
|
||||
}
|
||||
|
||||
Time Sink::ta(const Time & /* t */) const {
|
||||
switch (_phase) {
|
||||
case Phase::INIT:// Phase transitoire, je n'y reste pas, le modèle ne fait qu'y passer
|
||||
case Phase::READY:// Idem
|
||||
//case Phase::UNLOADING:// Déchargement des PO dans la sortie, ce n'est que transitoire
|
||||
return 0;
|
||||
case Phase::WAIT:// J'attends un premier PO, potentiellement infini
|
||||
case Phase::LOADED:// J'ai un PO en stock, j'attends d'en faire quelque chose,ce qui est potentiellement infini
|
||||
case Phase::WAIT: {
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
case Phase::SEND: {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
@@ -81,13 +80,18 @@ Time Sink::ta(const Time & /* t */) const {
|
||||
Bag Sink::lambda(const Time & /* t */) const {
|
||||
Bag bag;
|
||||
|
||||
// TODO
|
||||
// Pour le moment, Sink ne laisse pas sortir les POs arrivés dedans. Inutile de définir ceci.
|
||||
if (_phase == Phase::SEND) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT, (unsigned int) _parameters.machine_id));
|
||||
}
|
||||
return bag;
|
||||
}
|
||||
|
||||
artis::common::event::Value Sink::observe(const Time & /* t */, unsigned int /* index */) const {
|
||||
artis::common::event::Value Sink::observe(const Time & /* t */, unsigned int index) const {
|
||||
switch (index) {
|
||||
case vars::FINISHED_PO_NUMBER:
|
||||
return (unsigned int) _finished_po.size();
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
} // namespace artis::factory
|
||||
} // namespace artis::factory
|
||||
53
src/Sink.hpp
53
src/Sink.hpp
@@ -34,7 +34,6 @@
|
||||
namespace artis::factory {
|
||||
|
||||
struct SinkParameters : MachineParameters {
|
||||
|
||||
};
|
||||
|
||||
class Sink : public Dynamics<Sink, SinkParameters> {
|
||||
@@ -53,13 +52,15 @@ public:
|
||||
|
||||
struct vars {
|
||||
enum values {
|
||||
FINISHED_PO_NUMBER
|
||||
};
|
||||
};
|
||||
|
||||
Sink(const std::string &name, const Context<Sink, SinkParameters> &context)
|
||||
: Dynamics<Sink, SinkParameters>(name, context) {
|
||||
: Dynamics<Sink, SinkParameters>(name, context), _parameters(context.parameters()) {
|
||||
input_port({inputs::IN, "in"});
|
||||
output_port({outputs::OUT, "out"});
|
||||
observables({{vars::FINISHED_PO_NUMBER, "finished_po_number"}});
|
||||
}
|
||||
|
||||
~Sink() override = default;
|
||||
@@ -77,38 +78,30 @@ public:
|
||||
artis::common::event::Value observe(const Time &t, unsigned int index) const override;
|
||||
|
||||
private:
|
||||
struct Phase {
|
||||
enum values {
|
||||
INIT,
|
||||
READY,
|
||||
WAIT,
|
||||
LOADED,
|
||||
//UNLOADING
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
switch (value) {
|
||||
case INIT:
|
||||
return "INIT";
|
||||
case READY:
|
||||
return "READY";
|
||||
case WAIT:
|
||||
return "WAIT";
|
||||
case LOADED:
|
||||
return "LOADED";
|
||||
/*case UNLOADING:
|
||||
return "UNLOADING";*/
|
||||
}
|
||||
return "";
|
||||
}
|
||||
struct Phase {
|
||||
enum values {
|
||||
WAIT, SEND
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
switch (value) {
|
||||
case WAIT:
|
||||
return "WAIT";
|
||||
case SEND:
|
||||
return "SEND";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::deque<std::unique_ptr<ProductionOrder>> ProductionOrders;
|
||||
|
||||
Phase::values _phase;
|
||||
std::vector<std::unique_ptr<ProductionOrder>> _pos;
|
||||
}; // class Sink
|
||||
SinkParameters _parameters;
|
||||
|
||||
Phase::values _phase;
|
||||
ProductionOrders _finished_po;
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
#endif // ARTIS_FACTORY_SINK_HPP
|
||||
#endif
|
||||
103
src/Stock.cpp
103
src/Stock.cpp
@@ -29,32 +29,119 @@
|
||||
namespace artis::factory {
|
||||
|
||||
void Stock::dint(const Time & /* t */) {
|
||||
// TODO
|
||||
switch (_phase) {
|
||||
case Phase::SEND_AVAILABLE: {
|
||||
_available_demands.clear();
|
||||
_phase = Phase::WAIT;
|
||||
break;
|
||||
}
|
||||
case Phase::SEND: {
|
||||
_demands.clear();
|
||||
_phase = Phase::WAIT;
|
||||
break;
|
||||
}
|
||||
case Phase::WAIT: {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Stock::dext(const Time & /* t */, const Time & /* e */, const Bag &bag) {
|
||||
std::for_each(bag.begin(), bag.end(), [](const ExternalEvent & /* event */) {
|
||||
// TODO
|
||||
void Stock::dext(const Time &t, const Time & /* e */, const Bag &bag) {
|
||||
std::for_each(bag.begin(), bag.end(), [t, this](const ExternalEvent &event) {
|
||||
if (event.on_port(inputs::IN)) {
|
||||
StockEntry entry;
|
||||
|
||||
event.data()(entry);
|
||||
if (_parameters._capacity == -1 or (int) _entries.size() < _parameters._capacity) {
|
||||
_entries.push_back({t, entry.po_id, entry.po_index, entry.product_id, entry.quantity});
|
||||
} else {
|
||||
assert(false);
|
||||
}
|
||||
} else if (event.port_index() >= inputs::IN_DEMAND and event.port_index() < inputs::IN_STOCK_AVAILABLE) {
|
||||
ProductDemand demand;
|
||||
|
||||
event.data()(demand);
|
||||
auto it = std::find_if(_entries.begin(), _entries.end(), [demand](const auto &e) {
|
||||
return e._po_id == demand.po_id and e._po_index == demand.po_index and e._product_id == demand.product_id
|
||||
and e._quantity >= demand.quantity;
|
||||
});
|
||||
|
||||
if (it != _entries.end()) {
|
||||
if (it->_quantity == demand.quantity) {
|
||||
_entries.erase(it);
|
||||
} else {
|
||||
it->_quantity -= demand.quantity;
|
||||
}
|
||||
_demands.push_back(std::make_pair(event.port_index() - inputs::IN_DEMAND, demand));
|
||||
_phase = Phase::SEND;
|
||||
}
|
||||
} else if (event.port_index() >= inputs::IN_STOCK_AVAILABLE) {
|
||||
unsigned int machine_id = event.port_index() - inputs::IN_STOCK_AVAILABLE;
|
||||
unsigned int po_id;
|
||||
|
||||
event.data()(po_id);
|
||||
_available_demands.push_back(AvailableDemand{machine_id, po_id, false});
|
||||
if (_parameters._capacity == -1 or (int) _entries.size() < _parameters._capacity) {
|
||||
auto it = std::find_if(_waiting_machine_ids.begin(), _waiting_machine_ids.end(),
|
||||
[machine_id, po_id](const auto &e) {
|
||||
return machine_id == e.first and po_id == e.second;
|
||||
});
|
||||
|
||||
if (it != _waiting_machine_ids.end()) {
|
||||
_waiting_machine_ids.erase(it);
|
||||
}
|
||||
_available_demands.back()._available = true;
|
||||
_phase = Phase::SEND_AVAILABLE;
|
||||
} else {
|
||||
_waiting_machine_ids.push_back(std::make_pair(machine_id, po_id));
|
||||
_phase = Phase::SEND_AVAILABLE;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Stock::start(const Time & /* t */) {
|
||||
// TODO
|
||||
_phase = Phase::WAIT;
|
||||
}
|
||||
|
||||
Time Stock::ta(const Time & /* t */) const {
|
||||
// TODO
|
||||
switch (_phase) {
|
||||
case Phase::WAIT:
|
||||
return artis::common::DoubleTime::infinity;
|
||||
case Phase::SEND:
|
||||
case Phase::SEND_AVAILABLE:
|
||||
return 0;
|
||||
}
|
||||
return artis::common::DoubleTime::infinity;
|
||||
}
|
||||
|
||||
Bag Stock::lambda(const Time & /* t */) const {
|
||||
Bag bag;
|
||||
|
||||
// TODO
|
||||
if (_phase == Phase::SEND) {
|
||||
for (const auto &e: _waiting_machine_ids) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT_STOCK_AVAILABLE + e.first,
|
||||
StockAvailableResponse(e.second, StockAvailableResponse::NEW_AVAILABLE)));
|
||||
}
|
||||
for (const auto &e: _demands) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT + e.first, ProductResponse(e.second.product_id, e.second.po_id)));
|
||||
}
|
||||
} else if (_phase == Phase::SEND_AVAILABLE) {
|
||||
for (const auto &demand: _available_demands) {
|
||||
bag.push_back(ExternalEvent(outputs::OUT_STOCK_AVAILABLE + demand._machine_id,
|
||||
StockAvailableResponse(demand._po_id,
|
||||
demand._available ? StockAvailableResponse::AVAILABLE
|
||||
: StockAvailableResponse::NOT_AVAILABLE)));
|
||||
}
|
||||
}
|
||||
return bag;
|
||||
}
|
||||
|
||||
artis::common::event::Value Stock::observe(const Time & /* t */, unsigned int /* index */) const {
|
||||
artis::common::event::Value Stock::observe(const Time & /* t */, unsigned int index) const {
|
||||
switch (index) {
|
||||
case vars::ENTRY_NUMBER:
|
||||
return (unsigned int) _entries.size();
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
140
src/Stock.hpp
140
src/Stock.hpp
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file Stock.hpp
|
||||
* @file IntermediateStock.hpp
|
||||
* @author The ARTIS Development Team
|
||||
* See the AUTHORS or Authors.txt file
|
||||
*/
|
||||
@@ -32,32 +32,120 @@
|
||||
|
||||
namespace artis::factory {
|
||||
|
||||
struct StockEntry {
|
||||
unsigned int po_id;
|
||||
unsigned int po_index;
|
||||
unsigned int product_id;
|
||||
unsigned int quantity;
|
||||
|
||||
StockEntry(unsigned int po_id = 0, unsigned int po_index = 0, unsigned int product_id = 0, unsigned int quantity = 0)
|
||||
: po_id(po_id), po_index(po_index), product_id(product_id), quantity(quantity) {}
|
||||
|
||||
bool operator==(const StockEntry &other) const {
|
||||
return po_id == other.po_id and po_index == other.po_index and product_id == other.product_id and
|
||||
quantity == other.quantity;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "StockEntry < " + std::to_string(po_id) + " | " + std::to_string(po_index) + " | " +
|
||||
std::to_string(product_id) + " | " + std::to_string(quantity) + " >";
|
||||
}
|
||||
};
|
||||
|
||||
struct ProductDemand {
|
||||
unsigned int po_id;
|
||||
unsigned int po_index;
|
||||
unsigned int product_id;
|
||||
unsigned int quantity;
|
||||
|
||||
ProductDemand(unsigned int po_id = 0, unsigned int po_index = 0, unsigned int product_id = 0,
|
||||
unsigned int quantity = 0)
|
||||
: po_id(po_id), po_index(po_index), product_id(product_id), quantity(quantity) {}
|
||||
|
||||
bool operator==(const ProductDemand &other) const {
|
||||
return po_id == other.po_id and po_index == other.po_index and product_id == other.product_id and
|
||||
quantity == other.quantity;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "ProductDemand < " + std::to_string(po_id) + " | " + std::to_string(po_index) + " | " +
|
||||
std::to_string(product_id) + " | " + std::to_string(quantity) + " >";
|
||||
}
|
||||
};
|
||||
|
||||
struct StockAvailableResponse {
|
||||
int po_id;
|
||||
|
||||
enum values {
|
||||
AVAILABLE, NOT_AVAILABLE, NEW_AVAILABLE
|
||||
} response;
|
||||
|
||||
StockAvailableResponse(unsigned int po_id = 0, values response = NOT_AVAILABLE)
|
||||
: po_id(po_id), response(response) {}
|
||||
|
||||
bool operator==(const StockAvailableResponse &other) const {
|
||||
return po_id == other.po_id and response == other.response;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "StockAvailableResponse < " + std::to_string(po_id) + " | " +
|
||||
(response == AVAILABLE ? "AVAILABLE" : (response == NOT_AVAILABLE ? "NOT AVAILABLE" : "NEW AVAILABLE")) + " >";
|
||||
}
|
||||
};
|
||||
|
||||
struct ProductResponse {
|
||||
int product_id;
|
||||
int po_id;
|
||||
|
||||
ProductResponse(int product_id = -1, int po_id = -1) : product_id(product_id), po_id(po_id) {}
|
||||
|
||||
bool operator==(const ProductResponse &other) const {
|
||||
return product_id == other.product_id and po_id == other.po_id;
|
||||
}
|
||||
|
||||
std::string to_string() const {
|
||||
return "Response < " + std::to_string(product_id) + " | " + std::to_string(po_id) + " >";
|
||||
}
|
||||
};
|
||||
|
||||
struct StockParameters {
|
||||
std::vector<unsigned int> _in_machines;
|
||||
std::vector<unsigned int> _out_machines;
|
||||
int _capacity; // if -1 then infinity
|
||||
};
|
||||
|
||||
class Stock : public Dynamics<Stock, StockParameters> {
|
||||
public:
|
||||
struct inputs {
|
||||
enum values {
|
||||
IN
|
||||
IN, IN_DEMAND = 1000, IN_STOCK_AVAILABLE = 2000
|
||||
};
|
||||
};
|
||||
|
||||
struct outputs {
|
||||
enum values {
|
||||
OUT
|
||||
OUT = 1000, OUT_STOCK_AVAILABLE = 2000
|
||||
};
|
||||
};
|
||||
|
||||
struct vars {
|
||||
enum values {
|
||||
ENTRY_NUMBER
|
||||
};
|
||||
};
|
||||
|
||||
Stock(const std::string &name, const Context<Stock, StockParameters> &context)
|
||||
: Dynamics<Stock, StockParameters>(name, context) {
|
||||
: Dynamics<Stock, StockParameters>(name, context), _parameters(context.parameters()) {
|
||||
input_port({inputs::IN, "in"});
|
||||
output_port({outputs::OUT, "out"});
|
||||
for (const auto &m: _parameters._in_machines) {
|
||||
output_port({outputs::OUT + m, "out_" + std::to_string(m)});
|
||||
input_port({inputs::IN_DEMAND + m, "in_demand_" + std::to_string(m)});
|
||||
}
|
||||
for (const auto &m: _parameters._out_machines) {
|
||||
output_port({outputs::OUT_STOCK_AVAILABLE + m, "out_stock_available_" + std::to_string(m)});
|
||||
input_port({inputs::IN_STOCK_AVAILABLE + m, "in_stock_available_" + std::to_string(m)});
|
||||
}
|
||||
observables({{vars::ENTRY_NUMBER, "entry number"}});
|
||||
}
|
||||
|
||||
~Stock() override = default;
|
||||
@@ -75,7 +163,47 @@ public:
|
||||
artis::common::event::Value observe(const Time &t, unsigned int index) const override;
|
||||
|
||||
private:
|
||||
// TODO (state)
|
||||
struct Phase {
|
||||
enum values {
|
||||
WAIT,
|
||||
SEND,
|
||||
SEND_AVAILABLE
|
||||
};
|
||||
|
||||
static std::string to_string(const values &value) {
|
||||
switch (value) {
|
||||
case WAIT:
|
||||
return "WAIT";
|
||||
case SEND:
|
||||
return "SEND";
|
||||
case SEND_AVAILABLE:
|
||||
return "SEND AVAILABLE";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
};
|
||||
|
||||
struct Entry {
|
||||
Time _t;
|
||||
unsigned int _po_id;
|
||||
unsigned int _po_index;
|
||||
unsigned int _product_id;
|
||||
unsigned int _quantity;
|
||||
};
|
||||
|
||||
struct AvailableDemand {
|
||||
unsigned int _machine_id;
|
||||
unsigned int _po_id;
|
||||
bool _available;
|
||||
};
|
||||
|
||||
StockParameters _parameters;
|
||||
|
||||
Phase::values _phase;
|
||||
std::vector<Entry> _entries;
|
||||
std::vector<std::pair<unsigned int, ProductDemand>> _demands;
|
||||
std::vector<AvailableDemand> _available_demands;
|
||||
std::deque<std::pair<unsigned int, unsigned int>> _waiting_machine_ids; // pair(machine_id,po_id)
|
||||
};
|
||||
|
||||
} // namespace artis::factory
|
||||
|
||||
Binary file not shown.
389
test/CMakeCache.txt
Normal file
389
test/CMakeCache.txt
Normal file
@@ -0,0 +1,389 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
# 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.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||
|
||||
//For backwards compatibility, what version of CMake commands and
|
||||
// syntax should this version of CMake try to support.
|
||||
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
|
||||
|
||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||
// MinSizeRel ...
|
||||
CMAKE_BUILD_TYPE:STRING=
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//CXX compiler
|
||||
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13
|
||||
|
||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13
|
||||
|
||||
//Flags used by the CXX compiler during all build types.
|
||||
CMAKE_CXX_FLAGS:STRING=
|
||||
|
||||
//Flags used by the CXX compiler during DEBUG builds.
|
||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELEASE builds.
|
||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13
|
||||
|
||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13
|
||||
|
||||
//Flags used by the C compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the C compiler during DEBUG builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the C compiler during MINSIZEREL builds.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELEASE builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Enable/Disable output of compile commands during generation.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||
|
||||
//Value Computed by CMake.
|
||||
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/pkgRedirects
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=Project
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Single output directory for building all executables.
|
||||
EXECUTABLE_OUTPUT_PATH:PATH=
|
||||
|
||||
//Single output directory for building all libraries.
|
||||
LIBRARY_OUTPUT_PATH:PATH=
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_BINARY_DIR:STATIC=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_SOURCE_DIR:STATIC=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//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/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
//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
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=28
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
//Install .so files without execute permission.
|
||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_READELF
|
||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.28
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_TAPI
|
||||
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//linker supports push/pop state
|
||||
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||
|
||||
74
test/CMakeFiles/3.28.3/CMakeCCompiler.cmake
Normal file
74
test/CMakeFiles/3.28.3/CMakeCCompiler.cmake
Normal file
@@ -0,0 +1,74 @@
|
||||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "13.3.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
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;c_std_17;c_std_23")
|
||||
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_C17_COMPILE_FEATURES "c_std_17")
|
||||
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-13")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-13")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
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)
|
||||
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
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 "x86_64-linux-gnu")
|
||||
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 "/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
85
test/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake
Normal file
85
test/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake
Normal file
@@ -0,0 +1,85 @@
|
||||
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "13.3.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-13")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-13")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
|
||||
foreach (lang C OBJC OBJCXX)
|
||||
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
BIN
test/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
test/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
test/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
test/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
15
test/CMakeFiles/3.28.3/CMakeSystem.cmake
Normal file
15
test/CMakeFiles/3.28.3/CMakeSystem.cmake
Normal file
@@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-6.14.0-33-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "6.14.0-33-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-6.14.0-33-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "6.14.0-33-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
||||
880
test/CMakeFiles/3.28.3/CompilerIdC/CMakeCCompilerId.c
Normal file
880
test/CMakeFiles/3.28.3/CompilerIdC/CMakeCCompilerId.c
Normal file
@@ -0,0 +1,880 @@
|
||||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__open_xl__) && defined(__clang__)
|
||||
# define COMPILER_ID "IBMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__clang__) && defined(__cray__)
|
||||
# define COMPILER_ID "CrayClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
# define COMPILER_ID "Tasking"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||
|
||||
#elif defined(__ORANGEC__)
|
||||
# define COMPILER_ID "OrangeC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||
# define COMPILER_ID "LCC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||
# if defined(__LCC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(_ADI_COMPILER)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VERSIONNUM__)
|
||||
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
# elif defined(_ADI_COMPILER)
|
||||
# define PLATFORM_ID "ADSP"
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
# elif defined(__ADSPSHARC__)
|
||||
# define ARCHITECTURE_ID "SHARC"
|
||||
|
||||
# elif defined(__ADSPBLACKFIN__)
|
||||
# define ARCHITECTURE_ID "Blackfin"
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
|
||||
# if defined(__CTC__) || defined(__CPTC__)
|
||||
# define ARCHITECTURE_ID "TriCore"
|
||||
|
||||
# elif defined(__CMCS__)
|
||||
# define ARCHITECTURE_ID "MCS"
|
||||
|
||||
# elif defined(__CARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__CARC__)
|
||||
# define ARCHITECTURE_ID "ARC"
|
||||
|
||||
# elif defined(__C51__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__CPCP__)
|
||||
# define ARCHITECTURE_ID "PCP"
|
||||
|
||||
# else
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__) && !defined(__clang__)
|
||||
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||
# define C_VERSION "90"
|
||||
# else
|
||||
# define C_VERSION
|
||||
# endif
|
||||
#elif __STDC_VERSION__ > 201710L
|
||||
# define C_VERSION "23"
|
||||
#elif __STDC_VERSION__ >= 201710L
|
||||
# define C_VERSION "17"
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_VERSION "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_VERSION "99"
|
||||
#else
|
||||
# define C_VERSION "90"
|
||||
#endif
|
||||
const char* info_language_standard_default =
|
||||
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
||||
BIN
test/CMakeFiles/3.28.3/CompilerIdC/a.out
Executable file
BIN
test/CMakeFiles/3.28.3/CompilerIdC/a.out
Executable file
Binary file not shown.
869
test/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
Normal file
869
test/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
Normal file
@@ -0,0 +1,869 @@
|
||||
/* This source file must have a .cpp extension so that all C++ compilers
|
||||
recognize the extension without flags. Borland does not know .cxx for
|
||||
example. */
|
||||
#ifndef __cplusplus
|
||||
# error "A C compiler has been selected for C++."
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__COMO__)
|
||||
# define COMPILER_ID "Comeau"
|
||||
/* __COMO_VERSION__ = VRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_CC)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_CC >= 0x5100
|
||||
/* __SUNPRO_CC = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_aCC = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||
|
||||
#elif defined(__DECCXX)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECCXX_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||
|
||||
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__open_xl__) && defined(__clang__)
|
||||
# define COMPILER_ID "IBMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__clang__) && defined(__cray__)
|
||||
# define COMPILER_ID "CrayClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
# define COMPILER_ID "Tasking"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
||||
|
||||
#elif defined(__ORANGEC__)
|
||||
# define COMPILER_ID "OrangeC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||
# define COMPILER_ID "LCC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
||||
# if defined(__LCC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# if defined(__GNUC__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(_ADI_COMPILER)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VERSIONNUM__)
|
||||
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
# elif defined(_ADI_COMPILER)
|
||||
# define PLATFORM_ID "ADSP"
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
# elif defined(__ADSPSHARC__)
|
||||
# define ARCHITECTURE_ID "SHARC"
|
||||
|
||||
# elif defined(__ADSPBLACKFIN__)
|
||||
# define ARCHITECTURE_ID "Blackfin"
|
||||
|
||||
#elif defined(__TASKING__)
|
||||
|
||||
# if defined(__CTC__) || defined(__CPTC__)
|
||||
# define ARCHITECTURE_ID "TriCore"
|
||||
|
||||
# elif defined(__CMCS__)
|
||||
# define ARCHITECTURE_ID "MCS"
|
||||
|
||||
# elif defined(__CARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__CARC__)
|
||||
# define ARCHITECTURE_ID "ARC"
|
||||
|
||||
# elif defined(__C51__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__CPCP__)
|
||||
# define ARCHITECTURE_ID "PCP"
|
||||
|
||||
# else
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
||||
# if defined(__INTEL_CXX11_MODE__)
|
||||
# if defined(__cpp_aggregate_nsdmi)
|
||||
# define CXX_STD 201402L
|
||||
# else
|
||||
# define CXX_STD 201103L
|
||||
# endif
|
||||
# else
|
||||
# define CXX_STD 199711L
|
||||
# endif
|
||||
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||
# define CXX_STD _MSVC_LANG
|
||||
#else
|
||||
# define CXX_STD __cplusplus
|
||||
#endif
|
||||
|
||||
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
||||
#if CXX_STD > 202002L
|
||||
"23"
|
||||
#elif CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
BIN
test/CMakeFiles/3.28.3/CompilerIdCXX/a.out
Executable file
BIN
test/CMakeFiles/3.28.3/CompilerIdCXX/a.out
Executable file
Binary file not shown.
529
test/CMakeFiles/CMakeConfigureLog.yaml
Normal file
529
test/CMakeFiles/CMakeConfigureLog.yaml
Normal file
@@ -0,0 +1,529 @@
|
||||
|
||||
---
|
||||
events:
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
The system is: Linux - 6.14.0-33-generic - x86_64
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||
|
||||
The C compiler identification is GNU, found in:
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/3.28.3/CompilerIdC/a.out
|
||||
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||
Compiler: /usr/bin/c++
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||
|
||||
The CXX compiler identification is GNU, found in:
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/3.28.3/CompilerIdCXX/a.out
|
||||
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
checks:
|
||||
- "Detecting C compiler ABI info"
|
||||
directories:
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww"
|
||||
cmakeVariables:
|
||||
CMAKE_C_FLAGS: ""
|
||||
buildResult:
|
||||
variable: "CMAKE_C_ABI_COMPILED"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_fd607/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_fd607.dir/build.make CMakeFiles/cmTC_fd607.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww'
|
||||
Building C object CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -v -o CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_fd607.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cckK0zXx.s
|
||||
GNU C17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/lib/gcc/x86_64-linux-gnu/13/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
Compiler executable checksum: 38987c28e967c64056a6454abdef726e
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o /tmp/cckK0zXx.s
|
||||
GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.'
|
||||
Linking C executable cmTC_fd607
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd607.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -o cmTC_fd607
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_fd607' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fd607.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZjVOmB.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fd607 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_fd607' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fd607.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww'
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Parsed C implicit include dir info: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/13/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:159 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Parsed C implicit link information:
|
||||
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww']
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_fd607/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_fd607.dir/build.make CMakeFiles/cmTC_fd607.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-9KR9ww']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_fd607.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cckK0zXx.s]
|
||||
ignore line: [GNU C17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 13.3.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [Compiler executable checksum: 38987c28e967c64056a6454abdef726e]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o /tmp/cckK0zXx.s]
|
||||
ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.']
|
||||
ignore line: [Linking C executable cmTC_fd607]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd607.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -o cmTC_fd607 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_fd607' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_fd607.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZjVOmB.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fd607 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccZjVOmB.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_fd607] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..]
|
||||
arg [CMakeFiles/cmTC_fd607.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13] ==> [/usr/lib/gcc/x86_64-linux-gnu/13]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> [/usr/lib]
|
||||
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
-
|
||||
kind: "try_compile-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
checks:
|
||||
- "Detecting CXX compiler ABI info"
|
||||
directories:
|
||||
source: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx"
|
||||
binary: "/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx"
|
||||
cmakeVariables:
|
||||
CMAKE_CXX_FLAGS: ""
|
||||
buildResult:
|
||||
variable: "CMAKE_CXX_ABI_COMPILED"
|
||||
cached: true
|
||||
stdout: |
|
||||
Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx'
|
||||
|
||||
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_2796a/fast
|
||||
/usr/bin/gmake -f CMakeFiles/cmTC_2796a.dir/build.make CMakeFiles/cmTC_2796a.dir/build
|
||||
gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx'
|
||||
Building CXX object CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -v -o CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_2796a.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccaTLELq.s
|
||||
GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13"
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/include/c++/13
|
||||
/usr/include/x86_64-linux-gnu/c++/13
|
||||
/usr/include/c++/13/backward
|
||||
/usr/lib/gcc/x86_64-linux-gnu/13/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
Compiler executable checksum: c81c05345ce537099dafd5580045814a
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/'
|
||||
as -v --64 -o CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccaTLELq.s
|
||||
GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.'
|
||||
Linking CXX executable cmTC_2796a
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2796a.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_2796a
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
|
||||
Thread model: posix
|
||||
Supported LTO compression algorithms: zlib zstd
|
||||
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
|
||||
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_2796a' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2796a.'
|
||||
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccN7pbKx.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_2796a /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_2796a' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2796a.'
|
||||
gmake[1]: Leaving directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx'
|
||||
|
||||
exitCode: 0
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Parsed CXX implicit include dir info: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/include/c++/13]
|
||||
add: [/usr/include/x86_64-linux-gnu/c++/13]
|
||||
add: [/usr/include/c++/13/backward]
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/include/c++/13] ==> [/usr/include/c++/13]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu/c++/13] ==> [/usr/include/x86_64-linux-gnu/c++/13]
|
||||
collapse include dir [/usr/include/c++/13/backward] ==> [/usr/include/c++/13/backward]
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/13/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
-
|
||||
kind: "message-v1"
|
||||
backtrace:
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:159 (message)"
|
||||
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
||||
- "CMakeLists.txt"
|
||||
message: |
|
||||
Parsed CXX implicit link information:
|
||||
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
||||
ignore line: [Change Dir: '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx']
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_2796a/fast]
|
||||
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_2796a.dir/build.make CMakeFiles/cmTC_2796a.dir/build]
|
||||
ignore line: [gmake[1]: Entering directory '/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/CMakeScratch/TryCompile-Oa2elx']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/']
|
||||
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_2796a.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccaTLELq.s]
|
||||
ignore line: [GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04) version 13.3.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 13.3.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/include/c++/13]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu/c++/13]
|
||||
ignore line: [ /usr/include/c++/13/backward]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/13/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [Compiler executable checksum: c81c05345ce537099dafd5580045814a]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccaTLELq.s]
|
||||
ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.']
|
||||
ignore line: [Linking CXX executable cmTC_2796a]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2796a.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_2796a ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
||||
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) ]
|
||||
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_2796a' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_2796a.']
|
||||
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccN7pbKx.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_2796a /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccN7pbKx.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_2796a] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..]
|
||||
arg [CMakeFiles/cmTC_2796a.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
|
||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13] ==> [/usr/lib/gcc/x86_64-linux-gnu/13]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> [/usr/lib]
|
||||
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
...
|
||||
132
test/CMakeFiles/Makefile.cmake
Normal file
132
test/CMakeFiles/Makefile.cmake
Normal file
@@ -0,0 +1,132 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"CMakeFiles/3.28.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeSystem.cmake"
|
||||
"CMakeLists.txt"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCCompilerABI.c"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCXXCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeParseLibraryArchitecture.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeSystem.cmake.in"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/CMakeUnixFindMake.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/CrayClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU-FindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/OrangeC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Tasking-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Internal/FeatureTesting.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-Determine-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.28.3/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/test_simple.dir/DependInfo.cmake"
|
||||
"CMakeFiles/test_json.dir/DependInfo.cmake"
|
||||
"CMakeFiles/test_optim.dir/DependInfo.cmake"
|
||||
)
|
||||
168
test/CMakeFiles/Makefile2
Normal file
168
test/CMakeFiles/Makefile2
Normal file
@@ -0,0 +1,168 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/lj50/Univ/M2/Modelisation_problemes/simulation/test
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: CMakeFiles/test_simple.dir/all
|
||||
all: CMakeFiles/test_json.dir/all
|
||||
all: CMakeFiles/test_optim.dir/all
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall:
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/test_simple.dir/clean
|
||||
clean: CMakeFiles/test_json.dir/clean
|
||||
clean: CMakeFiles/test_optim.dir/clean
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/test_simple.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/test_simple.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_simple.dir/build.make CMakeFiles/test_simple.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_simple.dir/build.make CMakeFiles/test_simple.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles --progress-num=5,6 "Built target test_simple"
|
||||
.PHONY : CMakeFiles/test_simple.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/test_simple.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 2
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test_simple.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/test_simple.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
test_simple: CMakeFiles/test_simple.dir/rule
|
||||
.PHONY : test_simple
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/test_simple.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_simple.dir/build.make CMakeFiles/test_simple.dir/clean
|
||||
.PHONY : CMakeFiles/test_simple.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/test_json.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/test_json.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_json.dir/build.make CMakeFiles/test_json.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_json.dir/build.make CMakeFiles/test_json.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles --progress-num=1,2 "Built target test_json"
|
||||
.PHONY : CMakeFiles/test_json.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/test_json.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 2
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test_json.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/test_json.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
test_json: CMakeFiles/test_json.dir/rule
|
||||
.PHONY : test_json
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/test_json.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_json.dir/build.make CMakeFiles/test_json.dir/clean
|
||||
.PHONY : CMakeFiles/test_json.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/test_optim.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/test_optim.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_optim.dir/build.make CMakeFiles/test_optim.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_optim.dir/build.make CMakeFiles/test_optim.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles --progress-num=3,4 "Built target test_optim"
|
||||
.PHONY : CMakeFiles/test_optim.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/test_optim.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 2
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test_optim.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/test_optim.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
test_optim: CMakeFiles/test_optim.dir/rule
|
||||
.PHONY : test_optim
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/test_optim.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_optim.dir/build.make CMakeFiles/test_optim.dir/clean
|
||||
.PHONY : CMakeFiles/test_optim.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
1
test/CMakeFiles/Progress/5
Normal file
1
test/CMakeFiles/Progress/5
Normal file
@@ -0,0 +1 @@
|
||||
empty
|
||||
1
test/CMakeFiles/Progress/count.txt
Normal file
1
test/CMakeFiles/Progress/count.txt
Normal file
@@ -0,0 +1 @@
|
||||
6
|
||||
5
test/CMakeFiles/TargetDirectories.txt
Normal file
5
test/CMakeFiles/TargetDirectories.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_simple.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_json.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_optim.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/edit_cache.dir
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/rebuild_cache.dir
|
||||
1
test/CMakeFiles/cmake.check_cache
Normal file
1
test/CMakeFiles/cmake.check_cache
Normal file
@@ -0,0 +1 @@
|
||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||
@@ -1 +1 @@
|
||||
16
|
||||
18
|
||||
|
||||
@@ -7,6 +7,8 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Combiner.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Conveyor.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManager.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManagerParameters.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/JsonReader.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp
|
||||
@@ -16,6 +18,7 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Separator.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp
|
||||
/usr/include/alloca.h
|
||||
/usr/include/asm-generic/errno-base.h
|
||||
/usr/include/asm-generic/errno.h
|
||||
|
||||
@@ -6,6 +6,8 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o: test/test_json.cpp \
|
||||
src/Combiner.hpp \
|
||||
src/Conveyor.hpp \
|
||||
src/FactoryGraphManager.hpp \
|
||||
src/FactoryGraphManagerParameters.hpp \
|
||||
src/ItemStock.hpp \
|
||||
src/JsonReader.hpp \
|
||||
src/Machine.hpp \
|
||||
src/PoolRouter.hpp \
|
||||
@@ -15,6 +17,7 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o: test/test_json.cpp \
|
||||
src/Router.hpp \
|
||||
src/Separator.hpp \
|
||||
src/Sink.hpp \
|
||||
src/Stock.hpp \
|
||||
/usr/include/alloca.h \
|
||||
/usr/include/asm-generic/errno-base.h \
|
||||
/usr/include/asm-generic/errno.h \
|
||||
@@ -1496,9 +1499,9 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o: test/test_json.cpp \
|
||||
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/detail/is_empty.hpp:
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley.hpp:
|
||||
|
||||
/usr/include/boost/serialization/force_include.hpp:
|
||||
/usr/include/nlohmann/ordered_map.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/enum.hpp:
|
||||
|
||||
@@ -1784,16 +1787,6 @@ src/FactoryGraphManager.hpp:
|
||||
|
||||
/usr/include/boost/mpl/greater_equal.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/expand.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/enum_params.hpp:
|
||||
|
||||
/usr/include/c++/13/cwchar:
|
||||
|
||||
/usr/include/boost/preprocessor/seq/enum.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/hashtable_policy.h:
|
||||
|
||||
/usr/include/boost/mpl/for_each.hpp:
|
||||
|
||||
/usr/include/boost/mpl/find_if.hpp:
|
||||
@@ -2046,21 +2039,11 @@ src/FactoryGraphManager.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/adl.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/algo_type.hpp:
|
||||
/usr/include/boost/preprocessor/arithmetic/detail/is_1_number.hpp:
|
||||
|
||||
/usr/include/nlohmann/detail/meta/identity_tag.hpp:
|
||||
/usr/include/boost/preprocessor/tuple/limits/to_seq_64.hpp:
|
||||
|
||||
src/Processor.hpp:
|
||||
|
||||
/usr/include/boost/integer_traits.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/msvc_type.hpp:
|
||||
|
||||
/usr/include/boost/heap/detail/heap_node.hpp:
|
||||
|
||||
/usr/include/boost/range/const_iterator.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/empty.hpp:
|
||||
/usr/include/boost/mpl/aux_/begin_end_impl.hpp:
|
||||
|
||||
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:
|
||||
|
||||
@@ -2074,8 +2057,6 @@ src/Processor.hpp:
|
||||
|
||||
/usr/include/boost/mp11/detail/mp_value.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/iterator.hpp:
|
||||
|
||||
/usr/include/boost/type_traits/is_reference.hpp:
|
||||
|
||||
/usr/include/boost/function/function_template.hpp:
|
||||
@@ -2124,10 +2105,6 @@ src/ProductionOrderGenerator.hpp:
|
||||
|
||||
/usr/include/boost/heap/heap_concepts.hpp:
|
||||
|
||||
/usr/include/boost/mpl/apply_wrap.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/locale_conv.h:
|
||||
|
||||
/usr/include/boost/core/ref.hpp:
|
||||
|
||||
/usr/include/boost/format/parsing.hpp:
|
||||
@@ -2274,11 +2251,19 @@ test/test_json.cpp:
|
||||
|
||||
/usr/include/boost/concept/usage.hpp:
|
||||
|
||||
/usr/include/boost/detail/select_type.hpp:
|
||||
/usr/include/boost/core/cmath.hpp:
|
||||
|
||||
/usr/include/boost/config/detail/select_compiler_config.hpp:
|
||||
/usr/include/boost/core/typeinfo.hpp:
|
||||
|
||||
/usr/include/boost/mpl/apply.hpp:
|
||||
/usr/include/boost/move/detail/std_ns_begin.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/time64.h:
|
||||
|
||||
/usr/include/boost/bind/mem_fn_template.hpp:
|
||||
|
||||
/usr/include/c++/13/tr1/beta_function.tcc:
|
||||
|
||||
/usr/include/boost/mp11/detail/mp_rename.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/find_if_pred.hpp:
|
||||
|
||||
@@ -2290,14 +2275,6 @@ test/test_json.cpp:
|
||||
|
||||
/usr/include/boost/parameter/aux_/pack/make_parameter_spec_items.hpp:
|
||||
|
||||
/usr/include/boost/type_traits/add_lvalue_reference.hpp:
|
||||
|
||||
/usr/include/boost/format/detail/workarounds_gcc-2_95.hpp:
|
||||
|
||||
/usr/include/boost/assert/source_location.hpp:
|
||||
|
||||
/usr/include/c++/13/tr1/modified_bessel_func.tcc:
|
||||
|
||||
/usr/include/boost/mpl/aux_/preprocessor/def_params_tail.hpp:
|
||||
|
||||
/usr/include/boost/smart_ptr/detail/sp_noexcept.hpp:
|
||||
@@ -2312,19 +2289,13 @@ test/test_json.cpp:
|
||||
|
||||
/usr/include/boost/preprocessor/repetition/for.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/msvc.hpp:
|
||||
/usr/include/boost/type_traits/add_lvalue_reference.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/time64.h:
|
||||
/usr/include/boost/format/detail/workarounds_gcc-2_95.hpp:
|
||||
|
||||
/usr/include/boost/bind/mem_fn_template.hpp:
|
||||
/usr/include/boost/assert/source_location.hpp:
|
||||
|
||||
/usr/include/boost/core/typeinfo.hpp:
|
||||
|
||||
/usr/include/boost/move/detail/std_ns_begin.hpp:
|
||||
|
||||
/usr/include/c++/13/tr1/beta_function.tcc:
|
||||
|
||||
/usr/include/boost/mp11/detail/mp_rename.hpp:
|
||||
/usr/include/c++/13/tr1/modified_bessel_func.tcc:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/opt_random.h:
|
||||
|
||||
@@ -2348,7 +2319,53 @@ test/test_json.cpp:
|
||||
|
||||
/usr/include/boost/core/yield_primitives.hpp:
|
||||
|
||||
/usr/include/boost/core/cmath.hpp:
|
||||
/usr/include/boost/config/no_tr1/memory.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/enum_params.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/expand.hpp:
|
||||
|
||||
/usr/include/c++/13/cwchar:
|
||||
|
||||
/usr/include/boost/preprocessor/seq/enum.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/hashtable_policy.h:
|
||||
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/time/DoubleTime.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/arity_spec.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:
|
||||
|
||||
/usr/include/boost/intrusive/detail/get_value_traits.hpp:
|
||||
|
||||
/usr/include/c++/13/ios:
|
||||
|
||||
/usr/include/boost/mpl/less_equal.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/comparison_op.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/cxxabi_forced.h:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/eti.hpp:
|
||||
|
||||
/usr/include/boost/config/compiler/gcc.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/tuple/size.hpp:
|
||||
|
||||
/usr/include/boost/iterator/interoperable.hpp:
|
||||
|
||||
/usr/include/boost/type_traits/enable_if.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/iterator.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/yes_no.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/is_empty.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/endian.h:
|
||||
|
||||
/usr/include/boost/numeric/conversion/sign_mixture_enum.hpp:
|
||||
|
||||
/usr/include/nlohmann/json.hpp:
|
||||
|
||||
@@ -2370,29 +2387,23 @@ test/test_json.cpp:
|
||||
|
||||
/usr/include/nlohmann/detail/macro_unscope.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/yes_no.hpp:
|
||||
/usr/include/boost/mpl/aux_/config/gpu.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/is_empty.hpp:
|
||||
/usr/include/boost/parameter/aux_/pack/tag_keyword_arg.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/endian.h:
|
||||
/usr/include/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp:
|
||||
|
||||
/usr/include/boost/numeric/conversion/sign_mixture_enum.hpp:
|
||||
/usr/include/boost/serialization/version.hpp:
|
||||
|
||||
/usr/include/boost/mpl/less_equal.hpp:
|
||||
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/comparison_op.hpp:
|
||||
src/ItemStock.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/cxxabi_forced.h:
|
||||
/usr/include/boost/detail/select_type.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/eti.hpp:
|
||||
/usr/include/boost/config/detail/select_compiler_config.hpp:
|
||||
|
||||
/usr/include/boost/config/compiler/gcc.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/tuple/size.hpp:
|
||||
|
||||
/usr/include/boost/iterator/interoperable.hpp:
|
||||
|
||||
/usr/include/boost/type_traits/enable_if.hpp:
|
||||
/usr/include/boost/mpl/apply.hpp:
|
||||
|
||||
src/Router.hpp:
|
||||
|
||||
@@ -2468,7 +2479,15 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/default_header_holder.hpp:
|
||||
|
||||
/usr/include/boost/config/no_tr1/memory.hpp:
|
||||
src/Processor.hpp:
|
||||
|
||||
/usr/include/c++/13/bits/locale_conv.h:
|
||||
|
||||
/usr/include/boost/mpl/apply_wrap.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/algo_type.hpp:
|
||||
|
||||
/usr/include/nlohmann/detail/meta/identity_tag.hpp:
|
||||
|
||||
/usr/include/boost/config/platform/linux.hpp:
|
||||
|
||||
@@ -2484,6 +2503,8 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/asm-generic/errno-base.h:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/msvc.hpp:
|
||||
|
||||
/usr/include/boost/concept/detail/general.hpp:
|
||||
|
||||
/usr/include/boost/smart_ptr/detail/sp_disable_deprecated.hpp:
|
||||
@@ -2526,16 +2547,6 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/config/detail/suffix.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/gpu.hpp:
|
||||
|
||||
/usr/include/boost/parameter/aux_/pack/tag_keyword_arg.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp:
|
||||
|
||||
/usr/include/boost/serialization/version.hpp:
|
||||
|
||||
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:
|
||||
|
||||
/usr/include/boost/optional/detail/optional_config.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/iscanonical.h:
|
||||
@@ -2544,6 +2555,18 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/container/container_fwd.hpp:
|
||||
|
||||
/usr/include/boost/heap/detail/heap_node.hpp:
|
||||
|
||||
/usr/include/boost/range/const_iterator.hpp:
|
||||
|
||||
src/Stock.hpp:
|
||||
|
||||
/usr/include/boost/test/tools/detail/it_pair.hpp:
|
||||
|
||||
/usr/include/boost/integer_traits.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/msvc_type.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h:
|
||||
@@ -2554,8 +2577,6 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/control/limits/while_256.hpp:
|
||||
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley.hpp:
|
||||
|
||||
/usr/include/boost/test/detail/global_typedef.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/assert.hpp:
|
||||
@@ -2684,8 +2705,6 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/mp11/detail/mp_void.hpp:
|
||||
|
||||
/usr/include/nlohmann/ordered_map.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/tree_value_compare.hpp:
|
||||
|
||||
/usr/include/boost/config/user.hpp:
|
||||
@@ -2722,12 +2741,6 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/range/detail/common.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/arithmetic/detail/is_1_number.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/tuple/limits/to_seq_64.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/begin_end_impl.hpp:
|
||||
|
||||
/usr/include/boost/move/core.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/tuple/detail/is_single_return.hpp:
|
||||
@@ -2838,15 +2851,11 @@ src/Base.hpp:
|
||||
|
||||
/usr/include/boost/type_traits/is_const.hpp:
|
||||
|
||||
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:
|
||||
/usr/include/boost/preprocessor/facilities/detail/is_empty.hpp:
|
||||
|
||||
/usr/include/boost/intrusive/detail/get_value_traits.hpp:
|
||||
/usr/include/boost/serialization/force_include.hpp:
|
||||
|
||||
/usr/include/c++/13/ios:
|
||||
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/time/DoubleTime.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/arity_spec.hpp:
|
||||
/usr/include/boost/preprocessor/facilities/empty.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/facilities/identity.hpp:
|
||||
|
||||
@@ -3172,8 +3181,6 @@ src/ProductionOrder.hpp:
|
||||
|
||||
/usr/include/boost/test/tools/cstring_comparison_op.hpp:
|
||||
|
||||
/usr/include/boost/test/tools/detail/it_pair.hpp:
|
||||
|
||||
/usr/include/boost/preprocessor/repetition/limits/for_256.hpp:
|
||||
|
||||
/usr/include/boost/test/tools/detail/lexicographic_manip.hpp:
|
||||
@@ -3764,10 +3771,10 @@ src/Conveyor.hpp:
|
||||
|
||||
/usr/include/c++/13/streambuf:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/compiler.hpp:
|
||||
|
||||
/usr/include/nlohmann/json_fwd.hpp:
|
||||
|
||||
/usr/include/boost/mpl/aux_/config/compiler.hpp:
|
||||
|
||||
/usr/include/c++/13/string_view:
|
||||
|
||||
/usr/include/c++/13/bits/forward_list.h:
|
||||
@@ -3824,6 +3831,8 @@ src/Conveyor.hpp:
|
||||
|
||||
/usr/include/nlohmann/detail/input/lexer.hpp:
|
||||
|
||||
src/FactoryGraphManagerParameters.hpp:
|
||||
|
||||
/usr/include/boost/move/detail/type_traits.hpp:
|
||||
|
||||
/usr/include/nlohmann/detail/iterators/internal_iterator.hpp:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_DEFINES = -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DWITH_TRACE
|
||||
CXX_DEFINES = -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB
|
||||
|
||||
CXX_INCLUDES = -I/home/lj50/Univ/M2/Modelisation_problemes/simulation/src -I/usr/local/include/artis-star-1.0
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1114,6 +1114,7 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o: \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/state/States.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/state/Any.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/utils/Macro.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManagerParameters.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/JsonReader.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Combiner.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp \
|
||||
@@ -1178,8 +1179,10 @@ test/CMakeFiles/test_json.dir/test_json.cpp.o: \
|
||||
/usr/include/nlohmann/ordered_map.hpp \
|
||||
/usr/include/nlohmann/detail/macro_unscope.hpp \
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrderGenerator.hpp \
|
||||
|
||||
23
test/CMakeFiles/test_optim.dir/DependInfo.cmake
Normal file
23
test/CMakeFiles/test_optim.dir/DependInfo.cmake
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_optim.cpp" "test/CMakeFiles/test_optim.dir/test_optim.cpp.o" "gcc" "test/CMakeFiles/test_optim.dir/test_optim.cpp.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Targets to which this target links which contain Fortran sources.
|
||||
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
112
test/CMakeFiles/test_optim.dir/build.make
Normal file
112
test/CMakeFiles/test_optim.dir/build.make
Normal file
@@ -0,0 +1,112 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/lj50/Univ/M2/Modelisation_problemes/simulation
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/lj50/Univ/M2/Modelisation_problemes/simulation
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include test/CMakeFiles/test_optim.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include test/CMakeFiles/test_optim.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include test/CMakeFiles/test_optim.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include test/CMakeFiles/test_optim.dir/flags.make
|
||||
|
||||
test/CMakeFiles/test_optim.dir/test_optim.cpp.o: test/CMakeFiles/test_optim.dir/flags.make
|
||||
test/CMakeFiles/test_optim.dir/test_optim.cpp.o: test/test_optim.cpp
|
||||
test/CMakeFiles/test_optim.dir/test_optim.cpp.o: test/CMakeFiles/test_optim.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object test/CMakeFiles/test_optim.dir/test_optim.cpp.o"
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation/test && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT test/CMakeFiles/test_optim.dir/test_optim.cpp.o -MF CMakeFiles/test_optim.dir/test_optim.cpp.o.d -o CMakeFiles/test_optim.dir/test_optim.cpp.o -c /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_optim.cpp
|
||||
|
||||
test/CMakeFiles/test_optim.dir/test_optim.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/test_optim.dir/test_optim.cpp.i"
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation/test && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_optim.cpp > CMakeFiles/test_optim.dir/test_optim.cpp.i
|
||||
|
||||
test/CMakeFiles/test_optim.dir/test_optim.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/test_optim.dir/test_optim.cpp.s"
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation/test && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_optim.cpp -o CMakeFiles/test_optim.dir/test_optim.cpp.s
|
||||
|
||||
# Object files for target test_optim
|
||||
test_optim_OBJECTS = \
|
||||
"CMakeFiles/test_optim.dir/test_optim.cpp.o"
|
||||
|
||||
# External object files for target test_optim
|
||||
test_optim_EXTERNAL_OBJECTS =
|
||||
|
||||
test/test_optim: test/CMakeFiles/test_optim.dir/test_optim.cpp.o
|
||||
test/test_optim: test/CMakeFiles/test_optim.dir/build.make
|
||||
test/test_optim: src/libfactory_core.a
|
||||
test/test_optim: /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.83.0
|
||||
test/test_optim: test/CMakeFiles/test_optim.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/lj50/Univ/M2/Modelisation_problemes/simulation/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable test_optim"
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation/test && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_optim.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
test/CMakeFiles/test_optim.dir/build: test/test_optim
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/build
|
||||
|
||||
test/CMakeFiles/test_optim.dir/clean:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation/test && $(CMAKE_COMMAND) -P CMakeFiles/test_optim.dir/cmake_clean.cmake
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/clean
|
||||
|
||||
test/CMakeFiles/test_optim.dir/depend:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/lj50/Univ/M2/Modelisation_problemes/simulation /home/lj50/Univ/M2/Modelisation_problemes/simulation/test /home/lj50/Univ/M2/Modelisation_problemes/simulation /home/lj50/Univ/M2/Modelisation_problemes/simulation/test /home/lj50/Univ/M2/Modelisation_problemes/simulation/test/CMakeFiles/test_optim.dir/DependInfo.cmake "--color=$(COLOR)"
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/depend
|
||||
|
||||
11
test/CMakeFiles/test_optim.dir/cmake_clean.cmake
Normal file
11
test/CMakeFiles/test_optim.dir/cmake_clean.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/test_optim.dir/test_optim.cpp.o"
|
||||
"CMakeFiles/test_optim.dir/test_optim.cpp.o.d"
|
||||
"test_optim"
|
||||
"test_optim.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/test_optim.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
1191
test/CMakeFiles/test_optim.dir/compiler_depend.internal
Normal file
1191
test/CMakeFiles/test_optim.dir/compiler_depend.internal
Normal file
File diff suppressed because it is too large
Load Diff
3562
test/CMakeFiles/test_optim.dir/compiler_depend.make
Normal file
3562
test/CMakeFiles/test_optim.dir/compiler_depend.make
Normal file
File diff suppressed because it is too large
Load Diff
2
test/CMakeFiles/test_optim.dir/compiler_depend.ts
Normal file
2
test/CMakeFiles/test_optim.dir/compiler_depend.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for test_optim.
|
||||
2
test/CMakeFiles/test_optim.dir/depend.make
Normal file
2
test/CMakeFiles/test_optim.dir/depend.make
Normal file
@@ -0,0 +1,2 @@
|
||||
# Empty dependencies file for test_optim.
|
||||
# This may be replaced when dependencies are built.
|
||||
10
test/CMakeFiles/test_optim.dir/flags.make
Normal file
10
test/CMakeFiles/test_optim.dir/flags.make
Normal file
@@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_DEFINES = -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB
|
||||
|
||||
CXX_INCLUDES = -I/home/lj50/Univ/M2/Modelisation_problemes/simulation/src -I/usr/local/include/artis-star-1.0
|
||||
|
||||
CXX_FLAGS = -Wl,--no-as-needed -Wall -Wextra -std=c++17 -pedantic -fPIC -O2 -g -DNDEBUG
|
||||
|
||||
1
test/CMakeFiles/test_optim.dir/link.txt
Normal file
1
test/CMakeFiles/test_optim.dir/link.txt
Normal file
@@ -0,0 +1 @@
|
||||
/usr/bin/c++ -Wl,--no-as-needed -Wall -Wextra -std=c++17 -pedantic -fPIC -O2 -g -DNDEBUG CMakeFiles/test_optim.dir/test_optim.cpp.o -o test_optim -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lartis-star-1.0 ../src/libfactory_core.a /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.83.0 -lartis-star-1.0
|
||||
3
test/CMakeFiles/test_optim.dir/progress.make
Normal file
3
test/CMakeFiles/test_optim.dir/progress.make
Normal file
@@ -0,0 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 15
|
||||
CMAKE_PROGRESS_2 = 16
|
||||
|
||||
BIN
test/CMakeFiles/test_optim.dir/test_optim.cpp.o
Normal file
BIN
test/CMakeFiles/test_optim.dir/test_optim.cpp.o
Normal file
Binary file not shown.
1089
test/CMakeFiles/test_optim.dir/test_optim.cpp.o.d
Normal file
1089
test/CMakeFiles/test_optim.dir/test_optim.cpp.o.d
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,13 +4,21 @@
|
||||
test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/test/test_simple.cpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Combiner.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Conveyor.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManager.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManagerParameters.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/JsonReader.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrderGenerator.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Separator.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp
|
||||
/usr/include/alloca.h
|
||||
/usr/include/asm-generic/errno-base.h
|
||||
/usr/include/asm-generic/errno.h
|
||||
@@ -19,11 +27,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/array.hpp
|
||||
/usr/include/boost/assert.hpp
|
||||
/usr/include/boost/assert/source_location.hpp
|
||||
/usr/include/boost/bind/detail/requires_cxx11.hpp
|
||||
/usr/include/boost/bind/mem_fn.hpp
|
||||
/usr/include/boost/bind/mem_fn_cc.hpp
|
||||
/usr/include/boost/bind/mem_fn_template.hpp
|
||||
/usr/include/boost/call_traits.hpp
|
||||
/usr/include/boost/concept/assert.hpp
|
||||
/usr/include/boost/concept/detail/backward_compatibility.hpp
|
||||
/usr/include/boost/concept/detail/concept_def.hpp
|
||||
@@ -33,7 +36,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/concept/usage.hpp
|
||||
/usr/include/boost/concept_check.hpp
|
||||
/usr/include/boost/config.hpp
|
||||
/usr/include/boost/config/auto_link.hpp
|
||||
/usr/include/boost/config/compiler/gcc.hpp
|
||||
/usr/include/boost/config/detail/cxx_composite.hpp
|
||||
/usr/include/boost/config/detail/posix_features.hpp
|
||||
@@ -43,8 +45,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/config/detail/suffix.hpp
|
||||
/usr/include/boost/config/helper_macros.hpp
|
||||
/usr/include/boost/config/no_tr1/cmath.hpp
|
||||
/usr/include/boost/config/no_tr1/functional.hpp
|
||||
/usr/include/boost/config/no_tr1/memory.hpp
|
||||
/usr/include/boost/config/platform/linux.hpp
|
||||
/usr/include/boost/config/pragma_message.hpp
|
||||
/usr/include/boost/config/stdlib/libstdcpp3.hpp
|
||||
@@ -56,27 +56,22 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/core/allocator_access.hpp
|
||||
/usr/include/boost/core/checked_delete.hpp
|
||||
/usr/include/boost/core/cmath.hpp
|
||||
/usr/include/boost/core/demangle.hpp
|
||||
/usr/include/boost/core/detail/sp_thread_pause.hpp
|
||||
/usr/include/boost/core/detail/sp_thread_sleep.hpp
|
||||
/usr/include/boost/core/detail/sp_thread_yield.hpp
|
||||
/usr/include/boost/core/enable_if.hpp
|
||||
/usr/include/boost/core/explicit_operator_bool.hpp
|
||||
/usr/include/boost/core/ignore_unused.hpp
|
||||
/usr/include/boost/core/no_exceptions_support.hpp
|
||||
/usr/include/boost/core/noncopyable.hpp
|
||||
/usr/include/boost/core/nvp.hpp
|
||||
/usr/include/boost/core/pointer_traits.hpp
|
||||
/usr/include/boost/core/ref.hpp
|
||||
/usr/include/boost/core/snprintf.hpp
|
||||
/usr/include/boost/core/swap.hpp
|
||||
/usr/include/boost/core/typeinfo.hpp
|
||||
/usr/include/boost/core/use_default.hpp
|
||||
/usr/include/boost/core/yield_primitives.hpp
|
||||
/usr/include/boost/cstdint.hpp
|
||||
/usr/include/boost/current_function.hpp
|
||||
/usr/include/boost/detail/basic_pointerbuf.hpp
|
||||
/usr/include/boost/detail/call_traits.hpp
|
||||
/usr/include/boost/detail/indirect_traits.hpp
|
||||
/usr/include/boost/detail/lcast_precision.hpp
|
||||
/usr/include/boost/detail/select_type.hpp
|
||||
@@ -101,16 +96,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/format/internals.hpp
|
||||
/usr/include/boost/format/internals_fwd.hpp
|
||||
/usr/include/boost/format/parsing.hpp
|
||||
/usr/include/boost/function/detail/maybe_include.hpp
|
||||
/usr/include/boost/function/detail/prologue.hpp
|
||||
/usr/include/boost/function/detail/requires_cxx11.hpp
|
||||
/usr/include/boost/function/function0.hpp
|
||||
/usr/include/boost/function/function1.hpp
|
||||
/usr/include/boost/function/function_base.hpp
|
||||
/usr/include/boost/function/function_fwd.hpp
|
||||
/usr/include/boost/function/function_template.hpp
|
||||
/usr/include/boost/function_equal.hpp
|
||||
/usr/include/boost/get_pointer.hpp
|
||||
/usr/include/boost/heap/detail/heap_comparison.hpp
|
||||
/usr/include/boost/heap/detail/heap_node.hpp
|
||||
/usr/include/boost/heap/detail/stable_heap.hpp
|
||||
@@ -188,7 +173,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/lexical_cast/detail/widest_char.hpp
|
||||
/usr/include/boost/lexical_cast/try_lexical_convert.hpp
|
||||
/usr/include/boost/limits.hpp
|
||||
/usr/include/boost/mem_fn.hpp
|
||||
/usr/include/boost/move/core.hpp
|
||||
/usr/include/boost/move/detail/addressof.hpp
|
||||
/usr/include/boost/move/detail/config_begin.hpp
|
||||
@@ -340,7 +324,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/mpl/aux_/template_arity_fwd.hpp
|
||||
/usr/include/boost/mpl/aux_/traits_lambda_spec.hpp
|
||||
/usr/include/boost/mpl/aux_/type_wrapper.hpp
|
||||
/usr/include/boost/mpl/aux_/unwrap.hpp
|
||||
/usr/include/boost/mpl/aux_/value_wknd.hpp
|
||||
/usr/include/boost/mpl/aux_/yes_no.hpp
|
||||
/usr/include/boost/mpl/begin_end.hpp
|
||||
@@ -358,7 +341,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/mpl/eval_if.hpp
|
||||
/usr/include/boost/mpl/find.hpp
|
||||
/usr/include/boost/mpl/find_if.hpp
|
||||
/usr/include/boost/mpl/for_each.hpp
|
||||
/usr/include/boost/mpl/greater.hpp
|
||||
/usr/include/boost/mpl/greater_equal.hpp
|
||||
/usr/include/boost/mpl/has_key_fwd.hpp
|
||||
@@ -370,7 +352,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/mpl/integral_c.hpp
|
||||
/usr/include/boost/mpl/integral_c_fwd.hpp
|
||||
/usr/include/boost/mpl/integral_c_tag.hpp
|
||||
/usr/include/boost/mpl/is_sequence.hpp
|
||||
/usr/include/boost/mpl/iter_fold.hpp
|
||||
/usr/include/boost/mpl/iter_fold_if.hpp
|
||||
/usr/include/boost/mpl/iterator_range.hpp
|
||||
@@ -532,8 +513,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/preprocessor/detail/is_binary.hpp
|
||||
/usr/include/boost/preprocessor/detail/limits/auto_rec_256.hpp
|
||||
/usr/include/boost/preprocessor/empty.hpp
|
||||
/usr/include/boost/preprocessor/enum.hpp
|
||||
/usr/include/boost/preprocessor/enum_params.hpp
|
||||
/usr/include/boost/preprocessor/facilities/check_empty.hpp
|
||||
/usr/include/boost/preprocessor/facilities/detail/is_empty.hpp
|
||||
/usr/include/boost/preprocessor/facilities/empty.hpp
|
||||
@@ -567,7 +546,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/preprocessor/repeat.hpp
|
||||
/usr/include/boost/preprocessor/repetition/detail/for.hpp
|
||||
/usr/include/boost/preprocessor/repetition/detail/limits/for_256.hpp
|
||||
/usr/include/boost/preprocessor/repetition/enum.hpp
|
||||
/usr/include/boost/preprocessor/repetition/enum_binary_params.hpp
|
||||
/usr/include/boost/preprocessor/repetition/enum_params.hpp
|
||||
/usr/include/boost/preprocessor/repetition/enum_trailing_params.hpp
|
||||
@@ -581,7 +559,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/preprocessor/seq/elem.hpp
|
||||
/usr/include/boost/preprocessor/seq/enum.hpp
|
||||
/usr/include/boost/preprocessor/seq/fold_left.hpp
|
||||
/usr/include/boost/preprocessor/seq/for_each.hpp
|
||||
/usr/include/boost/preprocessor/seq/for_each_i.hpp
|
||||
/usr/include/boost/preprocessor/seq/limits/elem_256.hpp
|
||||
/usr/include/boost/preprocessor/seq/limits/enum_256.hpp
|
||||
@@ -589,22 +566,17 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/preprocessor/seq/limits/size_256.hpp
|
||||
/usr/include/boost/preprocessor/seq/seq.hpp
|
||||
/usr/include/boost/preprocessor/seq/size.hpp
|
||||
/usr/include/boost/preprocessor/seq/to_tuple.hpp
|
||||
/usr/include/boost/preprocessor/seq/transform.hpp
|
||||
/usr/include/boost/preprocessor/stringize.hpp
|
||||
/usr/include/boost/preprocessor/tuple/detail/is_single_return.hpp
|
||||
/usr/include/boost/preprocessor/tuple/eat.hpp
|
||||
/usr/include/boost/preprocessor/tuple/elem.hpp
|
||||
/usr/include/boost/preprocessor/tuple/limits/to_seq_64.hpp
|
||||
/usr/include/boost/preprocessor/tuple/rem.hpp
|
||||
/usr/include/boost/preprocessor/tuple/size.hpp
|
||||
/usr/include/boost/preprocessor/tuple/to_seq.hpp
|
||||
/usr/include/boost/preprocessor/variadic/elem.hpp
|
||||
/usr/include/boost/preprocessor/variadic/has_opt.hpp
|
||||
/usr/include/boost/preprocessor/variadic/limits/elem_64.hpp
|
||||
/usr/include/boost/preprocessor/variadic/limits/size_64.hpp
|
||||
/usr/include/boost/preprocessor/variadic/size.hpp
|
||||
/usr/include/boost/preprocessor/variadic/to_seq.hpp
|
||||
/usr/include/boost/range/algorithm/equal.hpp
|
||||
/usr/include/boost/range/begin.hpp
|
||||
/usr/include/boost/range/concepts.hpp
|
||||
@@ -634,8 +606,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/range/size.hpp
|
||||
/usr/include/boost/range/size_type.hpp
|
||||
/usr/include/boost/range/value_type.hpp
|
||||
/usr/include/boost/ref.hpp
|
||||
/usr/include/boost/scoped_ptr.hpp
|
||||
/usr/include/boost/serialization/access.hpp
|
||||
/usr/include/boost/serialization/array_optimization.hpp
|
||||
/usr/include/boost/serialization/array_wrapper.hpp
|
||||
@@ -688,59 +658,8 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp
|
||||
/usr/include/boost/smart_ptr/detail/spinlock_pool.hpp
|
||||
/usr/include/boost/smart_ptr/detail/yield_k.hpp
|
||||
/usr/include/boost/smart_ptr/scoped_ptr.hpp
|
||||
/usr/include/boost/smart_ptr/shared_ptr.hpp
|
||||
/usr/include/boost/static_assert.hpp
|
||||
/usr/include/boost/test/detail/config.hpp
|
||||
/usr/include/boost/test/detail/enable_warnings.hpp
|
||||
/usr/include/boost/test/detail/fwd_decl.hpp
|
||||
/usr/include/boost/test/detail/global_typedef.hpp
|
||||
/usr/include/boost/test/detail/log_level.hpp
|
||||
/usr/include/boost/test/detail/pp_variadic.hpp
|
||||
/usr/include/boost/test/detail/suppress_warnings.hpp
|
||||
/usr/include/boost/test/detail/throw_exception.hpp
|
||||
/usr/include/boost/test/framework.hpp
|
||||
/usr/include/boost/test/test_tools.hpp
|
||||
/usr/include/boost/test/tools/assertion.hpp
|
||||
/usr/include/boost/test/tools/assertion_result.hpp
|
||||
/usr/include/boost/test/tools/collection_comparison_op.hpp
|
||||
/usr/include/boost/test/tools/context.hpp
|
||||
/usr/include/boost/test/tools/cstring_comparison_op.hpp
|
||||
/usr/include/boost/test/tools/detail/bitwise_manip.hpp
|
||||
/usr/include/boost/test/tools/detail/fwd.hpp
|
||||
/usr/include/boost/test/tools/detail/indirections.hpp
|
||||
/usr/include/boost/test/tools/detail/it_pair.hpp
|
||||
/usr/include/boost/test/tools/detail/lexicographic_manip.hpp
|
||||
/usr/include/boost/test/tools/detail/per_element_manip.hpp
|
||||
/usr/include/boost/test/tools/detail/print_helper.hpp
|
||||
/usr/include/boost/test/tools/detail/tolerance_manip.hpp
|
||||
/usr/include/boost/test/tools/floating_point_comparison.hpp
|
||||
/usr/include/boost/test/tools/fpc_op.hpp
|
||||
/usr/include/boost/test/tools/fpc_tolerance.hpp
|
||||
/usr/include/boost/test/tools/interface.hpp
|
||||
/usr/include/boost/test/tools/old/impl.hpp
|
||||
/usr/include/boost/test/tools/old/interface.hpp
|
||||
/usr/include/boost/test/tree/auto_registration.hpp
|
||||
/usr/include/boost/test/tree/decorator.hpp
|
||||
/usr/include/boost/test/tree/fixture.hpp
|
||||
/usr/include/boost/test/tree/global_fixture.hpp
|
||||
/usr/include/boost/test/tree/observer.hpp
|
||||
/usr/include/boost/test/tree/test_case_template.hpp
|
||||
/usr/include/boost/test/tree/test_unit.hpp
|
||||
/usr/include/boost/test/unit_test.hpp
|
||||
/usr/include/boost/test/unit_test_log.hpp
|
||||
/usr/include/boost/test/unit_test_suite.hpp
|
||||
/usr/include/boost/test/utils/algorithm.hpp
|
||||
/usr/include/boost/test/utils/basic_cstring/basic_cstring.hpp
|
||||
/usr/include/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp
|
||||
/usr/include/boost/test/utils/basic_cstring/bcs_char_traits.hpp
|
||||
/usr/include/boost/test/utils/basic_cstring/compare.hpp
|
||||
/usr/include/boost/test/utils/basic_cstring/io.hpp
|
||||
/usr/include/boost/test/utils/class_properties.hpp
|
||||
/usr/include/boost/test/utils/is_cstring.hpp
|
||||
/usr/include/boost/test/utils/is_forward_iterable.hpp
|
||||
/usr/include/boost/test/utils/lazy_ostream.hpp
|
||||
/usr/include/boost/test/utils/wrap_stringstream.hpp
|
||||
/usr/include/boost/throw_exception.hpp
|
||||
/usr/include/boost/type.hpp
|
||||
/usr/include/boost/type_traits/add_const.hpp
|
||||
@@ -751,8 +670,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/type_traits/add_volatile.hpp
|
||||
/usr/include/boost/type_traits/aligned_storage.hpp
|
||||
/usr/include/boost/type_traits/alignment_of.hpp
|
||||
/usr/include/boost/type_traits/common_type.hpp
|
||||
/usr/include/boost/type_traits/composite_traits.hpp
|
||||
/usr/include/boost/type_traits/conditional.hpp
|
||||
/usr/include/boost/type_traits/conjunction.hpp
|
||||
/usr/include/boost/type_traits/conversion_traits.hpp
|
||||
@@ -762,7 +679,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/type_traits/detail/has_binary_operator.hpp
|
||||
/usr/include/boost/type_traits/detail/is_function_cxx_11.hpp
|
||||
/usr/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp
|
||||
/usr/include/boost/type_traits/detail/mp_defer.hpp
|
||||
/usr/include/boost/type_traits/detail/yes_no_type.hpp
|
||||
/usr/include/boost/type_traits/disjunction.hpp
|
||||
/usr/include/boost/type_traits/enable_if.hpp
|
||||
@@ -776,8 +692,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/type_traits/has_plus.hpp
|
||||
/usr/include/boost/type_traits/has_plus_assign.hpp
|
||||
/usr/include/boost/type_traits/has_right_shift.hpp
|
||||
/usr/include/boost/type_traits/has_trivial_copy.hpp
|
||||
/usr/include/boost/type_traits/has_trivial_destructor.hpp
|
||||
/usr/include/boost/type_traits/has_trivial_move_assign.hpp
|
||||
/usr/include/boost/type_traits/integral_constant.hpp
|
||||
/usr/include/boost/type_traits/intrinsics.hpp
|
||||
@@ -814,7 +728,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/type_traits/is_same.hpp
|
||||
/usr/include/boost/type_traits/is_scalar.hpp
|
||||
/usr/include/boost/type_traits/is_signed.hpp
|
||||
/usr/include/boost/type_traits/is_union.hpp
|
||||
/usr/include/boost/type_traits/is_unsigned.hpp
|
||||
/usr/include/boost/type_traits/is_void.hpp
|
||||
/usr/include/boost/type_traits/is_volatile.hpp
|
||||
@@ -831,16 +744,13 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/boost/type_traits/type_identity.hpp
|
||||
/usr/include/boost/type_traits/type_with_alignment.hpp
|
||||
/usr/include/boost/utility.hpp
|
||||
/usr/include/boost/utility/addressof.hpp
|
||||
/usr/include/boost/utility/base_from_member.hpp
|
||||
/usr/include/boost/utility/binary.hpp
|
||||
/usr/include/boost/utility/compare_pointees.hpp
|
||||
/usr/include/boost/utility/declval.hpp
|
||||
/usr/include/boost/utility/detail/result_of_variadic.hpp
|
||||
/usr/include/boost/utility/enable_if.hpp
|
||||
/usr/include/boost/utility/identity_type.hpp
|
||||
/usr/include/boost/utility/result_of.hpp
|
||||
/usr/include/boost/utility/value_init.hpp
|
||||
/usr/include/boost/version.hpp
|
||||
/usr/include/c++/13/algorithm
|
||||
/usr/include/c++/13/any
|
||||
@@ -873,6 +783,12 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/bits/exception.h
|
||||
/usr/include/c++/13/bits/exception_defines.h
|
||||
/usr/include/c++/13/bits/exception_ptr.h
|
||||
/usr/include/c++/13/bits/forward_list.h
|
||||
/usr/include/c++/13/bits/forward_list.tcc
|
||||
/usr/include/c++/13/bits/fs_dir.h
|
||||
/usr/include/c++/13/bits/fs_fwd.h
|
||||
/usr/include/c++/13/bits/fs_ops.h
|
||||
/usr/include/c++/13/bits/fs_path.h
|
||||
/usr/include/c++/13/bits/fstream.tcc
|
||||
/usr/include/c++/13/bits/functexcept.h
|
||||
/usr/include/c++/13/bits/functional_hash.h
|
||||
@@ -885,7 +801,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/bits/invoke.h
|
||||
/usr/include/c++/13/bits/ios_base.h
|
||||
/usr/include/c++/13/bits/istream.tcc
|
||||
/usr/include/c++/13/bits/list.tcc
|
||||
/usr/include/c++/13/bits/locale_classes.h
|
||||
/usr/include/c++/13/bits/locale_classes.tcc
|
||||
/usr/include/c++/13/bits/locale_conv.h
|
||||
@@ -907,6 +822,7 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/bits/postypes.h
|
||||
/usr/include/c++/13/bits/predefined_ops.h
|
||||
/usr/include/c++/13/bits/ptr_traits.h
|
||||
/usr/include/c++/13/bits/quoted_string.h
|
||||
/usr/include/c++/13/bits/random.h
|
||||
/usr/include/c++/13/bits/random.tcc
|
||||
/usr/include/c++/13/bits/range_access.h
|
||||
@@ -931,7 +847,6 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/bits/stl_iterator.h
|
||||
/usr/include/c++/13/bits/stl_iterator_base_funcs.h
|
||||
/usr/include/c++/13/bits/stl_iterator_base_types.h
|
||||
/usr/include/c++/13/bits/stl_list.h
|
||||
/usr/include/c++/13/bits/stl_map.h
|
||||
/usr/include/c++/13/bits/stl_multimap.h
|
||||
/usr/include/c++/13/bits/stl_numeric.h
|
||||
@@ -963,10 +878,10 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/cassert
|
||||
/usr/include/c++/13/cctype
|
||||
/usr/include/c++/13/cerrno
|
||||
/usr/include/c++/13/chrono
|
||||
/usr/include/c++/13/climits
|
||||
/usr/include/c++/13/clocale
|
||||
/usr/include/c++/13/cmath
|
||||
/usr/include/c++/13/codecvt
|
||||
/usr/include/c++/13/compare
|
||||
/usr/include/c++/13/cstddef
|
||||
/usr/include/c++/13/cstdint
|
||||
@@ -988,16 +903,18 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/c++/13/ext/numeric_traits.h
|
||||
/usr/include/c++/13/ext/string_conversions.h
|
||||
/usr/include/c++/13/ext/type_traits.h
|
||||
/usr/include/c++/13/filesystem
|
||||
/usr/include/c++/13/forward_list
|
||||
/usr/include/c++/13/fstream
|
||||
/usr/include/c++/13/functional
|
||||
/usr/include/c++/13/initializer_list
|
||||
/usr/include/c++/13/iomanip
|
||||
/usr/include/c++/13/ios
|
||||
/usr/include/c++/13/iosfwd
|
||||
/usr/include/c++/13/iostream
|
||||
/usr/include/c++/13/istream
|
||||
/usr/include/c++/13/iterator
|
||||
/usr/include/c++/13/limits
|
||||
/usr/include/c++/13/list
|
||||
/usr/include/c++/13/locale
|
||||
/usr/include/c++/13/map
|
||||
/usr/include/c++/13/memory
|
||||
@@ -1051,6 +968,51 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o
|
||||
/usr/include/linux/limits.h
|
||||
/usr/include/locale.h
|
||||
/usr/include/math.h
|
||||
/usr/include/nlohmann/adl_serializer.hpp
|
||||
/usr/include/nlohmann/byte_container_with_subtype.hpp
|
||||
/usr/include/nlohmann/detail/abi_macros.hpp
|
||||
/usr/include/nlohmann/detail/conversions/from_json.hpp
|
||||
/usr/include/nlohmann/detail/conversions/to_chars.hpp
|
||||
/usr/include/nlohmann/detail/conversions/to_json.hpp
|
||||
/usr/include/nlohmann/detail/exceptions.hpp
|
||||
/usr/include/nlohmann/detail/hash.hpp
|
||||
/usr/include/nlohmann/detail/input/binary_reader.hpp
|
||||
/usr/include/nlohmann/detail/input/input_adapters.hpp
|
||||
/usr/include/nlohmann/detail/input/json_sax.hpp
|
||||
/usr/include/nlohmann/detail/input/lexer.hpp
|
||||
/usr/include/nlohmann/detail/input/parser.hpp
|
||||
/usr/include/nlohmann/detail/input/position_t.hpp
|
||||
/usr/include/nlohmann/detail/iterators/internal_iterator.hpp
|
||||
/usr/include/nlohmann/detail/iterators/iter_impl.hpp
|
||||
/usr/include/nlohmann/detail/iterators/iteration_proxy.hpp
|
||||
/usr/include/nlohmann/detail/iterators/iterator_traits.hpp
|
||||
/usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp
|
||||
/usr/include/nlohmann/detail/iterators/primitive_iterator.hpp
|
||||
/usr/include/nlohmann/detail/json_custom_base_class.hpp
|
||||
/usr/include/nlohmann/detail/json_pointer.hpp
|
||||
/usr/include/nlohmann/detail/json_ref.hpp
|
||||
/usr/include/nlohmann/detail/macro_scope.hpp
|
||||
/usr/include/nlohmann/detail/macro_unscope.hpp
|
||||
/usr/include/nlohmann/detail/meta/call_std/begin.hpp
|
||||
/usr/include/nlohmann/detail/meta/call_std/end.hpp
|
||||
/usr/include/nlohmann/detail/meta/cpp_future.hpp
|
||||
/usr/include/nlohmann/detail/meta/detected.hpp
|
||||
/usr/include/nlohmann/detail/meta/identity_tag.hpp
|
||||
/usr/include/nlohmann/detail/meta/is_sax.hpp
|
||||
/usr/include/nlohmann/detail/meta/std_fs.hpp
|
||||
/usr/include/nlohmann/detail/meta/type_traits.hpp
|
||||
/usr/include/nlohmann/detail/meta/void_t.hpp
|
||||
/usr/include/nlohmann/detail/output/binary_writer.hpp
|
||||
/usr/include/nlohmann/detail/output/output_adapters.hpp
|
||||
/usr/include/nlohmann/detail/output/serializer.hpp
|
||||
/usr/include/nlohmann/detail/string_concat.hpp
|
||||
/usr/include/nlohmann/detail/string_escape.hpp
|
||||
/usr/include/nlohmann/detail/value_t.hpp
|
||||
/usr/include/nlohmann/json.hpp
|
||||
/usr/include/nlohmann/json_fwd.hpp
|
||||
/usr/include/nlohmann/ordered_map.hpp
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley.hpp
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp
|
||||
/usr/include/pthread.h
|
||||
/usr/include/sched.h
|
||||
/usr/include/stdc-predef.h
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_DEFINES = -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DWITH_TRACE
|
||||
CXX_DEFINES = -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB
|
||||
|
||||
CXX_INCLUDES = -I/home/lj50/Univ/M2/Modelisation_problemes/simulation/src -I/usr/local/include/artis-star-1.0
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 15
|
||||
CMAKE_PROGRESS_2 = 16
|
||||
CMAKE_PROGRESS_1 = 17
|
||||
CMAKE_PROGRESS_2 = 18
|
||||
|
||||
|
||||
Binary file not shown.
@@ -997,110 +997,8 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o: \
|
||||
/usr/include/c++/13/bits/unique_lock.h \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/GraphManager.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/GraphManager.hpp \
|
||||
/usr/include/c++/13/chrono /usr/include/c++/13/iostream \
|
||||
/usr/include/boost/test/unit_test.hpp \
|
||||
/usr/include/boost/test/test_tools.hpp \
|
||||
/usr/include/boost/test/detail/config.hpp \
|
||||
/usr/include/boost/test/tools/context.hpp \
|
||||
/usr/include/boost/test/utils/lazy_ostream.hpp \
|
||||
/usr/include/boost/test/tools/detail/print_helper.hpp \
|
||||
/usr/include/boost/test/detail/global_typedef.hpp \
|
||||
/usr/include/boost/test/utils/basic_cstring/basic_cstring.hpp \
|
||||
/usr/include/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp \
|
||||
/usr/include/boost/test/utils/basic_cstring/bcs_char_traits.hpp \
|
||||
/usr/include/boost/test/detail/suppress_warnings.hpp \
|
||||
/usr/include/boost/test/detail/enable_warnings.hpp \
|
||||
/usr/include/boost/test/detail/pp_variadic.hpp \
|
||||
/usr/include/boost/preprocessor/variadic/to_seq.hpp \
|
||||
/usr/include/boost/preprocessor/tuple/to_seq.hpp \
|
||||
/usr/include/boost/preprocessor/tuple/size.hpp \
|
||||
/usr/include/boost/preprocessor/tuple/limits/to_seq_64.hpp \
|
||||
/usr/include/boost/preprocessor/seq/for_each.hpp \
|
||||
/usr/include/boost/test/tools/old/interface.hpp \
|
||||
/usr/include/boost/preprocessor/seq/to_tuple.hpp \
|
||||
/usr/include/boost/test/tools/old/impl.hpp \
|
||||
/usr/include/boost/test/unit_test_log.hpp \
|
||||
/usr/include/boost/test/tree/observer.hpp \
|
||||
/usr/include/boost/test/detail/fwd_decl.hpp \
|
||||
/usr/include/boost/test/detail/log_level.hpp \
|
||||
/usr/include/boost/test/utils/wrap_stringstream.hpp \
|
||||
/usr/include/boost/test/tools/assertion_result.hpp \
|
||||
/usr/include/boost/test/utils/class_properties.hpp \
|
||||
/usr/include/boost/call_traits.hpp \
|
||||
/usr/include/boost/detail/call_traits.hpp \
|
||||
/usr/include/boost/utility/addressof.hpp \
|
||||
/usr/include/boost/test/tools/floating_point_comparison.hpp \
|
||||
/usr/include/boost/test/tools/detail/fwd.hpp \
|
||||
/usr/include/boost/test/utils/basic_cstring/io.hpp \
|
||||
/usr/include/boost/test/tools/interface.hpp \
|
||||
/usr/include/boost/test/tools/assertion.hpp \
|
||||
/usr/include/boost/utility/declval.hpp \
|
||||
/usr/include/boost/test/tools/fpc_op.hpp \
|
||||
/usr/include/boost/test/tools/fpc_tolerance.hpp \
|
||||
/usr/include/boost/test/tree/decorator.hpp \
|
||||
/usr/include/boost/test/tree/fixture.hpp \
|
||||
/usr/include/boost/scoped_ptr.hpp \
|
||||
/usr/include/boost/smart_ptr/scoped_ptr.hpp \
|
||||
/usr/include/boost/function/function0.hpp \
|
||||
/usr/include/boost/function/detail/maybe_include.hpp \
|
||||
/usr/include/boost/function/function_template.hpp \
|
||||
/usr/include/boost/function/detail/prologue.hpp \
|
||||
/usr/include/boost/function/detail/requires_cxx11.hpp \
|
||||
/usr/include/boost/config/no_tr1/functional.hpp \
|
||||
/usr/include/boost/function/function_base.hpp \
|
||||
/usr/include/boost/function/function_fwd.hpp \
|
||||
/usr/include/boost/function_equal.hpp \
|
||||
/usr/include/boost/core/typeinfo.hpp \
|
||||
/usr/include/boost/core/demangle.hpp /usr/include/c++/13/cxxabi.h \
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h \
|
||||
/usr/include/boost/core/ref.hpp \
|
||||
/usr/include/boost/type_traits/has_trivial_copy.hpp \
|
||||
/usr/include/boost/type_traits/has_trivial_destructor.hpp \
|
||||
/usr/include/boost/type_traits/composite_traits.hpp \
|
||||
/usr/include/boost/type_traits/is_union.hpp \
|
||||
/usr/include/boost/mem_fn.hpp /usr/include/boost/bind/mem_fn.hpp \
|
||||
/usr/include/boost/bind/detail/requires_cxx11.hpp \
|
||||
/usr/include/boost/get_pointer.hpp \
|
||||
/usr/include/boost/config/no_tr1/memory.hpp \
|
||||
/usr/include/boost/bind/mem_fn_template.hpp \
|
||||
/usr/include/boost/bind/mem_fn_cc.hpp \
|
||||
/usr/include/boost/preprocessor/enum.hpp \
|
||||
/usr/include/boost/preprocessor/repetition/enum.hpp \
|
||||
/usr/include/boost/preprocessor/enum_params.hpp \
|
||||
/usr/include/boost/core/no_exceptions_support.hpp \
|
||||
/usr/include/boost/function/function1.hpp \
|
||||
/usr/include/boost/type_traits/common_type.hpp \
|
||||
/usr/include/boost/type_traits/detail/mp_defer.hpp \
|
||||
/usr/include/boost/test/tools/collection_comparison_op.hpp \
|
||||
/usr/include/boost/test/utils/is_forward_iterable.hpp \
|
||||
/usr/include/boost/test/utils/is_cstring.hpp \
|
||||
/usr/include/boost/test/tools/cstring_comparison_op.hpp \
|
||||
/usr/include/boost/test/utils/basic_cstring/compare.hpp \
|
||||
/usr/include/boost/test/tools/detail/it_pair.hpp \
|
||||
/usr/include/boost/test/tools/detail/bitwise_manip.hpp \
|
||||
/usr/include/boost/test/tools/detail/indirections.hpp \
|
||||
/usr/include/c++/13/list /usr/include/c++/13/bits/stl_list.h \
|
||||
/usr/include/c++/13/bits/list.tcc \
|
||||
/usr/include/boost/test/tools/detail/tolerance_manip.hpp \
|
||||
/usr/include/boost/test/tools/detail/per_element_manip.hpp \
|
||||
/usr/include/boost/test/tools/detail/lexicographic_manip.hpp \
|
||||
/usr/include/boost/test/unit_test_suite.hpp \
|
||||
/usr/include/boost/test/framework.hpp \
|
||||
/usr/include/boost/test/detail/throw_exception.hpp \
|
||||
/usr/include/boost/test/tree/auto_registration.hpp \
|
||||
/usr/include/boost/test/tree/test_unit.hpp \
|
||||
/usr/include/boost/test/tree/test_case_template.hpp \
|
||||
/usr/include/boost/test/utils/algorithm.hpp \
|
||||
/usr/include/boost/mpl/for_each.hpp \
|
||||
/usr/include/boost/mpl/is_sequence.hpp \
|
||||
/usr/include/boost/mpl/aux_/unwrap.hpp /usr/include/boost/ref.hpp \
|
||||
/usr/include/boost/utility/value_init.hpp \
|
||||
/usr/include/boost/test/tree/global_fixture.hpp \
|
||||
/usr/include/boost/config/auto_link.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Simulator.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/Simulator.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Context.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp \
|
||||
/usr/include/c++/13/iostream \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManager.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Base.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/observer/Output.hpp \
|
||||
/usr/include/c++/13/fstream \
|
||||
@@ -1114,14 +1012,78 @@ test/CMakeFiles/test_simple.dir/test_simple.cpp.o: \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/state/States.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/state/Any.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/utils/Macro.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Simulator.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/common/Simulator.hpp \
|
||||
/usr/local/include/artis-star-1.0/artis-star/kernel/pdevs/Context.hpp \
|
||||
/usr/include/c++/13/cxxabi.h \
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/FactoryGraphManagerParameters.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/JsonReader.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Combiner.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrder.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Conveyor.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Processor.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ProductionOrderGenerator.hpp \
|
||||
/usr/include/c++/13/random /usr/include/c++/13/bits/random.h \
|
||||
/usr/include/x86_64-linux-gnu/c++/13/bits/opt_random.h \
|
||||
/usr/include/c++/13/bits/random.tcc /usr/include/c++/13/numeric \
|
||||
/usr/include/c++/13/bits/stl_numeric.h \
|
||||
/usr/include/c++/13/pstl/glue_numeric_defs.h \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Separator.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp \
|
||||
/usr/include/nlohmann/json.hpp /usr/include/nlohmann/adl_serializer.hpp \
|
||||
/usr/include/nlohmann/detail/abi_macros.hpp \
|
||||
/usr/include/nlohmann/detail/conversions/from_json.hpp \
|
||||
/usr/include/c++/13/forward_list /usr/include/c++/13/bits/forward_list.h \
|
||||
/usr/include/c++/13/bits/forward_list.tcc \
|
||||
/usr/include/nlohmann/detail/exceptions.hpp \
|
||||
/usr/include/nlohmann/detail/value_t.hpp \
|
||||
/usr/include/nlohmann/detail/macro_scope.hpp \
|
||||
/usr/include/nlohmann/detail/meta/detected.hpp \
|
||||
/usr/include/nlohmann/detail/meta/void_t.hpp \
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley.hpp \
|
||||
/usr/include/nlohmann/detail/string_escape.hpp \
|
||||
/usr/include/nlohmann/detail/input/position_t.hpp \
|
||||
/usr/include/nlohmann/detail/meta/cpp_future.hpp \
|
||||
/usr/include/nlohmann/detail/meta/type_traits.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/iterator_traits.hpp \
|
||||
/usr/include/nlohmann/detail/meta/call_std/begin.hpp \
|
||||
/usr/include/nlohmann/detail/meta/call_std/end.hpp \
|
||||
/usr/include/nlohmann/json_fwd.hpp \
|
||||
/usr/include/nlohmann/detail/string_concat.hpp \
|
||||
/usr/include/nlohmann/detail/meta/identity_tag.hpp \
|
||||
/usr/include/nlohmann/detail/meta/std_fs.hpp \
|
||||
/usr/include/c++/13/filesystem /usr/include/c++/13/bits/fs_fwd.h \
|
||||
/usr/include/c++/13/bits/fs_path.h /usr/include/c++/13/iomanip \
|
||||
/usr/include/c++/13/bits/quoted_string.h /usr/include/c++/13/codecvt \
|
||||
/usr/include/c++/13/bits/fs_dir.h /usr/include/c++/13/bits/fs_ops.h \
|
||||
/usr/include/nlohmann/detail/conversions/to_json.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/iteration_proxy.hpp \
|
||||
/usr/include/nlohmann/byte_container_with_subtype.hpp \
|
||||
/usr/include/nlohmann/detail/hash.hpp \
|
||||
/usr/include/nlohmann/detail/input/binary_reader.hpp \
|
||||
/usr/include/nlohmann/detail/input/input_adapters.hpp \
|
||||
/usr/include/nlohmann/detail/input/json_sax.hpp \
|
||||
/usr/include/nlohmann/detail/input/lexer.hpp \
|
||||
/usr/include/nlohmann/detail/meta/is_sax.hpp \
|
||||
/usr/include/nlohmann/detail/input/parser.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/internal_iterator.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/primitive_iterator.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/iter_impl.hpp \
|
||||
/usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp \
|
||||
/usr/include/nlohmann/detail/json_custom_base_class.hpp \
|
||||
/usr/include/nlohmann/detail/json_pointer.hpp \
|
||||
/usr/include/nlohmann/detail/json_ref.hpp \
|
||||
/usr/include/nlohmann/detail/output/binary_writer.hpp \
|
||||
/usr/include/nlohmann/detail/output/output_adapters.hpp \
|
||||
/usr/include/nlohmann/detail/output/serializer.hpp \
|
||||
/usr/include/nlohmann/detail/conversions/to_chars.hpp \
|
||||
/usr/include/nlohmann/ordered_map.hpp \
|
||||
/usr/include/nlohmann/detail/macro_unscope.hpp \
|
||||
/usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/ItemStock.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/PoolRouter.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Router.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Sink.hpp
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Stock.hpp \
|
||||
/home/lj50/Univ/M2/Modelisation_problemes/simulation/src/Machine.hpp
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
add_definitions(-DWITH_TRACE)
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${ARTIS_INCLUDE_DIRS}
|
||||
@@ -15,4 +13,6 @@ ADD_EXECUTABLE(test_json test_json.cpp)
|
||||
|
||||
TARGET_LINK_LIBRARIES(test_json ${Boost_LIBRARIES} ${ARTIS_LIBRARIES} factory_core)
|
||||
|
||||
ADD_EXECUTABLE(test_optim test_optim.cpp)
|
||||
|
||||
TARGET_LINK_LIBRARIES(test_optim ${Boost_LIBRARIES} ${ARTIS_LIBRARIES} factory_core)
|
||||
@@ -154,6 +154,20 @@ test_json/fast:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_json.dir/build.make test/CMakeFiles/test_json.dir/build
|
||||
.PHONY : test_json/fast
|
||||
|
||||
# Convenience name for target.
|
||||
test/CMakeFiles/test_optim.dir/rule:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/CMakeFiles/test_optim.dir/rule
|
||||
.PHONY : test/CMakeFiles/test_optim.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
test_optim: test/CMakeFiles/test_optim.dir/rule
|
||||
.PHONY : test_optim
|
||||
|
||||
# fast build rule for target.
|
||||
test_optim/fast:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/build
|
||||
.PHONY : test_optim/fast
|
||||
|
||||
test_json.o: test_json.cpp.o
|
||||
.PHONY : test_json.o
|
||||
|
||||
@@ -178,6 +192,30 @@ test_json.cpp.s:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_json.dir/build.make test/CMakeFiles/test_json.dir/test_json.cpp.s
|
||||
.PHONY : test_json.cpp.s
|
||||
|
||||
test_optim.o: test_optim.cpp.o
|
||||
.PHONY : test_optim.o
|
||||
|
||||
# target to build an object file
|
||||
test_optim.cpp.o:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/test_optim.cpp.o
|
||||
.PHONY : test_optim.cpp.o
|
||||
|
||||
test_optim.i: test_optim.cpp.i
|
||||
.PHONY : test_optim.i
|
||||
|
||||
# target to preprocess a source file
|
||||
test_optim.cpp.i:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/test_optim.cpp.i
|
||||
.PHONY : test_optim.cpp.i
|
||||
|
||||
test_optim.s: test_optim.cpp.s
|
||||
.PHONY : test_optim.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
test_optim.cpp.s:
|
||||
cd /home/lj50/Univ/M2/Modelisation_problemes/simulation && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/test_optim.dir/build.make test/CMakeFiles/test_optim.dir/test_optim.cpp.s
|
||||
.PHONY : test_optim.cpp.s
|
||||
|
||||
test_simple.o: test_simple.cpp.o
|
||||
.PHONY : test_simple.o
|
||||
|
||||
@@ -212,10 +250,14 @@ help:
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... test"
|
||||
@echo "... test_json"
|
||||
@echo "... test_optim"
|
||||
@echo "... test_simple"
|
||||
@echo "... test_json.o"
|
||||
@echo "... test_json.i"
|
||||
@echo "... test_json.s"
|
||||
@echo "... test_optim.o"
|
||||
@echo "... test_optim.i"
|
||||
@echo "... test_optim.s"
|
||||
@echo "... test_simple.o"
|
||||
@echo "... test_simple.i"
|
||||
@echo "... test_simple.s"
|
||||
|
||||
28801
test/PoolRouter.csv
28801
test/PoolRouter.csv
File diff suppressed because it is too large
Load Diff
BIN
test/test_json
BIN
test/test_json
Binary file not shown.
8
test/test_json.cpp
Normal file → Executable file
8
test/test_json.cpp
Normal file → Executable file
@@ -34,7 +34,8 @@ public:
|
||||
|
||||
BOOST_AUTO_TEST_CASE(TestCase_JSONPool)
|
||||
{
|
||||
std::ifstream input("../data/factory.json"); // Fix : j'ai retiré un ../ pour que le test passe sous Codeblocks
|
||||
//std::ifstream input("../../data/factory_with_sinks.json");
|
||||
std::ifstream input("../../data/factory_with_sinks.json");
|
||||
|
||||
if (input) {
|
||||
std::string str((std::istreambuf_iterator<char>(input)), std::istreambuf_iterator<char>());
|
||||
@@ -66,12 +67,11 @@ BOOST_AUTO_TEST_CASE(TestCase_JSONPool)
|
||||
|
||||
output(context.begin(), context.end(), {context.begin(), 1});
|
||||
|
||||
std::cout << artis::factory::Trace::trace().elements().filter_level_type(artis::common::LevelType::USER).to_string()
|
||||
std::cout << artis::factory::Trace::trace().elements().filter_level_type(artis::common::LevelType::USER).filter_model_name("M_3_0").to_string()
|
||||
<< std::endl;
|
||||
|
||||
BOOST_CHECK(true);
|
||||
} else {
|
||||
std::cout << "ERREUR : FICHIER JSON NON TROUVé" << std::endl;
|
||||
BOOST_CHECK(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
test/test_optim
Executable file
BIN
test/test_optim
Executable file
Binary file not shown.
247
test/test_optim.cpp
Executable file
247
test/test_optim.cpp
Executable file
@@ -0,0 +1,247 @@
|
||||
#include <artis-star/common/RootCoordinator.hpp>
|
||||
#include <artis-star/kernel/pdevs/Coordinator.hpp>
|
||||
#include <artis-star/kernel/pdevs/GraphManager.hpp>
|
||||
#include <iostream>
|
||||
#include <random>
|
||||
|
||||
#include "FactoryGraphManager.hpp"
|
||||
#include "Machine.hpp"
|
||||
|
||||
using namespace artis::factory;
|
||||
|
||||
constexpr unsigned int product_number = 10;
|
||||
constexpr unsigned int machine_number = 5;
|
||||
constexpr unsigned int po_number = 100;
|
||||
constexpr unsigned int iteration_number = 1000;
|
||||
|
||||
unsigned int processing_times[product_number][machine_number] = {
|
||||
{2, 7, 12, 17, 22},
|
||||
{3, 8, 13, 18, 23},
|
||||
{1, 9, 12, 19, 6},
|
||||
{5, 10, 15, 20, 25},
|
||||
{6, 11, 16, 21, 26},
|
||||
{27, 28, 29, 30, 2},
|
||||
{3, 4, 15, 10, 7},
|
||||
{8, 9, 10, 11, 12},
|
||||
{13, 3, 15, 7, 17},
|
||||
{18, 19, 20, 21, 22}
|
||||
};
|
||||
|
||||
struct Solution {
|
||||
std::vector<unsigned int> po_order;
|
||||
std::vector<unsigned int> capacities;
|
||||
};
|
||||
|
||||
class MyView : public View {
|
||||
public:
|
||||
MyView() {
|
||||
for (int i = 0; i < (int) machine_number - 1; ++i) {
|
||||
selector("Stock_" + std::to_string(i) + ":entry_number",
|
||||
{FactoryGraphManager::STOCK + i, Stock::vars::ENTRY_NUMBER});
|
||||
}
|
||||
selector("Sink:finished_po_number",
|
||||
{FactoryGraphManager::MACHINE + machine_number, Sink::vars::FINISHED_PO_NUMBER});
|
||||
}
|
||||
};
|
||||
|
||||
std::vector<unsigned int> make_po_order() {
|
||||
std::random_device rd;
|
||||
std::mt19937 gen(rd());
|
||||
std::vector<unsigned int> order;
|
||||
std::vector<unsigned int> allNumbers;
|
||||
|
||||
for (unsigned int i = 0; i < po_number; ++i) {
|
||||
allNumbers.push_back(i);
|
||||
}
|
||||
while (order.size() < po_number) {
|
||||
std::uniform_int_distribution<unsigned int> dist(0, allNumbers.size() - 1);
|
||||
unsigned int index = dist(gen);
|
||||
|
||||
order.push_back(allNumbers[index]);
|
||||
allNumbers.erase(allNumbers.begin() + index);
|
||||
}
|
||||
return order;
|
||||
}
|
||||
|
||||
std::vector<unsigned int> make_capacities() {
|
||||
std::vector<unsigned int> capacities(machine_number - 1, -1);
|
||||
|
||||
return capacities;
|
||||
}
|
||||
|
||||
class Evaluator {
|
||||
public:
|
||||
Evaluator() {
|
||||
make_flow_shop();
|
||||
}
|
||||
|
||||
std::vector<double> evaluate(const Solution &solution) {
|
||||
apply(solution);
|
||||
|
||||
FactoryGraphManagerParameters graph_parameters{factory};
|
||||
artis::common::context::Context<artis::common::DoubleTime> context(0, 7200);
|
||||
artis::common::RootCoordinator<
|
||||
artis::common::DoubleTime, artis::pdevs::Coordinator<
|
||||
artis::common::DoubleTime, FactoryGraphManager, artis::common::NoParameters, FactoryGraphManagerParameters>
|
||||
> rc(context, "root", artis::common::NoParameters(), graph_parameters);
|
||||
|
||||
rc.attachView("V", new MyView);
|
||||
rc.switch_to_timed_observer(1);
|
||||
|
||||
rc.run(context);
|
||||
|
||||
auto sink_values = rc.observer().view("V").get("Sink:finished_po_number");
|
||||
double t = -1;
|
||||
|
||||
for (const auto &v: sink_values) {
|
||||
unsigned int n;
|
||||
|
||||
v.second.operator()(n);
|
||||
if (n == po_number) {
|
||||
t = v.first;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
double sum = 0;
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
auto stock_values = rc.observer().view("V").get("Stock_" + std::to_string(i) + ":entry_number");
|
||||
|
||||
for (const auto &v: stock_values) {
|
||||
unsigned int n;
|
||||
|
||||
v.second.operator()(n);
|
||||
if (v.first > t) {
|
||||
break;
|
||||
}
|
||||
sum += n;
|
||||
}
|
||||
}
|
||||
return {t, sum / (machine_number - 1) / t};
|
||||
}
|
||||
|
||||
private:
|
||||
void apply(const Solution &solution) {
|
||||
factory._generator._po_order = solution.po_order;
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
std::get<3>(factory._pools[0])[i]._capacity = (int)solution.capacities[i];
|
||||
}
|
||||
}
|
||||
|
||||
void fix_durations() {
|
||||
for (const auto &product: factory._products) {
|
||||
unsigned int product_id = product.first;
|
||||
unsigned int pool_index = 0;
|
||||
|
||||
for (const auto &pool_machine: product.second._pool_jobs) {
|
||||
unsigned int pool_id = pool_machine._pool_id;
|
||||
const auto &pool = *std::find_if(factory._pools.cbegin(), factory._pools.cend(),
|
||||
[pool_id](const auto &e) { return std::get<0>(e) == pool_id; });
|
||||
const auto &machines = std::get<2>(pool);
|
||||
unsigned int sequence_index = 0;
|
||||
|
||||
for (const auto &machine: pool_machine._machine_jobs) {
|
||||
unsigned int machine_id = machine._machine_id;
|
||||
const auto &m = *std::find_if(machines.cbegin(), machines.cend(),
|
||||
[machine_id](const auto &e) { return e->machine_id == machine_id; });
|
||||
|
||||
if (m->machine_type == PROCESSOR) {
|
||||
auto &M = (ProcessorParameters &) (*m);
|
||||
|
||||
M.product_durations[product_id] = std::static_pointer_cast<ProcessorDurations>(machine._durations);
|
||||
}
|
||||
++sequence_index;
|
||||
}
|
||||
++pool_index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void make_flow_shop() {
|
||||
// generator
|
||||
factory._generator._min_send_speed_rate = 0;
|
||||
factory._generator._max_send_speed_rate = 0;
|
||||
factory._generator._random_seed = 62642;
|
||||
factory._generator._po_number = po_number;
|
||||
// products
|
||||
for (unsigned int i = 0; i < product_number; ++i) {
|
||||
Product product{i, {}, {PoolJob{0, {}}}, true};
|
||||
|
||||
for (unsigned int j = 0; j < machine_number; ++j) {
|
||||
std::vector<In> ins;
|
||||
std::vector<Out> outs;
|
||||
|
||||
if (j > 0) {
|
||||
ins.push_back({-1, {0, j - 1}, 1});
|
||||
}
|
||||
if (j < machine_number - 1) {
|
||||
outs.push_back({-1, {0, j}, 1});
|
||||
}
|
||||
product._pool_jobs[0]._machine_jobs.push_back(
|
||||
MachineJob{j, ins, outs,
|
||||
std::make_shared<ProcessorDurations>(ProcessorDurations{{}, 1, processing_times[i][j], 1})});
|
||||
}
|
||||
|
||||
product._pool_jobs[0]._machine_jobs.push_back(MachineJob{machine_number, {}, {}, {}});
|
||||
factory._products[i] = product;
|
||||
}
|
||||
// pools
|
||||
factory._pools.push_back({0, 0, {}, {}});
|
||||
for (unsigned int i = 0; i < machine_number; ++i) {
|
||||
std::map<unsigned int, InOut> in_out;
|
||||
|
||||
for (const auto &product: factory._products) {
|
||||
for (const auto &pool_job: product.second._pool_jobs) {
|
||||
if (pool_job._pool_id == 0) {
|
||||
for (const auto &machine_job: pool_job._machine_jobs) {
|
||||
if (machine_job._machine_id == i) {
|
||||
in_out[product.first] = InOut{machine_job._ins, machine_job._outs};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
std::get<2>(factory._pools[0]).push_back(std::make_shared<ProcessorParameters>(ProcessorParameters{{i, 0, 0, 1},
|
||||
{{}, 1, 3, 1},
|
||||
in_out,
|
||||
{}}));
|
||||
}
|
||||
std::get<2>(factory._pools[0]).push_back(
|
||||
std::make_shared<SinkParameters>(SinkParameters{{machine_number, 1, 0, 1}}));
|
||||
// intermediate stocks
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
std::get<3>(factory._pools[0]).push_back({i, -1});
|
||||
}
|
||||
|
||||
fix_durations();
|
||||
}
|
||||
|
||||
Factory factory;
|
||||
};
|
||||
|
||||
int main() {
|
||||
Evaluator evaluator;
|
||||
|
||||
unsigned int best_score = 99999;
|
||||
|
||||
for (unsigned int i = 0; i < iteration_number; ++i) {
|
||||
std::random_device rd;
|
||||
std::mt19937 generator(rd());
|
||||
std::vector<unsigned int> liste_po = make_po_order();
|
||||
|
||||
std::shuffle(liste_po.begin(), liste_po.end(), generator); // Random solver, pas forcément le meilleur, mais c'est fonctionnel \_(ツ)_/¯
|
||||
|
||||
Solution solution{liste_po, make_capacities()}; // Fixer la capacité des stocks à l'infini ? Le but n'est pas de réduire cette variable ?
|
||||
|
||||
unsigned int score = evaluator.evaluate(solution)[0];
|
||||
|
||||
std::cout << score << " " << evaluator.evaluate(solution)[1] << std::endl;
|
||||
if (score < best_score)
|
||||
{
|
||||
// Diminution du score, je garde cette solution
|
||||
best_score = score;
|
||||
std::cout << "^ EST UN NOUVEAU SCORE MINIMAL ^" << std::endl;
|
||||
}
|
||||
}
|
||||
std::cout << "Score minimal : " << best_score <<std::endl;
|
||||
}
|
||||
BIN
test/test_simple
BIN
test/test_simple
Binary file not shown.
319
test/test_simple.cpp
Normal file → Executable file
319
test/test_simple.cpp
Normal file → Executable file
@@ -1,140 +1,229 @@
|
||||
#include <artis-star/common/RootCoordinator.hpp>
|
||||
#include <artis-star/kernel/pdevs/Coordinator.hpp>
|
||||
#include <artis-star/kernel/pdevs/GraphManager.hpp>
|
||||
|
||||
#include <chrono>
|
||||
#include <iostream>
|
||||
|
||||
#define BOOST_TEST_MODULE Factory_Simple_Tests
|
||||
#include "FactoryGraphManager.hpp"
|
||||
#include "Machine.hpp"
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <artis-star/kernel/pdevs/Simulator.hpp>
|
||||
using namespace artis::factory;
|
||||
|
||||
#include "Processor.hpp"
|
||||
#include "PoolRouter.hpp"
|
||||
#include "ProductionOrderGenerator.hpp"
|
||||
#include "Router.hpp"
|
||||
#include "Sink.hpp"
|
||||
constexpr unsigned int product_number = 10;
|
||||
constexpr unsigned int machine_number = 5;
|
||||
constexpr unsigned int po_number = 100;
|
||||
constexpr unsigned int iteration_number = 1000;
|
||||
|
||||
using namespace std::chrono;
|
||||
unsigned int processing_times[product_number][machine_number] = {
|
||||
{2, 7, 12, 17, 22},
|
||||
{3, 8, 13, 18, 23},
|
||||
{1, 9, 12, 19, 6},
|
||||
{5, 10, 15, 20, 25},
|
||||
{6, 11, 16, 21, 26},
|
||||
{27, 28, 29, 30, 2},
|
||||
{3, 4, 15, 10, 7},
|
||||
{8, 9, 10, 11, 12},
|
||||
{13, 3, 15, 7, 17},
|
||||
{18, 19, 20, 21, 22}
|
||||
};
|
||||
|
||||
class OnlyOnePoolGraphManager
|
||||
: public artis::pdevs::GraphManager<artis::common::DoubleTime, artis::common::NoParameters, artis::common::NoParameters> {
|
||||
struct Solution {
|
||||
std::vector<unsigned int> po_order;
|
||||
std::vector<unsigned int> capacities;
|
||||
};
|
||||
|
||||
class MyView : public View {
|
||||
public:
|
||||
enum sub_models {
|
||||
PROCESSOR_1, PROCESSOR_2, PROCESSOR_3, POOL_ROUTER, ROUTER, GENERATOR, SINK
|
||||
};
|
||||
MyView() {
|
||||
for (int i = 0; i < (int) machine_number - 1; ++i) {
|
||||
selector("Stock_" + std::to_string(i) + ":entry_number",
|
||||
{FactoryGraphManager::STOCK + i, Stock::vars::ENTRY_NUMBER});
|
||||
}
|
||||
selector("Sink:finished_po_number",
|
||||
{FactoryGraphManager::MACHINE + machine_number, Sink::vars::FINISHED_PO_NUMBER});
|
||||
}
|
||||
};
|
||||
|
||||
OnlyOnePoolGraphManager(artis::common::Coordinator<artis::common::DoubleTime> *coordinator,
|
||||
const artis::common::NoParameters ¶meters,
|
||||
const artis::common::NoParameters &graph_parameters
|
||||
) : artis::pdevs::GraphManager<artis::common::DoubleTime, artis::common::NoParameters, artis::common::NoParameters>(
|
||||
coordinator, parameters, graph_parameters),
|
||||
_generator("G",
|
||||
{
|
||||
{
|
||||
{0, {artis::factory::PoolMachineSequence(0, {0, 1, 2, 3})}},
|
||||
{1, {artis::factory::PoolMachineSequence(0, {1, 2, 0, 3})}},
|
||||
{2, {artis::factory::PoolMachineSequence(0, {2, 0, 1, 3})}}
|
||||
},
|
||||
62642, 15, 30
|
||||
}),
|
||||
_router("R", {1}),
|
||||
_pool_router("P_R", {0, 4}),
|
||||
_processor_1("M1", {{0, 0, 0}, 1, 10, 1}),
|
||||
_processor_2("M2", {{1, 0, 0}, 1, 8, 1}),
|
||||
_processor_3("M3", {{2, 0, 0}, 1, 15, 1}),
|
||||
_sink("S", {3, 0}) {
|
||||
this->add_child(SINK, &_sink);
|
||||
this->add_child(PROCESSOR_1, &_processor_1);
|
||||
this->add_child(PROCESSOR_2, &_processor_2);
|
||||
this->add_child(PROCESSOR_3, &_processor_3);
|
||||
this->add_child(ROUTER, &_router);
|
||||
this->add_child(POOL_ROUTER, &_pool_router);
|
||||
this->add_child(GENERATOR, &_generator);
|
||||
std::vector<unsigned int> make_po_order() {
|
||||
std::random_device rd;
|
||||
std::mt19937 gen(rd());
|
||||
std::vector<unsigned int> order;
|
||||
std::vector<unsigned int> allNumbers;
|
||||
|
||||
out({&_generator, artis::factory::ProductionOrderGenerator::outputs::OUT})
|
||||
>> in({&_router, artis::factory::Router::inputs::IN});
|
||||
for (unsigned int i = 0; i < po_number; ++i) {
|
||||
allNumbers.push_back(i);
|
||||
}
|
||||
while (order.size() < po_number) {
|
||||
std::uniform_int_distribution<unsigned int> dist(0, allNumbers.size() - 1);
|
||||
unsigned int index = dist(gen);
|
||||
|
||||
out({&_router, artis::factory::Router::outputs::OUT_P + 0})
|
||||
>> in({&_pool_router, artis::factory::PoolRouter::inputs::IN});
|
||||
order.push_back(allNumbers[index]);
|
||||
allNumbers.erase(allNumbers.begin() + index);
|
||||
}
|
||||
return order;
|
||||
}
|
||||
|
||||
out({&_pool_router, artis::factory::PoolRouter::outputs::OUT})
|
||||
>> in({&_router, artis::factory::Router::inputs::IN_P + 0});
|
||||
std::vector<unsigned int> make_capacities() {
|
||||
std::vector<unsigned int> capacities(machine_number - 1, -1);
|
||||
|
||||
out({&_pool_router, artis::factory::PoolRouter::outputs::OUT_M + 0})
|
||||
>> in({&_processor_1, artis::factory::Processor::inputs::IN});
|
||||
return capacities;
|
||||
}
|
||||
|
||||
out({&_pool_router, artis::factory::PoolRouter::outputs::OUT_M + 1})
|
||||
>> in({&_processor_2, artis::factory::Processor::inputs::IN});
|
||||
|
||||
out({&_pool_router, artis::factory::PoolRouter::outputs::OUT_M + 2})
|
||||
>> in({&_processor_3, artis::factory::Processor::inputs::IN});
|
||||
|
||||
out({&_processor_1, artis::factory::Processor::outputs::OUT})
|
||||
>> in({&_pool_router, artis::factory::PoolRouter::inputs::IN_M + 0});
|
||||
|
||||
out({&_processor_2, artis::factory::Processor::outputs::OUT})
|
||||
>> in({&_pool_router, artis::factory::PoolRouter::inputs::IN_M + 1});
|
||||
|
||||
out({&_processor_3, artis::factory::Processor::outputs::OUT})
|
||||
>> in({&_pool_router, artis::factory::PoolRouter::inputs::IN_M + 2});
|
||||
|
||||
out({&_router, artis::factory::Router::outputs::OUT/*_M+3*/}) // Sink
|
||||
>> in({&_sink, artis::factory::Sink::inputs::IN});
|
||||
class Evaluator {
|
||||
public:
|
||||
Evaluator() {
|
||||
make_flow_shop();
|
||||
}
|
||||
|
||||
~OnlyOnePoolGraphManager() override = default;
|
||||
std::vector<double> evaluate(const Solution &solution) {
|
||||
apply(solution);
|
||||
|
||||
FactoryGraphManagerParameters graph_parameters{factory};
|
||||
artis::common::context::Context<artis::common::DoubleTime> context(0, 7200);
|
||||
artis::common::RootCoordinator<
|
||||
artis::common::DoubleTime, artis::pdevs::Coordinator<
|
||||
artis::common::DoubleTime, FactoryGraphManager, artis::common::NoParameters, FactoryGraphManagerParameters>
|
||||
> rc(context, "root", artis::common::NoParameters(), graph_parameters);
|
||||
|
||||
rc.attachView("V", new MyView);
|
||||
rc.switch_to_timed_observer(1);
|
||||
|
||||
rc.run(context);
|
||||
|
||||
auto sink_values = rc.observer().view("V").get("Sink:finished_po_number");
|
||||
double t = -1;
|
||||
|
||||
for (const auto &v: sink_values) {
|
||||
unsigned int n;
|
||||
|
||||
v.second.operator()(n);
|
||||
if (n == po_number) {
|
||||
t = v.first;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
double sum = 0;
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
auto stock_values = rc.observer().view("V").get("Stock_" + std::to_string(i) + ":entry_number");
|
||||
|
||||
for (const auto &v: stock_values) {
|
||||
unsigned int n;
|
||||
|
||||
v.second.operator()(n);
|
||||
if (v.first > t) {
|
||||
break;
|
||||
}
|
||||
sum += n;
|
||||
}
|
||||
}
|
||||
return {t, sum / (machine_number - 1) / t};
|
||||
}
|
||||
|
||||
private:
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::ProductionOrderGenerator, artis::factory::ProductionOrderGeneratorParameters> _generator;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Router, artis::factory::RouterParameters> _router;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::PoolRouter, artis::factory::PoolRouterParameters> _pool_router;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Processor, artis::factory::ProcessorParameters> _processor_1;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Processor, artis::factory::ProcessorParameters> _processor_2;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Processor, artis::factory::ProcessorParameters> _processor_3;
|
||||
artis::pdevs::Simulator<artis::common::DoubleTime, artis::factory::Sink, artis::factory::SinkParameters> _sink;
|
||||
};
|
||||
|
||||
class PoolRouterView : public artis::factory::View {
|
||||
public:
|
||||
PoolRouterView() {
|
||||
selector("PoolRouter:waiting_po_number",
|
||||
{OnlyOnePoolGraphManager::POOL_ROUTER, artis::factory::PoolRouter::vars::WAITING_PO_NUMBER});
|
||||
selector("Generator:total_po_number",
|
||||
{OnlyOnePoolGraphManager::GENERATOR, artis::factory::ProductionOrderGenerator::vars::TOTAL_PO_NUMBER});
|
||||
void apply(const Solution &solution) {
|
||||
factory._generator._po_order = solution.po_order;
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
std::get<3>(factory._pools[0])[i]._capacity = (int)solution.capacities[i];
|
||||
}
|
||||
}
|
||||
|
||||
void fix_durations() {
|
||||
for (const auto &product: factory._products) {
|
||||
unsigned int product_id = product.first;
|
||||
unsigned int pool_index = 0;
|
||||
|
||||
for (const auto &pool_machine: product.second._pool_jobs) {
|
||||
unsigned int pool_id = pool_machine._pool_id;
|
||||
const auto &pool = *std::find_if(factory._pools.cbegin(), factory._pools.cend(),
|
||||
[pool_id](const auto &e) { return std::get<0>(e) == pool_id; });
|
||||
const auto &machines = std::get<2>(pool);
|
||||
unsigned int sequence_index = 0;
|
||||
|
||||
for (const auto &machine: pool_machine._machine_jobs) {
|
||||
unsigned int machine_id = machine._machine_id;
|
||||
const auto &m = *std::find_if(machines.cbegin(), machines.cend(),
|
||||
[machine_id](const auto &e) { return e->machine_id == machine_id; });
|
||||
|
||||
if (m->machine_type == PROCESSOR) {
|
||||
auto &M = (ProcessorParameters &) (*m);
|
||||
|
||||
M.product_durations[product_id] = std::static_pointer_cast<ProcessorDurations>(machine._durations);
|
||||
}
|
||||
++sequence_index;
|
||||
}
|
||||
++pool_index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void make_flow_shop() {
|
||||
// generator
|
||||
factory._generator._min_send_speed_rate = 0;
|
||||
factory._generator._max_send_speed_rate = 0;
|
||||
factory._generator._random_seed = 62642;
|
||||
factory._generator._po_number = po_number;
|
||||
// products
|
||||
for (unsigned int i = 0; i < product_number; ++i) {
|
||||
Product product{i, {}, {PoolJob{0, {}}}, true};
|
||||
|
||||
for (unsigned int j = 0; j < machine_number; ++j) {
|
||||
std::vector<In> ins;
|
||||
std::vector<Out> outs;
|
||||
|
||||
if (j > 0) {
|
||||
ins.push_back({-1, {0, j - 1}, 1});
|
||||
}
|
||||
if (j < machine_number - 1) {
|
||||
outs.push_back({-1, {0, j}, 1});
|
||||
}
|
||||
product._pool_jobs[0]._machine_jobs.push_back(
|
||||
MachineJob{j, ins, outs,
|
||||
std::make_shared<ProcessorDurations>(ProcessorDurations{{}, 1, processing_times[i][j], 1})});
|
||||
}
|
||||
|
||||
product._pool_jobs[0]._machine_jobs.push_back(MachineJob{machine_number, {}, {}, {}});
|
||||
factory._products[i] = product;
|
||||
}
|
||||
// pools
|
||||
factory._pools.push_back({0, 0, {}, {}});
|
||||
for (unsigned int i = 0; i < machine_number; ++i) {
|
||||
std::map<unsigned int, InOut> in_out;
|
||||
|
||||
for (const auto &product: factory._products) {
|
||||
for (const auto &pool_job: product.second._pool_jobs) {
|
||||
if (pool_job._pool_id == 0) {
|
||||
for (const auto &machine_job: pool_job._machine_jobs) {
|
||||
if (machine_job._machine_id == i) {
|
||||
in_out[product.first] = InOut{machine_job._ins, machine_job._outs};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
std::get<2>(factory._pools[0]).push_back(std::make_shared<ProcessorParameters>(ProcessorParameters{{i, 0, 0, 1},
|
||||
{{}, 1, 3, 1},
|
||||
in_out,
|
||||
{}}));
|
||||
}
|
||||
std::get<2>(factory._pools[0]).push_back(
|
||||
std::make_shared<SinkParameters>(SinkParameters{{machine_number, 1, 0, 1}}));
|
||||
// intermediate stocks
|
||||
for (unsigned int i = 0; i < machine_number - 1; ++i) {
|
||||
std::get<3>(factory._pools[0]).push_back({i, -1});
|
||||
}
|
||||
|
||||
fix_durations();
|
||||
}
|
||||
|
||||
Factory factory;
|
||||
};
|
||||
|
||||
BOOST_AUTO_TEST_CASE(TestCase_OnePool)
|
||||
{
|
||||
artis::common::context::Context<artis::common::DoubleTime> context(0, 8 * 3600); // 8h
|
||||
artis::common::RootCoordinator<
|
||||
artis::common::DoubleTime, artis::pdevs::Coordinator<
|
||||
artis::common::DoubleTime, OnlyOnePoolGraphManager, artis::common::NoParameters>
|
||||
> rc(context, "root", artis::common::NoParameters(), artis::common::NoParameters());
|
||||
int main() {
|
||||
Evaluator evaluator;
|
||||
|
||||
rc.attachView("PoolRouter", new PoolRouterView());
|
||||
rc.switch_to_timed_observer(1);
|
||||
for (unsigned int i = 0; i < iteration_number; ++i) {
|
||||
Solution solution{make_po_order(), make_capacities()};
|
||||
|
||||
steady_clock::time_point t1 = steady_clock::now();
|
||||
|
||||
std::cout << "OK" << std::endl;
|
||||
rc.run(context);
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
steady_clock::time_point t2 = steady_clock::now();
|
||||
|
||||
duration<double> time_span = duration_cast<duration<double> >(t2 - t1);
|
||||
|
||||
std::cout << "Duration: " << time_span.count() << std::endl;
|
||||
|
||||
artis::factory::Output output(rc.observer());
|
||||
|
||||
output(context.begin(), context.end(), {context.begin(), 1});
|
||||
|
||||
std::cout << artis::factory::Trace::trace().elements().filter_level_type(artis::common::LevelType::USER).to_string()
|
||||
<< std::endl;
|
||||
|
||||
BOOST_CHECK(true);
|
||||
}
|
||||
std::cout << evaluator.evaluate(solution)[0] << " " << evaluator.evaluate(solution)[1] << std::endl;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user