Issue while using PackageCompiler -

Hi Guys,
I am trying to use PackageCompiler to create sys image of certain packages, so that the compile time is saved everytime I enter the project. the creation and usage of .so is successful as long as I am using the .so in my machine.
Problem arises if I port it to some other user.

Problem statement:
Its a complex framework we have developed with Julia.
And the Base.active_project() - contains the Project.toml path which is part of a git repo.
- each user needs to extract this repo under their user name.
- so the repo path contains “username” in it.
ex: /repo/user1/framework/julia/
I am unable to change the active project path as if I change it, the dependencies would lose its path.

Now, when I create the sysimage - all the dependent libraries path is having a reference to my user name.
If I want to port this .so to someother user, it cribs, because in their user repo path, its still looking for my username.

Could you please share some light on how to make it portable - to avoid dependencies with the pathname in the .so

Hello James,

Thanks for the response.
as of now, in my framework, the ENV[“JULIA_DEPOT_PATH”] - this is the git repo path which will have the username for each user who clones the git repo

and the Base.active_project() - This has the Project.toml file path - this as well contains the similar git repo path.

Both of these paths are not modifiable as it tightly coupled with lot of dependent project files.

The framework is setup in a such way.
could you please be bit more specific is there any way I can try something different?

In this forum similar issue has been discussed! Not sure if a solution is available though.