Worked around it for now by cherry picking 
 https://github.com/JuliaLang/julia/pull/13713

On Tuesday, December 8, 2015 at 11:33:45 AM UTC+1, Kristoffer Carlsson 
wrote:
>
> Hmm, now it tries to recompile the package even though it is already 
> compiled from the REPL.
>
> On Tuesday, December 8, 2015 at 11:20:39 AM UTC+1, Kristoffer Carlsson 
> wrote:
>>
>> When I inlucde a file in julia from c++ that uses a module that requires 
>> precompilation I get:
>>
>>
>> 11:15 $ test/Materials/vonmises_nonlin_visc.debug/vonmises_nonlin_visc.debug 
>>
>> INFO: Recompiling stale cache file /home/kristoffer/.julia/lib/v0.4/
>> Parameters.ji for module Parameters.
>> LoadError(
>> "/home/kristoffer/Dropbox/PhD/Research/crystplast_deal.ii/src/mises_mixed.jl"
>> ,1,could not spawn `/home/kristoffer/julia0.4/usr/lib/julia -Cnative 
>> -J/home/kristoffer/julia0.4/usr/lib/julia/sys.so --output-ji 
>> /home/kristoffer/.julia/lib/v0.4/Parameters.ji --output-incremental=yes 
>> --startup-file=no --history-file=no --color=no --eval 'while !eof(STDIN)
>>     eval(Main, deserialize(STDIN))
>> end
>> '`: permission denied (EACCES))
>>
>>
>> Does anyone know if this is a bug, not supported or if I can fix it on my 
>> side. It is not that a big deal since I could just precompile from the 
>> REPL, just a minor annoyance
>>
>> // Kristoffer..
>>
>

Reply via email to