From nobody Sat Feb 26 11:40:39 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 865A219E36E8; Sat, 26 Feb 2022 11:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K5Ppb3Pykz4bLJ; Sat, 26 Feb 2022 11:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645875639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uZl1Z5g5J/AxMFJ4022Y+x8jHhNaTslv/xAQmKdFyoU=; b=wvB2d6F+eMI3kth+75gpoq/6ov4MMLdLAg8jy1c709WRiJUQURPnsMuF48nCcjBk+o5P69 12s0SveioRQTJhJsWLO7wI3goeyKGvEBm6p3lj0wJyU31248l4XWgOhyog0p6Jlimi4PbN smvXxZElgl17FlR1aaaiCgB1L/yTX1s/8UosJcaIYtwYg7WC5Kyp1TCh224+CZ1uoeCf51 mpMO2SPEu4VQz3z0s45TIuZCPhQ8QllFsiVZydIGu8ATqqwJDgrNz2OAR711GFF6goByCk FtjrvyrVHUs8w6Ymg4d245/76dDb14qEw+tZ8Zj8zuu3c3MYWbMrZFuYkkpy0Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5585E1318B; Sat, 26 Feb 2022 11:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21QBedip096150; Sat, 26 Feb 2022 11:40:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21QBed6A096149; Sat, 26 Feb 2022 11:40:39 GMT (envelope-from git) Date: Sat, 26 Feb 2022 11:40:39 GMT Message-Id: <202202261140.21QBed6A096149@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 933b3657a19b - main - lang/libobjc2: fix build on powerpc* and riscv64* List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 933b3657a19b82e82077d7bffd61cae09f92124c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645875639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uZl1Z5g5J/AxMFJ4022Y+x8jHhNaTslv/xAQmKdFyoU=; b=CvgjBbaKxDMfVUwjWlaffy9YFtxnBmnP1VFKeLA58Vi1i+G6wFjcBZWTpypWJ5UFaEufdK S1ixQd9VVeoQOD5MaG6V+dlDJEzc0H55r7L6+1wNgXMH4N5oUmUHrOMirLZCFOgatyfCGL 1jrJPxa4dQR+JfJzkK+NRGbUxnOdqbZKZd3q9w15W1kM4fHNwmCruZPRV8DeFUPnpSJuM4 rsXDpeSpFzR/Ky9yuKdbbhTIIw4kq/Fs0vrSHJVR1Al+iWsGgC+zPLt7+ES6gQoXRKAa6z uZBzaMwkYr2CRsOlVpGCJ3gBxFSjCjCEsH+bqHHG59DH++3bJGGw5NszouZJvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645875639; a=rsa-sha256; cv=none; b=m0wZ52JdPGVXJrrFHMg7i8l22UBohsGZIAsOYmdBU+QEtn4CDASTWucwBJCUZCenFhjXF8 FORlzVpL+tsVjBnFc+4de8uEwr/rkNNUkiS1Yo3gWL71Ez3sFdrdXXBNEJvvlVs4jerRnR 8mmksMHtS3ioSlI6C2ELaMf5oEux0UlB27CmzbUAJuc4f1viXtqGdMu6OZ91Cjjo2C/pJQ 54hHigmyXX2aGqbapzOgrorRTDg/ppsuJ573pQP67GqIVFeVolP1/g0zxoygINs6MQ4HpB +72esRKHS5KAM/u04WuDgg23TcegLIUQ7V2hLGq0oodAZhd6dQ4PLEI/5nM2nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=933b3657a19b82e82077d7bffd61cae09f92124c commit 933b3657a19b82e82077d7bffd61cae09f92124c Author: Piotr Kubaj AuthorDate: 2022-02-26 11:35:56 +0000 Commit: Piotr Kubaj CommitDate: 2022-02-26 11:35:56 +0000 lang/libobjc2: fix build on powerpc* and riscv64* Skip building tests on architectures that don't have assembly. --- lang/libobjc2/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile index de7744251c25..9f92390681f5 100644 --- a/lang/libobjc2/Makefile +++ b/lang/libobjc2/Makefile @@ -12,7 +12,6 @@ COMMENT= Replacement Objective-C runtime supporting modern Objective-C features LICENSE= MIT BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly -BROKEN_riscv64= Does not link on riscv64: undefined symbol: objc_msgSend USES= cmake compiler objc:compiler @@ -38,6 +37,10 @@ SHLIB_MINOR= 6 .include +.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} +CMAKE_ARGS+= -DTESTS:BOOL=OFF +.endif + .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -stdlib=libstdc++ .endif