From owner-freebsd-ports@freebsd.org Fri Nov 10 07:33:30 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB7F0E67263 for ; Fri, 10 Nov 2017 07:33:30 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D282C69436 for ; Fri, 10 Nov 2017 07:33:30 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: by mailman.ysv.freebsd.org (Postfix) id CE93CE67262; Fri, 10 Nov 2017 07:33:30 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE28CE67261 for ; Fri, 10 Nov 2017 07:33:30 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 817FD69434 for ; Fri, 10 Nov 2017 07:33:29 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from Debian-exim by mx.nsu.ru with local (Exim 4.72) (envelope-from ) id 1eD3Hg-0000Lr-S5 for ports@freebsd.org; Fri, 10 Nov 2017 13:59:24 +0700 Received: from [84.237.50.47] (helo=regency.nsu.ru) by mx.nsu.ru with esmtp (Exim 4.72) (envelope-from ) id 1eD3Hg-0000Lb-Pl; Fri, 10 Nov 2017 13:59:24 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id vAA77roY083016; Fri, 10 Nov 2017 13:07:53 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id vAA77mkU082988; Fri, 10 Nov 2017 14:07:48 +0700 (+07) (envelope-from danfe) Date: Fri, 10 Nov 2017 14:07:48 +0700 From: Alexey Dokuchaev To: brooks@freebsd.org Cc: ports@freebsd.org Subject: RTTI support in devel/llvm40 (and maybe other llvm ports) Message-ID: <20171110070748.GA27570@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 3 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, not scanned, whitelist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 07:33:31 -0000 Hi Brooks, I've just found out that our `devel/llvm40' port comes without -DLLVM_ENABLE_RTTI=ON on the CMAKE_ARGS. This is a regression from e.g. 3.4 times when it was enabled by default. The problem is that RTTI support is required by some consumers, e.g. `graphics/openshadinglanguage' and `graphics/appleseed' (cf. https://github.com/appleseedhq/appleseed/issues/1625), but I cannot enable RTTI in those ports unless I enable it in LLVM port(s) first. The patch is very simple (apart port revision bump): @@ -39,7 +41,7 @@ SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} -CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON +CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON Could you review/commit it, and check if other LLVM ports could also benefit from it? Thanks, ./danfe