Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gha show cygwin info tmp #11

Open
wants to merge 123 commits into
base: master
Choose a base branch
from
Open

Conversation

kit-ty-kate
Copy link
Owner

Please update master_changes.md file with your changes.

gridbugs and others added 30 commits November 27, 2024 16:41
The documentation for variables says that for boolean variables the form
`name1+name2+name3:var` is equivalent to
`name1:var & name2:var & name3:var` but it's possible to write
`name1+name2:enable` despite `enable` being the string "enable" or
"disable". This change clarifies that `enable` isn't really a variable
but syntactic sugar instead.
In ocaml#5376, @dra27 suggested running `Gc.compact` when the main
process is waiting for the children processes for the first time.

> what I was thinking here was that possibly at the point where opamProcess first is going to wait
> for the completion of running jobs, we could add a Gc.compact?

In my local running on `opam install ppxlib`, "GC compact" ran in the middle of parallel processing
of actions.

```
The following actions will be performed:
=== install 1 package
  ∗ ppxlib 0.28.0
00:07.216  XSYS                            Adding to env { LC_ALL=C }
00:09.099  STATE                           depexts loaded in 1.883s
00:09.100  SOLUTION                        parallel_apply
00:09.100  SOLUTION                        Regroup shared source packages: {}

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
00:09.106  PARALLEL                        Iterate over 3 task(s) with 11 process(es)
00:09.106  PARALLEL                        Starting job 444950918 (worker -/11 -/1 1/3): ⬇ ppxlib.0.28.0
00:09.106  SOLUTION                        Fetching sources for ppxlib.0.28.0
00:09.106  ACTION                          download_package: ppxlib.0.28.0
00:09.106  SYSTEM                          rmdir /Users/scho/.opam/4.14.0/.opam-switch/sources/ppxlib.0.28.0
00:09.109  SYSTEM                          mkdir /var/folders/gx/6809fgsd3nndyyf69y3h12_h0000gn/T/opam-14220-67d907
00:09.110  PARALLEL                        Next task in job 444950918: /usr/bin/tar xfj /Users/scho/.opam/download-cache/sha256/d8/d87ae5f9a081206308ca964809b50a66aeb8e83d254801e8b9675448b60cf377 -C /var/folders/gx/6809fgsd3nndyyf69y3h12_h0000gn/T/opam-14220-67d907
00:09.619  PARALLEL                        GC compact (heap 490 MB -> 328 MB)
00:09.619  PARALLEL                        Collected task for job 444950918 (ret:0)
00:10.158  SYSTEM                          rmdir /var/folders/gx/6809fgsd3nndyyf69y3h12_h0000gn/T/opam-14220-67d907
⬇ retrieved ppxlib.0.28.0  (cached)
00:10.321  PARALLEL                        Job 444950918 finished
```

Similar to ocaml#5376, this PR enabled my 1GB-RAM machine to install `ppxlib` or `js_of_ocaml` without OOM.
Clarify documentation for `enable` pseudo-variable
Run garbage collection once when the main process is waiting for
Make it so pin list display the current revision of the pinned repo
Fix a typo in a documentation string
Manual: add information when flags (avoid-version, deprecated) were introduced
Use a C stub to call the uname function from the C standard library instead of calling the uname POSIX command
Run shellcheck on shell/install.sh and make it pass, add a CI job to check next changes
…tiple-args

Fix opam switch list-available when given several arguments
kit-ty-kate and others added 29 commits January 23, 2025 15:28
explicitly connect /dev/tty. Allows running via sh
GHA: Add OCaml 5.3 to the build matrix
GHA: Make sure opam init works in the absence of OPAMROOT
Add an explanation of how plugins work to the manual
Don't ask confirmation when pinning a new package
…sion

Make sure download.test does not fail due to a checksum collision in the download cache
opam upgrade: Do not show the not-up-to-date message with packages tagged with avoid-version
Add the OPAMSOLVERTOLERANCE environment variable to allow users to fix solver timeouts for good
…question-twice

Do not ask to install pin-depends twice
reftest: add pin depends special case test
Regression introduced in 4db0c13, which is
dedicated to a different case (functionality of this patch is preserved)
Fix regression on 'opam upgrade <package>' upgrading unrelated things
Do not pre-write the answer to questions with the default anwser
This is useful in case of a known Cygwin bug so we know if we need to clear the cache or not
@kit-ty-kate kit-ty-kate force-pushed the gha-show-cygwin-info-tmp branch from fbf5272 to 4a58953 Compare February 11, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.