Commit ba722faa by Zircon Liu

Init.

parents
# Python
.env
*.pyc
**/.ipynb_checkpoints/
.pytype/
**/__pycache__/**
# Visual Studio files
.vs/
.vscode/
*.sdf
*.opensdf
*.VC.opendb
*.suo
*.user
# macOS files
.DS_Store
# CMake artifacts
build/
build-*/
# Bazel artifacts
**/bazel-*
# Local-only config options
configured.bazelrc
user.bazelrc
version_info.json
CMakeUserPresets.json
# Dear ImGui Ini files
imgui.ini
# Emacs autosaves
*~
\#*\#
# Vim swap files
[._]*.sw[a-p]
# Source indexing files
compile_commands.json
.cache/clangd
.clangd/
# Pyenv files
.python-version
*.venv
.venv
# Python deployment artifacts
*.whl
# Android Studio / Gradle files
.cxx
.gradle
gradlew
gradlew.bat
gradle/
local.properties
# Generated documentation files
mkdocs/site/
docs/website/site/
# Temporary files
iree/builtins/**/bin/*.ll
# Archive files
*.tar
*.tar.*
# Local cache files
llvm-external-projects/iree-dialects/.cache
cmake_minimum_required(VERSION 3.21...3.24)
# Set the project name
project(iprc-scheduler LANGUAGES CXX C)
# Specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
# Options
set(LLVM_SOURCE_DIR "" CACHE PATH "Path to LLVM source directory")
set(LLVM_BUILD_DIR ${LLVM_SOURCE_DIR}/build CACHE PATH "Path to LLVM build directory")
set(MLIR_HLO_SOURCE_DIR "" CACHE PATH "Path to MLIR-HLO source directory")
set(MLIR_HLO_BUILD_DIR ${MLIR_HLO_SOURCE_DIR}/build CACHE PATH "Path to MLIR-HLO build directory")
set(IREE_SOURCE_DIR "" CACHE PATH "Path to IREE source directory")
set(IREE_BUILD_DIR ${IREE_SOURCE_DIR}/build CACHE PATH "Path to IREE build directory")
# Find Packages
# set(MLIR_DIR ${IREE_BUILD_DIR}/lib/cmake/mlir)
# set(MHLO_DIR ${IREE_BUILD_DIR}/lib/cmake/mlir-hlo)
# find_package(MHLO REQUIRED CONFIG)
add_subdirectory(${IREE_SOURCE_DIR})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment