JuliaLang / JuliaLang/PackageCompiler.jl

Make `create_library` work with Distributed

Open
#576 0 comments 2 reactions 0 assignees View on GitHub
feature request
Dominant language
Julia
Stars
1.6k
Forks
205
Avg merge
18h 37m
Merged PRs (30d)
7

Description

In order to use Distributed, the Julia session needs to start new Julia processes with some "special properties". Those Julia processes also need access to the Project.toml file so they can look up the UUID for packages that they are going to load in their session.

This is now fixed for `create_app` in https://github.com/JuliaLang/PackageCompiler.jl/pull/572 by bundling the Julia executable that comes with the Julia installation and also bundling the Project.toml that is used for the app. Something similar needs to be done for `create_library`.

Any thoughts @kmsquire?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the `create_app` implementation and pull request 572 with the `create_library` path. Trace how the Julia executable and Project.toml are bundled, then verify that Distributed-launched Julia processes can access the required project information and start with the needed special properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
build-system, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.