From nobody Sat Jun 15 09:12:56 2024 X-Original-To: dev-commits-ports-all@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 4W1VmS4kn6z5NQrN; Sat, 15 Jun 2024 09:12:56 +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 4W1VmS3fr4z4m1t; Sat, 15 Jun 2024 09:12:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718442776; 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=KG3Mb2ZUD6gBnXdYnltphln8CCNn1/6KgUiEUH/JMlM=; b=ni11uVvdEpQBAUcfFIUngmzumOs6JyAGB74OPAqNJGi83k/q8b26kJBYp1rZ8wgD1Pef0B 3V7ZeU2GTgrDj2Iw4vV1R9FlQZDP28sRDgY9jcgxsCgL6hcLgUlLtwcHoo2MXqVdxHr/9S EtpRQ8FmfCkw4cJxgKtvi/qp40Vxn0FkrkJ9L/8vv5hc8E5rK83d+7ENUpqmprns2XjiNo /8LosmN/vBUciMyHRncgjiDYEJzkw8dexHvRbE9X65/aE7TcSO75xFxzyE82e7w4kDdlwr AJU9UB0lovN1wuPhaqEWqKkeFZlG5Y05NWOz/TzwemuaxLus38Cjrvtnge97Zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718442776; a=rsa-sha256; cv=none; b=uSpNyDPOPWp9J8aRa0jW+4nw9oQAcQBVRLE6VP3rLzLgp1AlurPRviYYg0/0esnthQ0jw8 r573qP6L7rEOds/ZYJO5z+oiCh6DuqTMm+CM5Hd8wpnl8RFNMTCWchUtW2QK1+4JdxGQls xdmzEKhU+Tm55E3ARo0xzo0LHnvY/DWKa1Mjkm1RPWykOcAE0++mO3Af5bw/D/DzfSPcK6 yT9EQgAvS5dWIPtj2M7vPrhgieb3Dxy1MkqgGOmDRaPEsAxShy9le7BTpyr4BLGDxkXlyJ rFOOIrDf6PDxb2EaGGPldavyHy34rxq2KPYM6XZl/nFn2I9PtG2PON1uA7B/fA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718442776; 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=KG3Mb2ZUD6gBnXdYnltphln8CCNn1/6KgUiEUH/JMlM=; b=FsyZTI7uyi2UPQZothaLXYAEVOB2MXirNfUMufdApMGeR70+23iwMI1XwJfWU2ZQAth2AE BwRto6H5uoOxXt8h9e4g0DQTO+hVpJYnR6MBuTrUKVG87G8hkeVYQoRtJNB4ZkzuJ0Tap/ dpNUztePAEVy9XYzg+PSC1kYG7Xo7WNz52gVPoQi7NMhwBaLS6K8h06rE4slKeZnbXFSPv ErAfPuWPY6U3+OZ8JATUecgGKnuD98EKnA49jOwbkKebZ7C1hSw38Yjj0N47N3uD2HOBSO ZytrcoZ+O3a+xAkrd6eGrtxg84G2n2CGkp9J/7sw76QLRcBDPzCzvDGkO0DBjA== 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 4W1VmS2YcMzyP7; Sat, 15 Jun 2024 09:12:56 +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 45F9Cuwr092277; Sat, 15 Jun 2024 09:12:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45F9CuDC092274; Sat, 15 Jun 2024 09:12:56 GMT (envelope-from git) Date: Sat, 15 Jun 2024 09:12:56 GMT Message-Id: <202406150912.45F9CuDC092274@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 82a62f16e103 - main - misc/py-pytorch: update 2.2.2 =?utf-8?Q?=E2=86=92?= 2.3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82a62f16e10396a5b2ec0d66f6896b556753e5fb Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=82a62f16e10396a5b2ec0d66f6896b556753e5fb commit 82a62f16e10396a5b2ec0d66f6896b556753e5fb Author: Yuri Victorovich AuthorDate: 2024-06-15 07:21:23 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-15 09:12:40 +0000 misc/py-pytorch: update 2.2.2 → 2.3.1 --- misc/py-pytorch/Makefile | 2 +- misc/py-pytorch/distinfo | 6 +++--- misc/py-pytorch/files/patch-CMakeLists.txt | 10 +++++----- .../patch-third__party_cpuinfo_CMakeLists.txt | 22 +++++++++++----------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile index 94ac49a6a5cc..b669c5870d2b 100644 --- a/misc/py-pytorch/Makefile +++ b/misc/py-pytorch/Makefile @@ -1,6 +1,6 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v -DISTVERSION= 2.2.2 +DISTVERSION= 2.3.1 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-pytorch/distinfo b/misc/py-pytorch/distinfo index c60c81127c37..5357ddb84ac4 100644 --- a/misc/py-pytorch/distinfo +++ b/misc/py-pytorch/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1713897033 -SHA256 (pytorch/pytorch-v2.2.2.tar.gz) = 57a1136095bdfe769acb87876dce77212da2c995c61957a67a1f16172d235d17 -SIZE (pytorch/pytorch-v2.2.2.tar.gz) = 288213626 +TIMESTAMP = 1718402293 +SHA256 (pytorch/pytorch-v2.3.1.tar.gz) = 6c66b59345091907cd62a693b647cee224558e7f15a9b04f4f322f4f6ffeb75b +SIZE (pytorch/pytorch-v2.3.1.tar.gz) = 277997681 SHA256 (pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz) = 658acaf67573484abc7a093066d3766f9a3b94aff5b77e0f4e9c72cee5ebaa4a SIZE (pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz) = 3534893 diff --git a/misc/py-pytorch/files/patch-CMakeLists.txt b/misc/py-pytorch/files/patch-CMakeLists.txt index 1dce2402724a..3fddac84c520 100644 --- a/misc/py-pytorch/files/patch-CMakeLists.txt +++ b/misc/py-pytorch/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2024-01-31 00:58:01 UTC +--- CMakeLists.txt.orig 2024-06-05 19:17:56 UTC +++ CMakeLists.txt -@@ -145,7 +145,7 @@ set(CPU_INTEL OFF) +@@ -148,7 +148,7 @@ set(CPU_INTEL OFF) set(CPU_AARCH64 OFF) set(CPU_INTEL OFF) @@ -9,7 +9,7 @@ set(CPU_INTEL ON) elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)") set(CPU_AARCH64 ON) -@@ -170,7 +170,7 @@ option(BUILD_DOCS "Build Caffe2 documentation" OFF) +@@ -173,7 +173,7 @@ option(BUILD_DOCS "Build Caffe2 documentation" OFF) option(ATEN_NO_TEST "Do not build ATen test binaries" OFF) option(BUILD_BINARY "Build C++ binaries" OFF) option(BUILD_DOCS "Build Caffe2 documentation" OFF) @@ -18,7 +18,7 @@ option(BUILD_PYTHON "Build Python binaries" ON) option(BUILD_CAFFE2 "Master flag to build Caffe2" OFF) option(BUILD_LITE_INTERPRETER "Master flag to build Lite Interpreter" OFF) -@@ -224,7 +224,7 @@ option(USE_LEVELDB "Use LEVELDB" OFF) +@@ -226,7 +226,7 @@ option(USE_LEVELDB "Use LEVELDB" OFF) option(USE_GFLAGS "Use GFLAGS" OFF) option(USE_GLOG "Use GLOG" OFF) option(USE_LEVELDB "Use LEVELDB" OFF) @@ -27,7 +27,7 @@ option(USE_LMDB "Use LMDB" OFF) option(USE_MAGMA "Use MAGMA" ON) option(USE_METAL "Use Metal for Caffe2 iOS build" ON) -@@ -405,15 +405,15 @@ option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo +@@ -409,15 +409,15 @@ option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo # USE_SYSTEM_LIBS being "OFF". option(USE_SYSTEM_LIBS "Use all available system-provided libraries." OFF) option(USE_SYSTEM_CPUINFO "Use system-provided cpuinfo." OFF) diff --git a/misc/py-pytorch/files/patch-third__party_cpuinfo_CMakeLists.txt b/misc/py-pytorch/files/patch-third__party_cpuinfo_CMakeLists.txt index 059eaaedadcf..cb63845b4f12 100644 --- a/misc/py-pytorch/files/patch-third__party_cpuinfo_CMakeLists.txt +++ b/misc/py-pytorch/files/patch-third__party_cpuinfo_CMakeLists.txt @@ -1,25 +1,25 @@ ---- third_party/cpuinfo/CMakeLists.txt.orig 2023-10-16 12:32:17 UTC +--- third_party/cpuinfo/CMakeLists.txt.orig 2024-06-05 19:17:57 UTC +++ third_party/cpuinfo/CMakeLists.txt -@@ -77,7 +77,7 @@ IF(NOT CMAKE_SYSTEM_PROCESSOR) +@@ -92,7 +92,7 @@ IF(NOT CMAKE_SYSTEM_PROCESSOR) "cpuinfo will compile, but cpuinfo_initialize() will always fail.") SET(CPUINFO_SUPPORTED_PLATFORM FALSE) ENDIF() --ELSEIF(NOT CPUINFO_TARGET_PROCESSOR MATCHES "^(i[3-6]86|AMD64|x86(_64)?|armv[5-8].*|aarch64|arm64|ARM64)$") -+ELSEIF(NOT CPUINFO_TARGET_PROCESSOR MATCHES "^(i[3-6]86|amd64|x86(_64)?|armv[5-8].*|aarch64|arm64|ARM64)$") +-ELSEIF(NOT CPUINFO_TARGET_PROCESSOR MATCHES "^(i[3-6]86|AMD64|x86(_64)?|armv[5-8].*|aarch64|arm64.*|ARM64.*)$") ++ELSEIF(NOT CPUINFO_TARGET_PROCESSOR MATCHES "^(i[3-6]86|amd64|x86(_64)?|armv[5-8].*|aarch64|arm64.*|ARM64.*)$") MESSAGE(WARNING "Target processor architecture \"${CPUINFO_TARGET_PROCESSOR}\" is not supported in cpuinfo. " "cpuinfo will compile, but cpuinfo_initialize() will always fail.") -@@ -89,7 +89,7 @@ IF(NOT CMAKE_SYSTEM_NAME) +@@ -105,7 +105,7 @@ IF(NOT CMAKE_SYSTEM_NAME) "Target operating system is not specified. " "cpuinfo will compile, but cpuinfo_initialize() will always fail.") SET(CPUINFO_SUPPORTED_PLATFORM FALSE) -ELSEIF(NOT CMAKE_SYSTEM_NAME MATCHES "^(Windows|WindowsStore|CYGWIN|MSYS|Darwin|Linux|Android)$") +ELSEIF(NOT CMAKE_SYSTEM_NAME MATCHES "^(Windows|WindowsStore|CYGWIN|MSYS|Darwin|Linux|FreeBSD|Android)$") - IF(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14" AND NOT CMAKE_SYSTEM_NAME STREQUAL "iOS") + IF(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14" AND NOT IS_APPLE_OS) MESSAGE(WARNING "Target operating system \"${CMAKE_SYSTEM_NAME}\" is not supported in cpuinfo. " -@@ -135,7 +135,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM) - src/cache.c) +@@ -158,7 +158,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM) + SET(CPUINFO_SRCS src/api.c src/cache.c src/init.c src/log.c) IF(CPUINFO_SUPPORTED_PLATFORM) - IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten" AND (CPUINFO_TARGET_PROCESSOR MATCHES "^(i[3-6]86|AMD64|x86(_64)?)$" OR IOS_ARCH MATCHES "^(i386|x86_64)$")) @@ -27,7 +27,7 @@ LIST(APPEND CPUINFO_SRCS src/x86/init.c src/x86/info.c -@@ -341,7 +341,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_MOCK_T +@@ -354,7 +354,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_MOCK_T # ---[ cpuinfo mock library and mock tests IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_MOCK_TESTS) SET(CPUINFO_MOCK_SRCS "${CPUINFO_SRCS}") @@ -36,7 +36,7 @@ LIST(APPEND CPUINFO_MOCK_SRCS src/x86/mockcpuid.c) ENDIF() IF(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android") -@@ -785,7 +785,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_UNIT_T +@@ -798,7 +798,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_UNIT_T ADD_TEST(NAME get-current-test COMMAND get-current-test) ENDIF() @@ -45,7 +45,7 @@ ADD_EXECUTABLE(brand-string-test test/name/brand-string.cc) CPUINFO_TARGET_ENABLE_CXX11(brand-string-test) CPUINFO_TARGET_RUNTIME_LIBRARY(brand-string-test) -@@ -852,7 +852,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_TOOLS) +@@ -865,7 +865,7 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_TOOLS) CPUINFO_TARGET_RUNTIME_LIBRARY(cpuinfo-dump) ENDIF()