Skip to content

Commit

Permalink
[rebased] Update triton xpu llvm to 5e5a22ca (#3)
Browse files Browse the repository at this point in the history
* 6996942..b0d5a1a

* revert branch change
  • Loading branch information
ESI-SYD authored Dec 6, 2023
1 parent e2ac173 commit 570ac54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:

Expand All @@ -25,12 +26,16 @@ jobs:
dist: centos-7
- os: macos-13
dist: ubuntu-18.04
- os: macos-13
dist: local
- os: ubuntu-latest
dist: local
- os: macos-13-arm64
dist: centos-7
- os: macos-13-arm64
dist: ubuntu-18.04
- os: macos-13-arm64
dist: local

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "llvm-project"]
path = llvm-project
url = https://github.com/llvm/llvm-project.git
url = https://github.com/quintinwang5/llvm-project.git
4 changes: 2 additions & 2 deletions build_llvm.bash
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [ x"$install_prefix" == x ] || [ x"$platform" == x ] || [ x"$build_config" ==
fi

# Set up CMake configurations
CMAKE_CONFIGS="-DLLVM_ENABLE_PROJECTS=mlir -DLLVM_INSTALL_UTILS=ON -DLLVM_INCLUDE_TESTS=OFF"
CMAKE_CONFIGS="-DLLVM_ENABLE_PROJECTS=mlir -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_LTO=OFF"
if [ x"$arch" == x"arm64" ]; then
CMAKE_CONFIGS="${CMAKE_CONFIGS}"
else
Expand Down Expand Up @@ -104,7 +104,7 @@ elif [ x"$platform" == x"docker_ubuntu-18.04" ] ||
DOCKER_FILE_PATH="scripts/$platform/Dockerfile"

echo "Building $DOCKER_REPOSITORY:$DOCKER_TAG using $DOCKER_FILE_PATH"
docker build -t $DOCKER_REPOSITORY:$DOCKER_TAG --build-arg cmake_configs="${CMAKE_CONFIGS}" --build-arg num_jobs="${num_jobs}" --build-arg install_dir_name="${install_prefix}" -f "$BUILD_DIR/$DOCKER_FILE_PATH" "$BUILD_DIR"
docker build -t $DOCKER_REPOSITORY:$DOCKER_TAG --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} --build-arg cmake_configs="${CMAKE_CONFIGS}" --build-arg num_jobs="${num_jobs}" --build-arg install_dir_name="${install_prefix}" -f "$BUILD_DIR/$DOCKER_FILE_PATH" "$BUILD_DIR"

# Copy a created tarball from a Docker container.
# We cannot directly copy a file from a Docker image, so first
Expand Down
2 changes: 1 addition & 1 deletion llvm-project
Submodule llvm-project updated 13832 files

0 comments on commit 570ac54

Please sign in to comment.