Set Julia binary in install() + add CI test for asysimg script - #17
Set Julia binary in install() + add CI test for asysimg script#17petvana wants to merge 17 commits into
Conversation
|
@curio-sitas Can you please check this PR if it makes sense to you to set the absolute path to Julia binary in |
|
@petvana It seems good to me. This way we are sure to aim the correct directories / julia executable wherever they are landed / installed. We may also propose to add julia bin in the path if it is not the case ? |
|
@curio-sitas Thank you for your time. However, the CI fails on Windows. The problems is that is do not load the sysimage automatically when called with I've already added |
|
I do not now much about batch but there are different ways to parse/format the argument's list. I'll be looking at that tomorow |
|
In this repo, I've used batch files for the very first time. Normally, I use bash. 😀 |
|
Try with this, the @echo off
set JULIA=julia.exe
for /f "tokens=1-4" %%i in ('%JULIA% -e "using AutoSysimages; print(julia_args()); exit()"') do set A=%%i %%j %%k %%l
%JULIA% %* %A%It does work for me, only if there is a Manifest file in the Examples projects ! Before that i had an Error (OhMyREPL missing in the manifest file ...) For example, it does work well with :
For what other arguments do it fail on your side ? |
|
I've updated this PR with #23 to improve the loading time. However, the last CI test still fails on Windows for some reason. AutoSysimages.jl/test/runtests.jl Lines 50 to 51 in fdade3b |
This aims to test
--projectargument forasysimgscript.It is expected to fail on Windows now because of #7.