Index | Thread | Search

From:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Subject:
Re: spirv-tools: disable -Werror
To:
thfr@openbsd.org, ports@openbsd.org
Date:
Wed, 5 Nov 2025 12:29:19 +0100

Download raw body.

Thread
On Wed, Nov 05, 2025 at 11:06:15AM +0100, Claudio Jeker wrote:
> -Werror is just pain. Every compiler version adds a few new
> things into the mix. Just stop the madness.

Contrary to what landry says I'm no crusader.  But -Werror sucks
indeed.  ok jca@

> Also enable parallel builds by default.

hmmk, no objection if it helps.

> -- 
> :wq Claudio
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/spirv-tools/Makefile,v
> diff -u -p -r1.25 Makefile
> --- Makefile	15 Aug 2025 00:41:00 -0000	1.25
> +++ Makefile	5 Nov 2025 10:04:09 -0000
> @@ -29,7 +29,10 @@ MODPY_RUNDEP =	No
>  
>  BUILD_DEPENDS =	graphics/spirv-headers
>  
> -CONFIGURE_ARGS =	-DSPIRV-Headers_SOURCE_DIR="${LOCALBASE}"
> +DPB_PROPERTIES =	parallel
> +
> +CONFIGURE_ARGS =	-DSPIRV-Headers_SOURCE_DIR="${LOCALBASE}" \
> +			-DSPIRV_WERROR=OFF
>  
>  SUBST_VARS +=	ADDITIONAL_LIBRARIES
>  
> 

-- 
jca