31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
|
|
||
|
### Coral additions to MediaPipe WORKSPACE ###
|
||
|
|
||
|
#COMMIT=$(git ls-remote https://github.com/google-coral/crosstool master | awk '{print $1}')
|
||
|
#SHA256=$(curl -L "https://github.com/google-coral/crosstool/archive/${COMMIT}.tar.gz" | sha256sum | awk '{print $1}')
|
||
|
# Oct 2019
|
||
|
#COMMIT=9e00d5be43bf001f883b5700f5d04882fea00229
|
||
|
#SHA256=cb31b1417ccdcf7dd9fca5ec63e1571672372c30427730255997a547569d2feb
|
||
|
http_archive(
|
||
|
name = "coral_crosstool",
|
||
|
sha256 = "cb31b1417ccdcf7dd9fca5ec63e1571672372c30427730255997a547569d2feb",
|
||
|
strip_prefix = "crosstool-9e00d5be43bf001f883b5700f5d04882fea00229",
|
||
|
urls = [
|
||
|
"https://github.com/google-coral/crosstool/archive/9e00d5be43bf001f883b5700f5d04882fea00229.tar.gz",
|
||
|
],
|
||
|
)
|
||
|
load("@coral_crosstool//:configure.bzl", "cc_crosstool")
|
||
|
cc_crosstool(name = "crosstool")
|
||
|
|
||
|
# EdgeTPU
|
||
|
new_local_repository(
|
||
|
name = "edgetpu",
|
||
|
path = "/edgetpu/libedgetpu",
|
||
|
build_file = "/edgetpu/libedgetpu/BUILD"
|
||
|
)
|
||
|
new_local_repository(
|
||
|
name = "libedgetpu",
|
||
|
path = "/usr/lib/aarch64-linux-gnu",
|
||
|
build_file = "/edgetpu/libedgetpu/BUILD"
|
||
|
)
|