Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
python things running out of memory with llvm 19
To:
ports@openbsd.org
Cc:
stu@spacehopper.org
Date:
Wed, 11 Jun 2025 11:26:12 +0200

Download raw body.

Thread
I still have this diff in my ports tree. We need to fix this one way or
the other. I seem to remember that sthen didn't like this diff and had
different plans, but I'm not sure what those were.

Index: devel/py-uvloop/Makefile
===================================================================
RCS file: /cvs/ports/devel/py-uvloop/Makefile,v
diff -u -p -r1.4 Makefile
--- devel/py-uvloop/Makefile	29 Apr 2025 10:38:21 -0000	1.4
+++ devel/py-uvloop/Makefile	29 Apr 2025 11:12:19 -0000
@@ -18,7 +18,7 @@ MODPY_PI =		Yes
 MODULES =		lang/python
 WANTLIB +=		pthread uv
 
-CFLAGS =		-I${LOCALBASE}/include
+CFLAGS =		-I${LOCALBASE}/include -g1
 LDFLAGS =		-L${LOCALBASE}/lib
 
 BUILD_DEPENDS =		lang/cython
Index: lang/cython/Makefile
===================================================================
RCS file: /cvs/ports/lang/cython/Makefile,v
diff -u -p -r1.74 Makefile
--- lang/cython/Makefile	29 Apr 2025 10:38:37 -0000	1.74
+++ lang/cython/Makefile	29 Apr 2025 11:13:16 -0000
@@ -19,6 +19,8 @@ MODULES=	lang/python
 MODPY_PYBUILD=	setuptools
 MODPY_PI=	Yes
 
+CFLAGS=		-g1
+
 TEST_DEPENDS=	math/py-numpy
 
 PORTHOME=	${WRKDIR}
Index: textproc/py-lxml/Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-lxml/Makefile,v
diff -u -p -r1.60 Makefile
--- textproc/py-lxml/Makefile	29 Apr 2025 10:40:14 -0000	1.60
+++ textproc/py-lxml/Makefile	29 Apr 2025 11:13:19 -0000
@@ -21,6 +21,8 @@ MODULES=	lang/python
 MODPY_PYBUILD=	setuptools
 MODPY_PI=	Yes
 
+CFLAGS=		-g1
+
 BUILD_DEPENDS=	lang/cython
 LIB_DEPENDS=	textproc/libxslt
 TEST_DEPENDS=	textproc/py-cssselect