NVIDIA / DL4AGX

Deep Learning tools and applications for NVIDIA AGX platforms.
Apache License 2.0
144 stars 26 forks source link

Use Platforms to manage the toolchains #18

Open narendasan opened 5 years ago

narendasan commented 5 years ago

We should move to using platforms (https://docs.bazel.build/versions/master/platforms.html) and toolchains (https://docs.bazel.build/versions/master/toolchains.html) as soon as the rules are stable so that we can version the toolchains between PDK versions. A hacky version of this is already in for linux. Should also address https://github.com/NVIDIA/DL4AGX/issues/14

ZhenshengLee commented 6 months ago

Currently, the toolchains is already being used to cross-compile for different target arch and sdk.

But the platforms has not already being used because I just see codes which are commented.

https://github.com/NVIDIA/DL4AGX/blob/3dad2b95800634fa565d6cd11d578fd1c5ce4ee1/toolchains/BUILD#L20-L46

@narendasan would you give this project any updates?