From nobody Tue Mar 25 08:07:18 2025 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 4ZMMw63zw1z5sBs5; Tue, 25 Mar 2025 08:07:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZMMw630QTz3mM9; Tue, 25 Mar 2025 08:07:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742890038; 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=NqrLNK4x6YCoA15XM7BBUV/QUzl/66XnWGndaX/QwNE=; b=Y80JEVEhF/HMLc/kzcJw5xESR0IfbSbqt71M6Q8ibedDOIaT7TgEBATNiOE38K24qJ08Da 1thJpdMRX8s5l/0yQSp8jM79WPgCqH+qTvkWo9t9VfimlVszmblk6gjI2LmTqUzrNs9lhY Bu+/8yM70/i8BGhudxZscwl9k8QJep5vOUQIMF+g6n+jEOAedf0BvoTQUUsrS2GUuizBvF dFKpliyfBxwjOA+1hPIaw4WqT+jnI/K211zKOoiYVR47ILyLs6A4Gf07IXMV9d70+egwr5 Ov8OozuhYJqU1RFACxaGXv0ZLY8pVfFLIjoM7d3f+9P4czNFEoi932ntjeBUGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742890038; a=rsa-sha256; cv=none; b=ACNNwWKb6QDgM6NFDwoOnN/Gp4a24KBd/z2mcvTXxsTHh6E+FCPJwkbi7z7LeHRrpEjGNG lmO6G2u5SpppMdZ+8cMRzuRgLjx2YNovsIBBLLogF/uw1Jf4tt+y//16t4uEQpVSCiYZHl W7MwCtkSq3uuuKLJmMH0AdrV8aEODs4BD3n2ycYXWAI3Zz3tpvy3QfEuJmNH1RFxb4lxfM GeoDPlI6FNrEfGzpBKYMqVlN8oU7F4CsC6IWOPxjZ2zTJHfRLXcUO9RaIV/VNpHdEBNL8D OqEAEG9AFA5NaCFWqrgZ3oGL607EygwuQtXAX5w0ox8QqVwsuVkAWbyI2tjL0A== 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=1742890038; 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=NqrLNK4x6YCoA15XM7BBUV/QUzl/66XnWGndaX/QwNE=; b=Ku3Jp+oFuqTAjN7R0MS0itpjGyoQTAG0mc50GE5DjUYlyeyyXU484zyZKiS606aJ5W5LVa 3uheonrPElQ+vgEsQqiOtFZQLONMops7shwFGsZMttV98yWVc7NurJAqGEtPKj72sl38hq bxLGb0pX1xK/SiBYIxQ54exKdLV/uGmkQAUx35Ew2A8Ti+QjWcTLqMvRSL3Rw1uJVv1zH/ FgZ/J+VgZcCWRzO0SAnwZdgK2dLeX/oa9TSuKeZ8wD7tWeSjGdLDMDXP+UxrUnzpmqaBH2 D7osmYbq5I2OZtxTFrPQ/NFVqCzj9QAOZrY8s0y643kestc8rIsxrXpwIqANyA== 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 4ZMMw62ZtWzYgm; Tue, 25 Mar 2025 08:07:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52P87I9W000396; Tue, 25 Mar 2025 08:07:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52P87I3Q000393; Tue, 25 Mar 2025 08:07:18 GMT (envelope-from git) Date: Tue, 25 Mar 2025 08:07:18 GMT Message-Id: <202503250807.52P87I3Q000393@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: b9773e9a2b84 - main - =?utf-8?Q?misc/{,py-}tvm: update 0.16.0 =E2=86=92 0.19.0?= 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: b9773e9a2b8445658509ac1e5cfc90a1a9978269 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9773e9a2b8445658509ac1e5cfc90a1a9978269 commit b9773e9a2b8445658509ac1e5cfc90a1a9978269 Author: Yuri Victorovich AuthorDate: 2025-03-25 07:26:30 +0000 Commit: Yuri Victorovich CommitDate: 2025-03-25 08:07:14 +0000 misc/{,py-}tvm: update 0.16.0 → 0.19.0 --- misc/py-tvm/Makefile | 2 +- misc/py-tvm/distinfo | 6 +++--- misc/py-tvm/files/patch-python_setup.py | 14 ++++++++++++++ misc/tvm/Makefile | 12 +++++++++--- misc/tvm/distinfo | 6 +++--- misc/tvm/pkg-plist | 23 ++++------------------- 6 files changed, 34 insertions(+), 29 deletions(-) diff --git a/misc/py-tvm/Makefile b/misc/py-tvm/Makefile index cbdd62d70926..997b2ed47686 100644 --- a/misc/py-tvm/Makefile +++ b/misc/py-tvm/Makefile @@ -1,6 +1,6 @@ PORTNAME= tvm DISTVERSIONPREFIX= v -DISTVERSION= 0.16.0 +DISTVERSION= 0.19.0 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-tvm/distinfo b/misc/py-tvm/distinfo index 0ea9afa7e4fb..580026757f88 100644 --- a/misc/py-tvm/distinfo +++ b/misc/py-tvm/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1714375347 -SHA256 (apache-tvm-v0.16.0_GH0.tar.gz) = c58c316882d545a8cf462bf4ee476591a18de984ee77544589e212b2fae2fa60 -SIZE (apache-tvm-v0.16.0_GH0.tar.gz) = 10551522 +TIMESTAMP = 1742876552 +SHA256 (apache-tvm-v0.19.0_GH0.tar.gz) = f70211dd99339123bddd55e9aadd95cecd0c80ecd113655d5d934a0ee431775e +SIZE (apache-tvm-v0.19.0_GH0.tar.gz) = 9946236 SHA256 (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = e88e702277cf4cfa4814afdbb27b07b75041d80b3df60da387cdd7e0ebeb6817 SIZE (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = 76235 SHA256 (dmlc-dmlc-core-09511cf_GH0.tar.gz) = 8b7ba0e19a9f2c5d65d49758ab14631e99c4f501b689842fa6535fc44a05c46f diff --git a/misc/py-tvm/files/patch-python_setup.py b/misc/py-tvm/files/patch-python_setup.py new file mode 100644 index 000000000000..7343e3c31ef2 --- /dev/null +++ b/misc/py-tvm/files/patch-python_setup.py @@ -0,0 +1,14 @@ +- remove bogus paths causing build failure + +--- python/setup.py.orig 2025-03-25 06:05:42 UTC ++++ python/setup.py +@@ -75,9 +75,7 @@ def get_lib_path(): + "web", + "rust", + "golang", +- "include", + "src", +- "cmake", + "CMakeLists.txt", + ]: + for name in lib_path: diff --git a/misc/tvm/Makefile b/misc/tvm/Makefile index 900663d9953a..6d9d5c0bd56f 100644 --- a/misc/tvm/Makefile +++ b/misc/tvm/Makefile @@ -1,16 +1,16 @@ PORTNAME= tvm DISTVERSIONPREFIX= v -DISTVERSION= 0.16.0 +DISTVERSION= 0.19.0 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Deep learning compiler stack for cpu, gpu and specialized accelerators -WWW= https://tvm.ai/ +WWW= https://tvm.ai \ + https://github.com/apache/tvm LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= compilation fails with the latest dmlc-core, see https://github.com/apache/tvm/issues/17116 BROKEN_armv7= comilation fails: error: expected identifier before '__is_convertible' BUILD_DEPENDS= dmlc-core>0:devel/dmlc-core \ @@ -53,4 +53,10 @@ post-install: # remove empty directories post-test: # 1 test fails, see https://github.com/apache/tvm/issues/13131 @cd ${TEST_WRKSRC} && ./cpptest +# tests as of 0.19.0, see https://github.com/apache/tvm/issues/17776: +# [ FAILED ] 3 tests, listed below: +# [ FAILED ] AProfileParser.DefaultSVESupportSVESupport +# [ FAILED ] AProfileParser.DefaultFP16Support +# [ FAILED ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools + .include diff --git a/misc/tvm/distinfo b/misc/tvm/distinfo index e266fd0d07f6..f0d1918f66a1 100644 --- a/misc/tvm/distinfo +++ b/misc/tvm/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1714370551 -SHA256 (apache-tvm-v0.16.0_GH0.tar.gz) = c58c316882d545a8cf462bf4ee476591a18de984ee77544589e212b2fae2fa60 -SIZE (apache-tvm-v0.16.0_GH0.tar.gz) = 10551522 +TIMESTAMP = 1742872845 +SHA256 (apache-tvm-v0.19.0_GH0.tar.gz) = f70211dd99339123bddd55e9aadd95cecd0c80ecd113655d5d934a0ee431775e +SIZE (apache-tvm-v0.19.0_GH0.tar.gz) = 9946236 SHA256 (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = e88e702277cf4cfa4814afdbb27b07b75041d80b3df60da387cdd7e0ebeb6817 SIZE (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = 76235 diff --git a/misc/tvm/pkg-plist b/misc/tvm/pkg-plist index c9ad4f656af0..c5079cb3146b 100644 --- a/misc/tvm/pkg-plist +++ b/misc/tvm/pkg-plist @@ -18,6 +18,7 @@ include/tvm/auto_scheduler/transform_step.h include/tvm/driver/driver_api.h include/tvm/ir/adt.h include/tvm/ir/affine_type.h +include/tvm/ir/analysis.h include/tvm/ir/attrs.h include/tvm/ir/diagnostic.h include/tvm/ir/env_func.h @@ -30,6 +31,7 @@ include/tvm/ir/memory_pools.h include/tvm/ir/module.h include/tvm/ir/name_supply.h include/tvm/ir/op.h +include/tvm/ir/replace_global_vars.h include/tvm/ir/si_builder.h include/tvm/ir/source_map.h include/tvm/ir/tensor_type.h @@ -78,6 +80,7 @@ include/tvm/relax/attrs/manipulate.h include/tvm/relax/attrs/nn.h include/tvm/relax/attrs/op.h include/tvm/relax/attrs/qdq.h +include/tvm/relax/attrs/sampling.h include/tvm/relax/attrs/search.h include/tvm/relax/attrs/sorting.h include/tvm/relax/attrs/statistical.h @@ -147,6 +150,7 @@ include/tvm/runtime/c_runtime_api.h include/tvm/runtime/container/adt.h include/tvm/runtime/container/array.h include/tvm/runtime/container/base.h +include/tvm/runtime/container/boxed_primitive.h include/tvm/runtime/container/closure.h include/tvm/runtime/container/map.h include/tvm/runtime/container/optional.h @@ -155,24 +159,6 @@ include/tvm/runtime/container/string.h include/tvm/runtime/container/variant.h include/tvm/runtime/contrib/libtorch_runtime.h include/tvm/runtime/contrib/papi.h -include/tvm/runtime/crt/aot_executor.h -include/tvm/runtime/crt/aot_executor_module.h -include/tvm/runtime/crt/crt.h -include/tvm/runtime/crt/error_codes.h -include/tvm/runtime/crt/func_registry.h -include/tvm/runtime/crt/graph_executor.h -include/tvm/runtime/crt/graph_executor_module.h -include/tvm/runtime/crt/logging.h -include/tvm/runtime/crt/microtvm_rpc_server.h -include/tvm/runtime/crt/module.h -include/tvm/runtime/crt/packed_func.h -include/tvm/runtime/crt/page_allocator.h -include/tvm/runtime/crt/platform.h -include/tvm/runtime/crt/rpc_common/frame_buffer.h -include/tvm/runtime/crt/rpc_common/framing.h -include/tvm/runtime/crt/rpc_common/session.h -include/tvm/runtime/crt/rpc_common/write_stream.h -include/tvm/runtime/crt/stack_allocator.h include/tvm/runtime/data_type.h include/tvm/runtime/debug.h include/tvm/runtime/device_api.h @@ -187,7 +173,6 @@ include/tvm/runtime/memory/memory_manager.h include/tvm/runtime/metadata.h include/tvm/runtime/metadata_base.h include/tvm/runtime/metadata_types.h -include/tvm/runtime/micro/standalone/microtvm_runtime.h include/tvm/runtime/module.h include/tvm/runtime/name_transforms.h include/tvm/runtime/ndarray.h