-
Notifications
You must be signed in to change notification settings - Fork 34
/
.gitmodules
47 lines (47 loc) · 2.55 KB
/
.gitmodules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[submodule "fast_align"]
path = 3rd_party/fast_align
url = https://github.com/clab/fast_align
[submodule "extract-lex"]
path = 3rd_party/extract-lex
url = https://github.com/marian-nmt/extract-lex
[submodule "3rd_party/kenlm"]
path = 3rd_party/kenlm
url = https://github.com/kpu/kenlm
[submodule "3rd_party/browsermt-marian-dev"]
path = 3rd_party/browsermt-marian-dev
url = https://github.com/browsermt/marian-dev
[submodule "3rd_party/marian-dev"]
path = 3rd_party/marian-dev
url = https://github.com/marian-nmt/marian-dev
[submodule "3rd_party/preprocess"]
path = 3rd_party/preprocess
url = https://github.com/kpu/preprocess.git
[submodule "inference/3rd_party/ssplit-cpp"]
path = inference/3rd_party/ssplit-cpp
url = https://github.com/browsermt/ssplit-cpp
# This is the same dependency and repository as `3rd_party/browsermt-marian-dev` below.
#
# When forking `inference-engine` into to this project, I made an earnest attempt to utilize the preexisting
# `3rd_party/browsermt-marian-dev` submodule within `inference-engine`. Unfortunately, I ran into several roadblocks:
#
# 1) I cannot directly add `3rd_party/browsermt-marian-dev` as a cmake subdirectory because cmake is aware that
# this path is not a subdirectory of the `inference-engine` project root.
#
# 2) Symbolic links do not appear to work for git submodule direcotires the way that they do for regular directories.
# Even if the symbolic link had linked correctly, it may have still failed due to the considerations of 1).
#
# 3) I tried using cmake to copy the files from `3rd_party/browsermt-marian-dev` into `inference-engine/3rd_party/browsermt-marian-dev`
# at build time, which would ensure that there is no duplicate reference to the URL in this file, however the upstream dependency itself
# has hard-coded expectations that the `.git` directory is only one level up, which appears to work correctly for the way git submodules are
# configured, but does not work if the files are copied over to a regular directory deeper in the repository's directory tree.
#
# It may be possible to remove `3rd_party/browsermt-marian-dev` to instead use `inference-engine/3rd-party/browsermt-marian-dev` everywhere
# within this repository, but I will leave that for a future commit if there is a need to do so.
#
# TODO(#869)
[submodule "inference/3rd_party/browsermt-marian-dev"]
path = inference/3rd_party/browsermt-marian-dev
url = https://github.com/browsermt/marian-dev
[submodule "inference/3rd_party/emsdk"]
path = inference/3rd_party/emsdk
url = https://github.com/emscripten-core/emsdk.git