Created
July 12, 2022 09:36
-
-
Save unterumarmung/4cc0a77cb0756a25c127caee8fbc6235 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ clang -### -fopenacc -fopenmp-targets=amdgcn-amd-amdhsa test.c && ./a.out | |
clang version 15.0.0 (3414a149c382d88b81b40ff2e746d516c9dc697b) | |
Target: x86_64-unknown-linux-gnu | |
Thread model: posix | |
InstalledDir: /home/d.dudkin/dev/llvm-project/install/bin | |
"/home/d.dudkin/dev/llvm-project/install/bin/clang-15" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "test.c" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-fcoverage-compilation-dir=/home/d.dudkin/dev/llvm-project" "-resource-dir" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0" "-internal-isystem" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdebug-compilation-dir=/home/d.dudkin/dev/llvm-project" "-ferror-limit" "19" "-fopenacc" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-disable-llvm-passes" "-fopenmp-targets=amdgcn-amd-amdhsa" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/tmp/test-8be6db.bc" "-x" "c" "test.c" | |
"/home/d.dudkin/dev/llvm-project/install/bin/clang-15" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "test.c" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-fcoverage-compilation-dir=/home/d.dudkin/dev/llvm-project" "-resource-dir" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0" "-fdebug-compilation-dir=/home/d.dudkin/dev/llvm-project" "-ferror-limit" "19" "-fopenacc" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-fopenmp-targets=amdgcn-amd-amdhsa" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/tmp/test-f3d81d.o" "-x" "ir" "/tmp/test-8be6db.bc" | |
"/home/d.dudkin/dev/llvm-project/install/bin/clang-15" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "test.c" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-target-cpu" "gfx908" "-fcuda-is-device" "-mlink-builtin-bitcode" "/home/d.dudkin/dev/llvm-project/install/lib/libomptarget-amdgpu-gfx908.bc" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-resource-dir" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0" "-internal-isystem" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/include/openmp_wrappers" "-include" "__clang_openmp_device_functions.h" "-internal-isystem" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdebug-compilation-dir=/home/d.dudkin/dev/llvm-project" "-ferror-limit" "19" "-fvisibility" "protected" "-fopenacc" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-fopenmp-is-device" "-fopenmp-host-ir-file-path" "/tmp/test-8be6db.bc" "-faddrsig" "-o" "/tmp/test-b1caba.bc" "-x" "c" "test.c" | |
"/home/d.dudkin/dev/llvm-project/install/bin/llvm-link" "/tmp/test-b1caba.bc" "-o" "/tmp/test-b1caba-gfx908-linked-1a7f04.bc" | |
"/home/d.dudkin/dev/llvm-project/install/bin/llc" "/tmp/test-b1caba-gfx908-linked-1a7f04.bc" "-mtriple=amdgcn-amd-amdhsa" "-mcpu=gfx908" "-filetype=obj" "-o" "/tmp/test-b1caba-gfx908-af8879.o" | |
"/home/d.dudkin/dev/llvm-project/install/bin/lld" "-flavor" "gnu" "--no-undefined" "-shared" "-o" "/tmp/test-3a651c.out" "/tmp/test-b1caba-gfx908-af8879.o" | |
"/home/d.dudkin/dev/llvm-project/install/bin/clang-offload-wrapper" "-target" "x86_64-unknown-linux-gnu" "-o" "/tmp/a-5032bb.bc" "/tmp/test-3a651c.out" | |
"/home/d.dudkin/dev/llvm-project/install/bin/clang-15" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.out-wrapper" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-fcoverage-compilation-dir=/home/d.dudkin/dev/llvm-project" "-resource-dir" "/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0" "-fdebug-compilation-dir=/home/d.dudkin/dev/llvm-project" "-ferror-limit" "19" "-fopenacc" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-fopenmp-targets=amdgcn-amd-amdhsa" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/tmp/a-e6ca07.o" "-x" "ir" "/tmp/a-5032bb.bc" | |
"/usr/bin/ld" "-pie" "-z" "relro" "--hash-style=gnu" "--eh-frame-hdr" "-m" "elf_x86_64" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-o" "a.out" "/lib/x86_64-linux-gnu/Scrt1.o" "/lib/x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o" "-L/home/d.dudkin/dev/llvm-project/install/lib/clang/15.0.0/lib/linux/x86_64" "-L/usr/lib/gcc/x86_64-linux-gnu/9" "-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib64" "-L/lib/x86_64-linux-gnu" "-L/lib/../lib64" "-L/usr/lib/x86_64-linux-gnu" "-L/usr/lib/../lib64" "-L/lib" "-L/usr/lib" "/tmp/test-f3d81d.o" "/tmp/a-e6ca07.o" "-lacc2omp" "-lomp" "-lomptarget" "-rpath" "/home/d.dudkin/dev/llvm-project/install/lib" "-L/home/d.dudkin/dev/llvm-project/install/lib" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lpthread" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o" "/lib/x86_64-linux-gnu/crtn.o" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment