Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase #3

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading