Enable support for roc-obj tools on Windows
SWDEV-301785 - roc-obj - support for Windows COFF Change-Id: I20d53196e2d126391934351cb824b7bc926fb1ce
This commit is contained in:
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
@set ROC_OBJ_EXTRACT="%~dp0roc-obj-extract"
|
||||||
|
@perl %ROC_OBJ_EXTRACT% %*
|
||||||
@@ -81,7 +81,7 @@ foreach my $executable_file(@ARGV) {
|
|||||||
|
|
||||||
# kernel section information
|
# kernel section information
|
||||||
my $escaped_name=quotemeta($executable_file);
|
my $escaped_name=quotemeta($executable_file);
|
||||||
my $bundle_section_name = ".hip_fatbin";
|
my $bundle_section_name = ".hip_fat";
|
||||||
my $bundle_section_size = hex(`$objdump -h $escaped_name | grep $bundle_section_name | awk '{print \$3}'`);
|
my $bundle_section_size = hex(`$objdump -h $escaped_name | grep $bundle_section_name | awk '{print \$3}'`);
|
||||||
my $bundle_section_offset = hex(`$objdump -h $escaped_name | grep $bundle_section_name | awk '{print \$6}'`);
|
my $bundle_section_offset = hex(`$objdump -h $escaped_name | grep $bundle_section_name | awk '{print \$6}'`);
|
||||||
|
|
||||||
|
|||||||
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
@set ROC_OBJ_LS="%~dp0roc-obj-ls"
|
||||||
|
@perl %ROC_OBJ_LS% %*
|
||||||
Referens i nytt ärende
Block a user