Macaulay2 / Macaulay2/M2

installing packages in parallel

Open
#187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build issue Documentation
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Installing a package involves using "install-info" to update the "dir" file, but we are
running "make" in parallel in the packages directory, so sometimes one instance of
install-info will interfere with another. For example, if install-info detects that "dir" is
an empty file, it quits and returns an error code of 1, terminating the build.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the packages directory by reproducing the failure with make running in parallel and observe concurrent install-info updates to the dir file. Trace how parallel invocations interact; done means parallel package installation completes without install-info errors.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.