Skip to content

Commit

Permalink
Update workflow python
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Oct 25, 2023
1 parent 973de53 commit 2448d56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:

- name: Build Wheel packages
run: |
echo "LLVM PATH: " ${{env.LLVM_PATH}}
ls ${{env.LLVM_PATH}}
docker run \
--rm \
--volume $GITHUB_WORKSPACE:/src \
Expand Down Expand Up @@ -163,7 +161,7 @@ jobs:
- name: Install LLVM and Clang
uses: KyleMayes/[email protected]
with:
version: "16.0"
version: "15.0"
directory: ${{ runner.temp }}/llvm

- name: Upgrade pip version
Expand Down
6 changes: 6 additions & 0 deletions src/scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ RUN yum install -y \
sudo \
wget

# LLVM dependencies.
RUN yum install -y \
libxml2-devel \
libzstd-devel \
ncruses-devel

RUN python3.10 -m pip install meson

ENV DEPENDENCIES_DIR=/tmp/triton-dependencies
Expand Down
6 changes: 5 additions & 1 deletion src/scripts/docker/build-wheel-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
#
# $ docker pull quay.io/pypa/manylinux_2_28_x86_64
# $ ./src/scripts/docker/build-docker-image.sh
# $ docker run --rm -v $(pwd):/src build-triton-linux-x86_64 bash /src/src/scripts/docker/build-wheel-linux.sh
# $ docker run \
# --rm \
# -v $(pwd):/src \
# -v /tmp/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04:/llvm \
# build-triton-linux-x86_64 bash /src/src/scripts/docker/build-wheel-linux.sh
#
# You'll find the .whl packages in the wheel-final folder.

Expand Down

0 comments on commit 2448d56

Please sign in to comment.