-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
adce428
commit 4223b3d
Showing
4 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
project(ir2vec) | ||
cmake_minimum_required(VERSION 3.15) | ||
|
||
include(ExternalProject) | ||
|
||
externalproject_add( | ||
ir2vec | ||
PREFIX "${CMAKE_CURRENT_BINARY_DIR}/ir2vec" | ||
GIT_REPOSITORY "https://github.com/ChrisCummins/IR2Vec.git" | ||
GIT_TAG 828e50584b9c8bc305208e22d2cca272bdb1ab64 | ||
CMAKE_ARGS | ||
-C "${CMAKE_CURRENT_BINARY_DIR}/ir2vec_initial_cache.cmake" | ||
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}" | ||
"-DLT_LLVM_INSTALL_DIR=${CMAKE_INSTALL_PREFIX}" | ||
USES_TERMINAL_CONFIGURE TRUE | ||
USES_TERMINAL_BUILD TRUE | ||
USES_TERMINAL_INSTALL TRUE | ||
) |