File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -83,27 +83,6 @@ sub get_path_options {
83
83
$HIP_CLANG_HCC_COMPAT_MODE =$ENV {' HIP_CLANG_HCC_COMPAT_MODE' }; # HCC compatibility mode
84
84
$HIP_COMPILE_CXX_AS_HIP =$ENV {' HIP_COMPILE_CXX_AS_HIP' } // " 1" ;
85
85
86
- # ---
87
- # Temporary directories
88
- my @tmpDirs = ();
89
-
90
- # ---
91
- # Create a new temporary directory and return it
92
- sub get_temp_dir {
93
- my $tmpdir = mkdtemp(" /tmp/hipccXXXXXXXX" );
94
- push (@tmpDirs , $tmpdir );
95
- return $tmpdir ;
96
- }
97
-
98
- # ---
99
- # Delete all created temporary directories
100
- sub delete_temp_dirs {
101
- if (@tmpDirs ) {
102
- system (' rm -rf ' . join (' ' , @tmpDirs ));
103
- }
104
- return 0;
105
- }
106
-
107
86
my $base_dir ;
108
87
BEGIN {
109
88
$base_dir = dirname(Cwd::realpath(__FILE__ ) );
@@ -637,7 +616,6 @@ sub get_normalized_path {
637
616
else {
638
617
$CMD_EXIT_CODE = $? >> 8;
639
618
}
640
- $? or delete_temp_dirs ();
641
619
exit ($CMD_EXIT_CODE );
642
620
}
643
621
You can’t perform that action at this time.
0 commit comments