From owner-freebsd-ports@freebsd.org Fri Dec 4 23:33:27 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E87E4AF22B for ; Fri, 4 Dec 2020 23:33:27 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnptH3C7hz4RXm; Fri, 4 Dec 2020 23:33:27 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1607124807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T7Z+GAVtBkv3lGCGgDbMjnp1Jp0gmFtci5ZjleUpVsI=; b=YoH+X4Ro10IBD1APa+M5UVFa902DWHjjA125t+DYht+k4dExbVCoE4hlowoKzLx0cyIzN+ jBKSpMEGyPgovJJPmpzYrAzee4ca2siZlGRoSwp1b1hzPSmU45bjXAcfLHX9mVRZyIz4VE K73RPfubFQENoRKr/++vBRGQSeg6SV2GobdYzekRBroatXWlsWka0p6Rjv2ClBH5AkTCmA 8VtZEHmvu9S2gcc3fM46+Tnx+j3qkXDWfh7YE0fCIK29nVpJpCX4460gFGkdna6Au98/Uu oCwtFKuiFCWAdRpQ5O10MMfMYpNnVFdsYg4N0flEF4ID8t8Yynu3bh5uOc/X+g== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 58BCBE98A; Fri, 4 Dec 2020 23:33:27 +0000 (UTC) From: Jan Beich To: Steve Kargl Cc: freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS+=llvm=90 ignored? References: <20201204203507.GA8573@troutmask.apl.washington.edu> <20201204225943.GA9439@troutmask.apl.washington.edu> Date: Sat, 05 Dec 2020 00:33:20 +0100 In-Reply-To: <20201204225943.GA9439@troutmask.apl.washington.edu> (Steve Kargl's message of "Fri, 4 Dec 2020 14:59:43 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1607124807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T7Z+GAVtBkv3lGCGgDbMjnp1Jp0gmFtci5ZjleUpVsI=; b=t0nI/LLvmtrOMt+Uh30EJScME1uCSKj6fKIaM52hB9ikv0S+afhOTsbY3iywW/pqwLyVUp LHHpoh6Jaqa3Xol+OGWp1kYOU0aI7jxx/iaa5bZmyUDNzPUrRGl5dBw7FloXls0yyeiOwm nxwoPbR9WJVzVUIwbxGK2RYFEPBoOlHkk3E0XNQ3XCaLsXerSSKh/3q+GOjjkgL/GVDM0Y DYOsvj/v1zhTtZvtpmIRZ7SJPwXohDrDIYOnkf1Xa5QvwvhIGeNgC8zBW3gv7wzCF9N8Tg U1vbxhd0wCgOczlE/x/0v42PfrhfM1O8y5Qu+8E9Ya8+PMKqGjDlFy2mM+mB0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1607124807; a=rsa-sha256; cv=none; b=h3Gh78zfBrCmmhxTiB5BhQbjL9RatovvfqJLgiPM0WqL2WOqAv+BE4xn8Qn666/lrRlmPd gRj74wyWKK31YDn8JDv91/DigWsU2ukF2gL5/XGisEhesxrxNdlGsPw7ggKw9JPsXlW2Hj /FPWyohwe5/62VX1ZmNQuXPJdHZIKJOb0+fpijeIJV/yVe8rJx/UDFHT9m/UVy3UjSC6lw ZDvKcDmGfl9JqvX/8RYbTT1rL3C1a351ejIr51wf3Jmggnlx/af5ubAkDjgsceYuizxkTI L2twPY93D8V6Aa9SJksuC/6sHY4xhKvvGtWyKiKzPilpxd+ENzAUZxYogzJCSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 23:33:27 -0000 Steve Kargl writes: > On Fri, Dec 04, 2020 at 11:41:41PM +0100, Jan Beich wrote: >> devel/llvm10 is pinned by graphics/mesa-* likely to reduce QA after a >> fiasco in bug 239682. Trying to unpin in bug 250869 was rejected. >> >> graphics/mesa-dri/Makefile.common: >> LLVM_DEFAULT= 10 > > Well, I guess that pretty much kills LLVM_DEFAULT for any > modern hardware (even a 8 year old laptop) that uses drm > unless a user wants base-system llvm, llvm90, and llvm10 > installed. One will certainly be able to compile any > c/c++ thrown ones way. ports/ started as a collection of hacks, so just hack mesa* to override LLVM_DEFAULT or switch to DEFAULT_VERSIONS+=llvm=10. Otherwise, use binary packages for heavy dependencies. I think, only AMD GPUs need LLVM support in Mesa. graphics/mesa-dri is not flexible enough to choose which drivers to build. In graphics/mesa-devel it's possible to disable AMD drivers and LLVM support. For example, "iris" driver works fine on Intel HD530 (Skylake) with LLVM disabled.