SHA256
1
0
forked from pool/tvm
Files
tvm/lib-finder-python-cmake.patch
Guillaume GARDET cf3187160d Accepting request 865045 from home:Guillaume_G:branches:science:machinelearning
- Add Arm Compute Library support
- Update to 0.7.0: https://github.com/apache/incubator-tvm/blob/main/NEWS.md
  v0.7 brings many major features. The community works together
  to refactor the internal code base to bring an unified IR code
  structure with a unified IRModule, type system and pass
  infrastructure. We have also bought many exciting new features,
  some highlights include:
  * Initial automatic scheduling support
  * Initial command line driver interface
  * WebGPU and webassembly support
  * Better first class rust support in the codebase
  * Intial Hexagon support
  * Bring your own codegen (BYOC) support
  The community also continues to bring high quality improvements
  to the existing modules including, but not limited to: 
  better frontend coverage, performance, quantization, uTVM 
  and dynamic shape support.
- Rebase pacth:
  * tvm-fix-openblas.patch
- Drop patch:
  * lib-finder-python-cmake.patch

OBS-URL: https://build.opensuse.org/request/show/865045
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/tvm?expand=0&rev=24
2021-01-21 07:56:51 +00:00

14 lines
700 B
Diff

--- incubator-tvm-0.7.0.orig/python/tvm/_ffi/libinfo.py 2020-11-02 15:40:42.406929865 +0100
+++ incubator-tvm-0.7.0/python/tvm/_ffi/libinfo.py 2020-11-02 15:41:07.187143915 +0100
@@ -82,8 +82,8 @@ def find_lib_path(name=None, search_path
# Pip lib directory
dll_path.append(os.path.join(ffi_dir, ".."))
# Default cmake build directory
- dll_path.append(os.path.join(source_dir, "build"))
- dll_path.append(os.path.join(source_dir, "build", "Release"))
+ dll_path.append(os.path.join(source_dir, "build_cmake"))
+ dll_path.append(os.path.join(source_dir, "build_cmake", "Release"))
# Default make build directory
dll_path.append(os.path.join(source_dir, "lib"))