Skip to content

Add tilelang build script - #8474

Open
Daniel-Schenker wants to merge 6 commits into
ppc64le:masterfrom
Daniel-Schenker:tilelang-build-script
Open

Add tilelang build script#8474
Daniel-Schenker wants to merge 6 commits into
ppc64le:masterfrom
Daniel-Schenker:tilelang-build-script

Conversation

@Daniel-Schenker

@Daniel-Schenker Daniel-Schenker commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 9 container (UBI10)
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

This PR adds a build script for tilelang package built for the ROCM target. Please do let me know if any changes to the build script are required.

NOTE: This script is dependent on #8473 as this build script has z3-solver package as a dependency for the build.

@janani66
janani66 requested a review from cdeepali July 28, 2026 12:58
@janani66

Copy link
Copy Markdown

@cdeepali -- Please review this PR.

@cdeepali

Copy link
Copy Markdown
Contributor

Please add build-info.json file. Refer to template - and example .

As of now, the team is working on enabling UBI10 in CI. Therefore, this PR will need to wait until UBI10 support has been added to the CI pipeline.

@Daniel-Schenker

Copy link
Copy Markdown
Contributor Author

@cdeepali I have added build_info.json. Let me know if any changes are needed. Thanks.

@cdeepali

Copy link
Copy Markdown
Contributor

Thanks @Daniel-Schenker. Please update the PR as per the suggestions in comment.
Please also rebase PR with master to pull the changes in the wrapper script that enable build on UBI10.

Comment thread t/tilelang/build-tilelang-ppc64le-ubi10.sh
@Daniel-Schenker

Copy link
Copy Markdown
Contributor Author

@cdeepali Changes addressed.

@cdeepali

cdeepali commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

I should have mentioned earlier, that the build-info.json also requires a block like:

 "*": {
    "build_script": "z3-solver_4.15.4_ubi_10.sh"
   }

as in https://github.com/ppc64le/build-scripts/pull/8486/changes.

@cdeepali

Copy link
Copy Markdown
Contributor

@Daniel-Schenker @janani66
I don't think we can install packages from epel repo. Thus we build the python versions that are not available on UBI repos from source in the wrapper script.

Please use python3.12 in the build script as wrapper script will execute build script on multiple python versions (3.12 to 3.14 on UBI10) and will modify script according to the python version in the build environment. The venv is also created by the wrapper script so the build script need not create env as well.

Pls refer to the script created for z3-solver in #8486 to modify the build script according to the requirement of the CI.
I will also look into creating updated script for this tomorrow.

@Daniel-Schenker

Copy link
Copy Markdown
Contributor Author

@janani66 We had discussed the use of epel repo today. Are we allowed to use it? If not I will proceed with the recommendation from @cdeepali .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants