pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cyclone: update to cyclone-0.32.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon Aug 23 16:01:06 2021 +0200
Changeset:	c20c9921cc66821f35e1e7f415bd4fc38cbf640e

Modified Files:
	cyclone/Makefile
	cyclone/distinfo
	cyclone/patches/patch-Makefile.config

Log Message:
cyclone: update to cyclone-0.32.0

Released Cyclone Scheme 0.32.0

August 16th, 2021

Features

  * Initiate major garbage collections faster after allocating a huge
    object (larger than 500K). This allows the system to reclaim the
    memory faster and keep overall memory usage low for certain workloads.
  * Cyclone will no longer memoize pure functions by default.
  * Added build option CYC_PTHREAD_SET_STACK_SIZE to allow Cyclone to
    specify a thread stack size rather than using the OS default.
    EG:

       make CYC_PTHREAD_SET_STACK_SIZE=1 libcyclone.a

Bug Fixes

  * @nmeum fixed (scheme repl) to flush the output port prior to
    writing the prompt, guaranteeing the prompt is written at the
    correct time.
  * Fixed fxbit-set? to properly handle negative values of i.
  * Avoid unnecessary renaming of identifiers when the interpreter
    performs macro expansion.
  * When allocating a large vector we now guarantee all vector
    elements are initialized before the major collector can trace
    those elements. This avoids the potential for a race condition
    which could lead to a segmentation fault.
  * Ensure atomic objects are properly traced by the major garbage
    collector.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c20c9921cc66821f35e1e7f415bd4fc38cbf640e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cyclone/Makefile                      |  2 +-
 cyclone/distinfo                      | 10 +++++-----
 cyclone/patches/patch-Makefile.config | 31 +++++--------------------------
 3 files changed, 11 insertions(+), 32 deletions(-)

diffs:
diff --git a/cyclone/Makefile b/cyclone/Makefile
index 30dfc540de..3ae813bf18 100644
--- a/cyclone/Makefile
+++ b/cyclone/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	cyclone-bootstrap
-GITHUB_TAG=	v0.31.0
+GITHUB_TAG=	v0.32.0
 DISTNAME=	${GITHUB_TAG}
 PKGNAME=	cyclone-${DISTNAME:S,^v,,}
 CATEGORIES=	lang
diff --git a/cyclone/distinfo b/cyclone/distinfo
index 54b8a12208..0cebd7e8a6 100644
--- a/cyclone/distinfo
+++ b/cyclone/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (cyclone-bootstrap/v0.31.0.tar.gz) = a344fcca3f7bf13677ac6e10938c8ee13bd31693
-RMD160 (cyclone-bootstrap/v0.31.0.tar.gz) = 56db61377d53e314cb15a871a57f8e1798a6a678
-SHA512 (cyclone-bootstrap/v0.31.0.tar.gz) = f0a5d7c6890183ccab65028f43be2080dcf7d44b80a254f176ffa034c04a2701266febbc3f91072e58175bc84eb86a839dab1dbb3674868128ef3d8e650c91c9
-Size (cyclone-bootstrap/v0.31.0.tar.gz) = 3936909 bytes
+SHA1 (cyclone-bootstrap/v0.32.0.tar.gz) = fb7d11b933185612dbb70b92e652aebab2a2504a
+RMD160 (cyclone-bootstrap/v0.32.0.tar.gz) = ff03a0fa4e27749d36c2d82e41d5c79944f030fc
+SHA512 (cyclone-bootstrap/v0.32.0.tar.gz) = 9a2c24f667e148fc87c6a87eed5c96ddab7e47f804fe1d725a1d13411dd66acc910c0ab138f34c0eb57c7c496ed0f4d9ff33bd71f750b08eeed60664cccfa056
+Size (cyclone-bootstrap/v0.32.0.tar.gz) = 3936913 bytes
 SHA1 (patch-Makefile) = 3b1405ff54738ac53808f1f4e2e2a8d3f458f75d
-SHA1 (patch-Makefile.config) = b5f857305be64f8c05c04449bf5125746e44eb51
+SHA1 (patch-Makefile.config) = 30e817749f9915590c37239614e179e61d3b7130
diff --git a/cyclone/patches/patch-Makefile.config b/cyclone/patches/patch-Makefile.config
index 9502297767..37e15b98ed 100644
--- a/cyclone/patches/patch-Makefile.config
+++ b/cyclone/patches/patch-Makefile.config
@@ -1,15 +1,12 @@
 $NetBSD$
 
-1) Don't let CFLAGS and LDFLAGS override search paths
-   for the local part of the build.
+1) Set the RPATH when creating executables and shared libraries.
 
-2) Set the RPATH when creating executables and shared libraries.
+2) Use pkgsrc libtommath instead of cyclone libtommath (cyclonebn).
 
-3) Use pkgsrc libtommath instead of cyclone libtommath (cyclonebn).
-
---- Makefile.config.orig	2020-02-10 21:34:59.000000000 +0000
+--- Makefile.config.orig	2021-08-17 01:36:53.000000000 +0000
 +++ Makefile.config
-@@ -16,14 +16,16 @@ CYC_GCC_OPT_FLAGS ?= -O2
+@@ -21,8 +21,8 @@ CYC_PTHREAD_SET_STACK_SIZE ?=
  OS = $(shell uname)
  CC ?= cc
  
@@ -20,25 +17,7 @@ $NetBSD$
  # libdl is part of libc on FreeBSD
  LIBS += -ldl
  endif
- 
- # Compiler options
- CFLAGS       ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Wno-shift-negative-value -Wno-unused-command-line-argument -Iinclude
-+CFLAGS       ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS)
-+CFLAGS       += -fPIC -Wall -Wno-shift-negative-value -Wno-unused-command-line-argument -Iinclude
- BASE_CFLAGS  ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Wno-shift-negative-value -Wno-unused-command-line-argument -I$(PREFIX)/include
- # Used by Cyclone to compile programs, no need for PIC there
- BASE_PROG_CFLAGS  ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -Wall -I$(PREFIX)/include
-@@ -40,7 +42,8 @@ endif
- #CFLAGS = -g -pg -Wall
- 
- # Linker options
--LDFLAGS ?= -L. $(CYC_PROFILING)
-+LDFLAGS ?= $(CYC_PROFILING)
-+LDFLAGS += -L.
- LIBRARY_OUTPUT_FILE = libcyclone.a
- ifeq ($(OS),Darwin)
- LDFLAGS     += -Wl,-undefined -Wl,dynamic_lookup
-@@ -64,9 +67,9 @@ endif
+@@ -69,9 +69,9 @@ endif
  
  # Commands "baked into" cyclone for invoking the C compiler
  CC_PROG ?= "$(CC) ~src-file~ $(COMP_PROG_CFLAGS) -c -o ~exec-file~.o"


Home | Main Index | Thread Index | Old Index