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

Ir2vec submodule cmake changes #24

Open
wants to merge 2 commits into
base: mlbridge-lib
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion IR2Vec
Submodule IR2Vec updated 313 files
2 changes: 1 addition & 1 deletion MLCompilerBridge
6 changes: 6 additions & 0 deletions llvm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ if( "MLCompilerBridge" IN_LIST LLVM_ENABLE_PROJECTS )
set( PYTHON_UTILITIES_DIRECTORY ${CMAKE_BINARY_DIR}/tools/MLCompilerBridge/Python-Utilities CACHE PATH "Path to the directory containing the python utilities")
endif()

option(LLVM_IR2VEC "where to enable IR2Vec as subproject for LLVM" OFF)

if( "IR2Vec" IN_LIST LLVM_ENABLE_PROJECTS )
set( LLVM_IR2VEC ON )
endif()

# LLVM_ENABLE_PROJECTS_USED is `ON` if the user has ever used the
# `LLVM_ENABLE_PROJECTS` CMake cache variable. This exists for
# several reasons:
Expand Down