Skip to content

Commit

Permalink
gh-35743: gc: update to 8.2.4
Browse files Browse the repository at this point in the history
    
### 📚 Description

Update gc package to the latest stable upstream release.

More details:
* Remove --enable-shared --disable-static from configure options.
* Remove -DUSE_MMAP -DUSE_MUNMAP from CFLAGS.
* Update license and upstream contact info.

<!-- Please provide a concise, informative and self-explanatory title.
-->
<!-- Don't put issue numbers in the title. Put it in the Description
below. -->
<!-- For example, instead of "Fixes #12345", use "Add a new method to
multiply two integers" -->

<!-- Describe your changes here in detail. -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes #12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x
]`. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- #12345: short description why this is a dependency
- #34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: #35743
Reported by: Ivan Maidanski
Reviewer(s):
  • Loading branch information
Release Manager committed Aug 26, 2023
2 parents 7b97cfd + b3d534d commit 66ee0ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
15 changes: 7 additions & 8 deletions build/pkgs/gc/SPKG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,24 @@ Description

The Boehm-Demers-Weiser conservative garbage collector.


License
-------

- Permissive BSD + GPL 2.0+
- MIT-style (https://github.com/ivmai/bdwgc/blob/master/LICENSE)


Upstream Contact
----------------

Webpage: http://www.hboehm.info/gc/
- Ivan Maidanski

Webpage:
- https://github.com/ivmai/bdwgc/
- https://www.hboehm.info/gc/

Email List: bdwgc@lists.opendylan.org

Special Update/Build Instructions
---------------------------------

None.

Patches
~~~~~~~

- cygwin64.patch: let libgc build on Cygwin64.
6 changes: 3 additions & 3 deletions build/pkgs/gc/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=gc-VERSION.tar.gz
sha1=4b8b24534f469b64ff4bc2332a9bdf8bef8bf1d4
md5=67a5093e2f9f381bd550aa891d00b54b
cksum=121524068
sha1=41c88cbc4bc9bf76e1a95a1500ea5b0360bc4f55
md5=8901a6ed29ac35842420054772ea3441
cksum=4201205407
upstream_url=https://github.com/ivmai/bdwgc/releases/download/vVERSION/gc-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/gc/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.0.4
8.2.4
4 changes: 1 addition & 3 deletions build/pkgs/gc/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ GC_CONFIGURE="--enable-large-config"

if [ "$UNAME" = "CYGWIN" ]; then
# See https://github.com/sagemath/sage/issues/22694
GC_CONFIGURE="$GC_CONFIGURE --enable-threads=posix --enable-handle-fork --enable-shared --disable-static"
# Force use of mmap on Cygwin https://github.com/sagemath/sage/issues/23973
export CFLAGS="$CFLAGS -DUSE_MMAP -DUSE_MUNMAP"
GC_CONFIGURE="$GC_CONFIGURE --enable-threads=posix --enable-handle-fork"
fi

sdh_configure $GC_CONFIGURE
Expand Down

0 comments on commit 66ee0ca

Please sign in to comment.