[libc-commits] [PATCH] D143212: [libc] Add startup code implementation for GPU targets

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Feb 2 12:55:37 PST 2023


jhuber6 updated this revision to Diff 494419.
jhuber6 added a comment.

Remove unrelated change.

I had a hard time testing these changes. For reasons unknown to me, this does
not seem to actually build the sources. Thus, the `install` does not have a file
to install. I copied the source mostly from the existing support for `linux` but
it seems like it doesn't create a standard object library that is linked in.
Rather we extract the object manually. This is also a bit problematic as we will
need to pass `--target=` to the link job to tell it to use the appropriate
toolchain for the linking job.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143212/new/

https://reviews.llvm.org/D143212

Files:
  libc/startup/gpu/CMakeLists.txt
  libc/startup/gpu/amdgpu/CMakeLists.txt
  libc/startup/gpu/amdgpu/start.cpp
  libc/startup/gpu/nvptx/CMakeLists.txt
  libc/startup/gpu/nvptx/start.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143212.494419.patch
Type: text/x-patch
Size: 5807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230202/58a3a1f5/attachment-0001.bin>


More information about the libc-commits mailing list