[Parallel_libs-commits] [PATCH] D24302: Add streamexecutor-config

James Price via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Wed Sep 7 15:13:38 PDT 2016


jprice added a comment.

Maybe I'm doing something wrong, but the single-quotes wrapping the include/lib paths given by `--cppflags` and `--ldflags` are not working for me. The compiler fails to find the StreamExecutor headers and libraries, and warns that the library directory doesn't exist. It's almost as if the quotes are being taken as part of the paths.

If I manually remove those quotes from the `streamexecutor-config` script then it works fine. It also works if I manually copy the output into the compiler command-line, so maybe there's some weird issue with how the quotes are handled by the shell when substituting command output with `$()`?

Tried on both OS X and Ubuntu, with a trivial program that just includes `StreamExecutor.h`.


https://reviews.llvm.org/D24302





More information about the Parallel_libs-commits mailing list