SWDEV-286884 - Add CMake hiprtc-builtins library generation part 1

Add the CMake support for generating the hiprtc-builtins
library. Replaces the previous execution of shell script.
For backwards compatibility, link hiprtc pre-processed
object to amdhip64, and support versioning in name.
Add libcmt.lib to Windows link step, due to manually
generated .obj from llvm-mc.

Change-Id: I267be3cf4b241840b35f7f27a0b8659530108b0e
This commit is contained in:
Aaron En Ye Shi
2021-05-28 17:32:33 +00:00
parent 44e8b72267
commit c42308e2e5
3 changed files with 159 additions and 17 deletions
+4
View File
@@ -0,0 +1,4 @@
EXPORTS
__hipRTC_header
__hipRTC_header_size