Skip to content

Conversation

@soiferj
Copy link
Contributor

@soiferj soiferj commented Sep 3, 2019

Adds support to search PATH for TVM DLLs.

@tqchen @Huyuwei would you be able to take a look?

@jroesch
Copy link
Member

jroesch commented Sep 4, 2019

Upon second thought, does it make sense to search the PATH for dynamically linked libraries? traditionally tools which link only search link paths, the PATH variable is intended to only be used for resolving executable names in shells.

@soiferj
Copy link
Contributor Author

soiferj commented Sep 4, 2019

PATH is definitely used for executable names in general, but it seems like it's common to have libraries in there. For example, when you create an environment in Anaconda on Windows, /Library/bin has lots of DLLs.

However, if you're not comfortable with this change, I'm totally fine to close the PR. I just thought it would be a small quality-of-life change and make the runtime a little easier to distribute.

@jroesch jroesch merged commit d9bbdbc into apache:master Sep 5, 2019
@soiferj soiferj deleted the soiferj/path branch September 6, 2019 00:44
MarisaKirisame pushed a commit to MarisaKirisame/tvm that referenced this pull request Sep 7, 2019
* Search PATH for DLLs

* Fix lint issue
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
* Search PATH for DLLs

* Fix lint issue
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 16, 2019
* Search PATH for DLLs

* Fix lint issue
wweic pushed a commit to neo-ai/tvm that referenced this pull request Sep 16, 2019
* Search PATH for DLLs

* Fix lint issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants