From nobody Fri Aug 18 21:02:34 2023 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 4RSDpf6xdyz4r5Yd; Fri, 18 Aug 2023 21:02:34 +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 4RSDpf6FqFz4X1j; Fri, 18 Aug 2023 21:02:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692392554; 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=04ZfAntxkdI2sy0incK+M+55tljm+vzFYsalsSYcXzQ=; b=Q2869StWOIuaxImtDuzcJszmDFibAZjSVZmQfW5E0vbrhFinI/Wzy5rNFtaI4MjnKUo0iM 5HQhMQjWDUMF27cT6TAZuP+MBspFWuhClU60MCVHRBUlJBAnVKlRcKCAavP1YTyIZaa29t Q4YF/OLqxBafzV3Yp0ZkN9hBSc6Z+RKSdhMvVY+GFWf8UknOhS9qig90S0XVmRE7OGnl9L 2jG7XzjHIDtBlBmMOOIWvsMrZI/WZI9CJmFhxgbx1ZjmzudFEmhapySJTONf4KAlYPbx60 I4J2zu9hbYseNrRav6UF6o4Tq5gOuGjAMC32G5MsDUMCvifUgcZZSw8WLfcwQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692392554; 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=04ZfAntxkdI2sy0incK+M+55tljm+vzFYsalsSYcXzQ=; b=QDeAIC2pAi6JwmqRIZRNRhTmUs+JPSwcnIBnht11MDKyqvsBjh3+CCS7pxMjL7smQSh+XS I9tLM/JHBDdNJHunDvq/+QXS9CDgbDIZWYX83chKPMBIp1HmlNewdwUl+v/q7JxNV5hmk/ 233e7Tb7IpwsdV6ZZdbRcLISgytod3kAtRs9wng/jq2UWtHcvL364KkGKmC3Q/826byXKO gCGIOKKCGxRqQe81j1cuclG+64bVDJpPfApUw1PHvEsmvhClTVEzzaLm5I9MxmeInPm8Kb jtuw4jZRnG6xumQRZh0yaKc8sAPFYAmJ2OhxNJnJeeeOyK01DgDelBGvAjwYfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692392554; a=rsa-sha256; cv=none; b=Ut4/dAz7gas5JPA/pBwnKXJq9sAPHXl8vAS1b5kv0p6um0CAYAoZHchQEMnibozaByo0gZ ayfSzeLd09ChuQ4sEJ2Hcvye5EhYmO7yfpWaQtOEvbb+yCxDoUzHKIWmyab+fY/MC53hVX YAAI14HkoF3CVIGLuV+TCqerABevcmlBM437HmtqVmbFLMmsAjZjzCinQ9CKqcBv4iJbyo xw0KjyJOczyIq8jglV/FuQToQH6uitjTmJuK6LSk3PGPlJlq1oSlpdr+IMpTv6Ce+itkPW VTkxovueqcYl6Ljd7dmwVbJ6SJZnl9oC1SbYT8FUH8MfKn6Sy9QSg/iKACAGvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RSDpf5KR8zXDw; Fri, 18 Aug 2023 21:02:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37IL2YvU000985; Fri, 18 Aug 2023 21:02:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37IL2Y4x000982; Fri, 18 Aug 2023 21:02:34 GMT (envelope-from git) Date: Fri, 18 Aug 2023 21:02:34 GMT Message-Id: <202308182102.37IL2Y4x000982@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 0361482504ed - main - multimedia/aom: unbreak build on aarch64 after f0f115af84c3 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0361482504edbe2a85a8afb65de4b1d3ad8ca4c4 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0361482504edbe2a85a8afb65de4b1d3ad8ca4c4 commit 0361482504edbe2a85a8afb65de4b1d3ad8ca4c4 Author: Jan Beich AuthorDate: 2023-08-18 12:26:08 +0000 Commit: Jan Beich CommitDate: 2023-08-18 20:58:33 +0000 multimedia/aom: unbreak build on aarch64 after f0f115af84c3 CMake Error at build/cmake/aom_configure.cmake:212 (enable_language): The CMAKE_ASM_COMPILER: as is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Reported by: eduardo --- .../files/patch-build_cmake_aom__configure.cmake | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake index 20add2621400..2096d95fa6dd 100644 --- a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake +++ b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake @@ -1,4 +1,5 @@ - FreeBSD and NetBSD powerpc* targets don't abbreviate to ppc* +- ARM uses compiler intrinsics, so don't require GNU as --- build/cmake/aom_configure.cmake.orig 2023-08-14 21:22:47 UTC +++ build/cmake/aom_configure.cmake @@ -11,3 +12,37 @@ set(AOM_TARGET_CPU "ppc") else() message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not " +@@ -183,33 +183,6 @@ if(AOM_TARGET_CPU STREQUAL "x86" OR AOM_TARGET_CPU STR + "To build without optimizations, add -DAOM_TARGET_CPU=generic to " + "your cmake command line.") + endif() +- string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS) +-elseif(AOM_TARGET_CPU MATCHES "arm") +- if(AOM_TARGET_SYSTEM STREQUAL "Darwin") +- set(CMAKE_ASM_COMPILER as) +- set(AOM_AS_FLAGS -arch ${AOM_TARGET_CPU} -isysroot ${CMAKE_OSX_SYSROOT}) +- elseif(AOM_TARGET_SYSTEM STREQUAL "Windows") +- if(NOT CMAKE_ASM_COMPILER) +- set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER} -c -mimplicit-it=always) +- endif() +- else() +- if(NOT CMAKE_ASM_COMPILER) +- set(CMAKE_ASM_COMPILER as) +- endif() +- endif() +- include(CheckLanguage) +- check_language(ASM) +- if(NOT CMAKE_ASM_COMPILER) +- message( +- FATAL_ERROR +- "Unable to find assembler and optimizations are enabled." +- "Searched for ${CMAKE_ASM_COMPILER}. Install it, add it to your path," +- "or set the assembler directly by adding " +- "-DCMAKE_ASM_COMPILER= to your CMake command line." +- "To build without optimizations, add -DAOM_TARGET_CPU=generic to your " +- "cmake command line.") +- endif() +- enable_language(ASM) + string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS) + endif() +