Skip to content

Commit

Permalink
Add MNN library to thirdparty
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioluck20 committed Apr 20, 2023
1 parent 04c96f7 commit 0a958ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,6 @@
[submodule "wallet-core"]
path = wallet-core
url = ../wallet-core.git
[submodule "MNN"]
path = MNN
url = https://github.com/FedML-AI/MNN.git
1 change: 1 addition & 0 deletions MNN
Submodule MNN added at 531fac
10 changes: 10 additions & 0 deletions build/CommonTargets.CMake
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,16 @@ ExternalProject_Add(xxhash
${_CMAKE_COMMON_BUILD_PARAMS}
)

# --------------------------------------------------------
# Builds MNN
ExternalProject_Add(MNN
PREFIX MNN
SOURCE_DIR "${THIRDPARTY_DIR}/MNN"
CMAKE_CACHE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/MNN
${_CMAKE_COMMON_BUILD_PARAMS}
)

#ExternalProject_Add(wallet-core
# PREFIX wallet-core
# SOURCE_DIR "${THIRDPARTY_DIR}/wallet-core"
Expand Down

0 comments on commit 0a958ad

Please sign in to comment.