Skip to content

Commit

Permalink
everything works - turn all utils back on
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Nov 12, 2024
1 parent 17ca7af commit 8558776
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,16 @@ jobs:
build_tools/cmake/build_llvm.sh
ccache -s
echo "*********************** SMOKE TEST *********************************"
"$LLVM_INSTALL_DIR/bin/mlir-tblgen" --version
echo "*********************** SMOKE TEST *********************************"
pushd $LLVM_SOURCE_DIR && LLVM_SHA_SHORT=$(git rev-parse --short HEAD) && popd
tar -czf mlir_${{ matrix.name }}_$LLVM_SHA_SHORT.tar.gz "$LLVM_INSTALL_DIR"
rm -rf "$LLVM_BUILD_DIR" "$LLVM_SOURCE_DIR"
- name: Release current commit
# if: ${{ !cancelled() && github.event_name == 'push' && github.ref_name == 'main' }}
uses: ncipollo/[email protected]
with:
artifacts: "*.tar.gz"
Expand Down
32 changes: 16 additions & 16 deletions build_tools/cmake/llvm_cache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(LLVM_INCLUDE_TOOLS ON CACHE BOOL "")
set(LLVM_INSTALL_UTILS ON CACHE BOOL "")

# All the tools will use libllvm shared library
# doesn't work on windows
# (but doesn't work on windows)
if (NOT WIN32)
set(LLVM_BUILD_LLVM_DYLIB ON CACHE BOOL "")
set(LLVM_LINK_LLVM_DYLIB ON CACHE BOOL "")
Expand Down Expand Up @@ -61,22 +61,22 @@ set(LLVM_DISTRIBUTIONS MlirDevelopment CACHE STRING "")
set(LLVM_MlirDevelopment_DISTRIBUTION_COMPONENTS
# these are needed basically for execution engine
# check LINK_COMPONENTS there
# llvm-config
# llvm-headers
# llvm-libraries
# cmake-exports
# FileCheck
# not
# MLIRPythonModules
# MLIRPythonModules
# mlir-cmake-exports
# mlir-headers
# mlir-libraries
# mlir-opt
# mlir-python-sources
# mlir-reduce
llvm-config
llvm-headers
llvm-libraries
cmake-exports
FileCheck
not
MLIRPythonModules
MLIRPythonModules
mlir-cmake-exports
mlir-headers
mlir-libraries
mlir-opt
mlir-python-sources
mlir-reduce
mlir-tblgen
# mlir-translate
mlir-translate
CACHE STRING "")

if (NOT WIN32)
Expand Down

0 comments on commit 8558776

Please sign in to comment.