Skip to content

Commit 0d5e237

Browse files
giordanoararslan
authored andcommitted
Disable ccache for gfortran, as it isn't well supported anyway (#606)
* Disable ccache for gfortran, as it isn't well supported anyway * Update src/Runner.jl Co-Authored-By: Alex Arslan <[email protected]> Co-authored-by: Alex Arslan <[email protected]>
1 parent 7152593 commit 0d5e237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function generate_compiler_wrappers!(platform::Platform; bin_path::AbstractStrin
215215
# C/C++/Fortran
216216
gcc(io::IO, p::Platform) = wrapper(io, "/opt/$(triplet(p))/bin/$(triplet(p))-gcc $(gcc_flags(p))"; hash_args=true, link_only_flags=gcc_link_flags(p))
217217
gxx(io::IO, p::Platform) = wrapper(io, "/opt/$(triplet(p))/bin/$(triplet(p))-g++ $(gcc_flags(p))"; hash_args=true, link_only_flags=gcc_link_flags(p))
218-
gfortran(io::IO, p::Platform) = wrapper(io, "/opt/$(triplet(p))/bin/$(triplet(p))-gfortran $(fortran_flags(p))")
218+
gfortran(io::IO, p::Platform) = wrapper(io, "/opt/$(triplet(p))/bin/$(triplet(p))-gfortran $(fortran_flags(p))"; allow_ccache=false)
219219
clang(io::IO, p::Platform) = wrapper(io, "/opt/$(host_target)/bin/clang $(clang_flags(p))"; link_only_flags=clang_link_flags(p))
220220
clangxx(io::IO, p::Platform) = wrapper(io, "/opt/$(host_target)/bin/clang++ $(clang_flags(p))"; link_only_flags=clang_link_flags(p))
221221
objc(io::IO, p::Platform) = wrapper(io, "/opt/$(host_target)/bin/clang -x objective-c $(clang_flags(p))"; link_only_flags=clang_link_flags(p))

0 commit comments

Comments
 (0)