Skip to content

Commit 1959603

Browse files
authored
Update StaticCompiler.jl
1 parent f94c055 commit 1959603

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/StaticCompiler.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,7 @@ function generate_shlib(f, tt, path::String = tempname(), name = GPUCompiler.saf
190190
# Pick a Clang
191191
cc = Sys.isapple() ? `cc` : clang()
192192
# Compile!
193-
try
194-
run(`$cc -shared -o $lib_path $obj_path`)
195-
catch
196-
# If all Clangs fail, try system gcc
197-
run(`gcc -shared -o $lib_path $obj_path`)
198-
end
193+
run(`$cc -shared -o $lib_path $obj_path`)
199194
end
200195
path, name
201196
end

0 commit comments

Comments
 (0)