[llvm-branch-commits] [llvm] release/18.x: [lit][ci] Publish lit wheels (#88072) (PR #88155)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 9 10:08:15 PDT 2024


https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/88155

Backport 8a8ab8f70cbb5507d1aa55efcd9c6e61ad4e891c

Requested by: @seldridge

>From 4e7b0b41a2688800aad36afbefa72575c95e3214 Mon Sep 17 00:00:00 2001
From: Schuyler Eldridge <schuyler.eldridge at sifive.com>
Date: Tue, 9 Apr 2024 11:55:17 -0400
Subject: [PATCH] [lit][ci] Publish lit wheels (#88072)

Add wheel publishing in addition to existing source distribution
publishing of lit.

Fixes #63369. This also uses the exact fix proposed by @EFord36 in
#63369.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge at sifive.com>
(cherry picked from commit 8a8ab8f70cbb5507d1aa55efcd9c6e61ad4e891c)
---
 .github/workflows/release-lit.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release-lit.yml b/.github/workflows/release-lit.yml
index 36b0b6edd518fc..0316ba406041d6 100644
--- a/.github/workflows/release-lit.yml
+++ b/.github/workflows/release-lit.yml
@@ -58,7 +58,7 @@ jobs:
           cd llvm/utils/lit
           # Remove 'dev' suffix from lit version.
           sed -i 's/ + "dev"//g' lit/__init__.py
-          python3 setup.py sdist
+          python3 setup.py sdist bdist_wheel
 
       - name: Upload lit to test.pypi.org
         uses: pypa/gh-action-pypi-publish at release/v1



More information about the llvm-branch-commits mailing list