[PATCH] D157750: Properly handle -fsplit-machine-functions for fatbinary compilation
Dmitry Chernenkov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 17 05:05:01 PDT 2023
steelannelida added inline comments.
================
Comment at: clang/test/Driver/fsplit-machine-functions-with-cuda-nvptx.c:16
+// causes a warning.
+// RUN: %clang --target=x86_64-unknown-linux-gnu -nogpulib -nogpuinc \
+// RUN: --cuda-gpu-arch=sm_70 -x cuda -fsplit-machine-functions -S %s 2>&1 \
----------------
Unfortunately these commands fail in our sandbox due to writing files to readonly directories:
`unable to open output file 'fsplit-machine-functions-with-cuda-nvptx.s': 'Permission denied'`
Could you please specify the output files via `%t` substitutions? I'm not sure how to do this for cuda compilation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157750/new/
https://reviews.llvm.org/D157750
More information about the cfe-commits
mailing list