Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Jun 11, 2023
1 parent bc473ba commit a7a37f3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions recipe/win_2022.patch → recipe/0000-win_2022.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
diff --git a/setup.py b/setup.py
index 4cb904b..bfb76ee 100644
index 4cb904b..2a9d48a 100644
--- a/setup.py
+++ b/setup.py
@@ -59,9 +59,9 @@ class CMakeBuild(build_ext):
cmake_args += [
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}".format(cfg.upper(), extdir)
]
@@ -56,12 +56,12 @@ class CMakeBuild(build_ext):

if platform.system() == "Windows":
print("-----------------Windows...")
- cmake_args += [
- "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}".format(cfg.upper(), extdir)
- ]
- if sys.maxsize > 2 ** 32:
- cmake_args += ["-A", "x64"]
- build_args += ["--", "/m"]
+ # cmake_args += [
+ # "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}".format(cfg.upper(), extdir)
+ # ]
+ # if sys.maxsize > 2 ** 32:
+ # cmake_args += ["-A", "x64"]
+ # build_args += ["--", "/m"]
Expand Down
2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set CMAKE_GENERATOR_PLATFORM=
set CMAKE_GENERATOR_TOOLSET=
set CMAKE_GENERATOR=Ninja
set CMAKE_ARGS=-DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$PREFIX
set CMAKE_ARGS=-DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$PREFIX
python -m pip install . -vv
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ source:
url: https://github.com/PolusAI/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
sha256: e89c37bfe8c32d060c9eaa36aebf5ccc3d4bff8afee6b26176fe04a279f45748
patches:
- win_2022.patch
- 0000-win_2022.patch
build:
number: 3
number: 4
skip: true # [py<36]
missing_dso_whitelist:
- '*/nvcuda.dll' # [win]
Expand Down

0 comments on commit a7a37f3

Please sign in to comment.