Processing: [default: loading data] [conf-cuda: sh cat < test.c #include "cuda.h" #include "nvrtc.h" ] + /usr/bin/sh "-exc" "cat < test.c\n #include \"cuda.h\"\n #include \"nvrtc.h\"\n " (CWD=/home/opam/.opam/default/.opam-switch/build/conf-cuda.1) - + cat [conf-cuda: sh] + /usr/bin/sh "-exc" "$(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c" (CWD=/home/opam/.opam/default/.opam-switch/build/conf-cuda.1) - + ocamlc -config-var c_compiler - + gcc -c -I/usr/local/cuda/include test.c - test.c:1:14: fatal error: cuda.h: No such file or directory - 1 | #include "cuda.h" - | ^~~~~~~~ - compilation terminated. [ERROR] The compilation of conf-cuda.1 failed at "sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c". #=== ERROR while compiling conf-cuda.1 ========================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/conf-cuda.1 # command /usr/bin/sh -exc $(ocamlc -config-var c_compiler) -c $CFLAGS -I'/usr/local/cuda/include' test.c # exit-code 1 # env-file /tmp/opam-root-7/conf-cuda-7-8be4e5.env # output-file /tmp/opam-root-7/conf-cuda-7-8be4e5.out ### output ### # + ocamlc -config-var c_compiler # + gcc -c -I/usr/local/cuda/include test.c # test.c:1:14: fatal error: cuda.h: No such file or directory # 1 | #include "cuda.h" # | ^~~~~~~~ # compilation terminated.