-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Is there a flag to overwrite the last executables/symlinks created by build_executable? If I run it two times in a row, the first time it succeeds, but the second time I get
ERROR: IOError: symlink: file already exists (EEXIST)
Stacktrace:
[1] #cp at ./none:0 [inlined]
[2] copy_files_array(::Array{String,1}, ::String, ::Bool, ::String) at /home/scott/.julia/packages/PackageCompiler/CJQcs/src/static_julia.jl:351
[3] copy_julia_libs(::String, ::Bool) at /home/scott/.julia/packages/PackageCompiler/CJQcs/src/static_julia.jl:372
[4] #static_julia#5(::Nothing, ::Bool, ::Bool, ::Nothing, ::String, ::Nothing, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(static_julia), ::String) at /home/scott/.julia/packages/PackageCompiler/CJQcs/src/static_julia.jl:175
[5] #static_julia at ./none:0 [inlined]
[6] #build_executable#31 at /home/scott/.julia/packages/PackageCompiler/CJQcs/src/api.jl:104 [inlined]
[7] build_executable at /home/scott/.julia/packages/PackageCompiler/CJQcs/src/api.jl:104 [inlined] (repeats 2 times)
[8] top-level scope at util.jl:156
I can't tell if there is some option in the function to do this that I am missing
Metadata
Metadata
Assignees
Labels
No labels