forked from conda-forge/staged-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b7d69b
commit 117f982
Showing
6 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipes/torchtext/patches/0001-do-not-build-third_party-libs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 420cbd5a4c2b46e285529eb3c15de8847818f5dc Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Wed, 1 Dec 2021 21:07:42 +1100 | ||
Subject: [PATCH 1/4] do not build third_party libs | ||
Subject: [PATCH 1/5] do not build third_party libs | ||
|
||
--- | ||
CMakeLists.txt | 5 ++++- | ||
|
2 changes: 1 addition & 1 deletion
2
recipes/torchtext/patches/0002-fix-some-CMake-arguments-for-our-infrastructure.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 60d8122796befb3fe5798c09463e18ac16f5d8d1 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Wed, 18 Jan 2023 16:56:57 +1100 | ||
Subject: [PATCH 2/4] fix some CMake arguments for our infrastructure | ||
Subject: [PATCH 2/5] fix some CMake arguments for our infrastructure | ||
|
||
--- | ||
tools/setup_helpers/extension.py | 10 ++++------ | ||
|
2 changes: 1 addition & 1 deletion
2
recipes/torchtext/patches/0003-remove-unnecessary-installation-requirements.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From 12ec329580410d3bfd02ed2a950c2d7de812bbbf Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Wed, 18 Jan 2023 22:06:33 +1100 | ||
Subject: [PATCH 3/4] remove unnecessary installation requirements | ||
Subject: [PATCH 3/5] remove unnecessary installation requirements | ||
|
||
--- | ||
setup.py | 2 +- | ||
|
2 changes: 1 addition & 1 deletion
2
recipes/torchtext/patches/0004-load-library-from-correct-place.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From cc583924ad87bc2b9a0b3b89753885446a2e1eec Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Wed, 18 Jan 2023 22:25:03 +1100 | ||
Subject: [PATCH 4/4] load library from correct place | ||
Subject: [PATCH 4/5] load library from correct place | ||
|
||
--- | ||
torchtext/_extension.py | 2 +- | ||
|
24 changes: 24 additions & 0 deletions
24
recipes/torchtext/patches/0005-don-t-try-to-init-submodules.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From a2e6933a9ae206f216e4b20d14010912f5ff9758 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Wed, 18 Jan 2023 22:58:13 +1100 | ||
Subject: [PATCH 5/5] don't try to init submodules | ||
|
||
--- | ||
setup.py | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index 8501f17b..f49b00fb 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -89,7 +89,6 @@ class clean(distutils.command.clean.clean): | ||
shutil.rmtree(str(path), ignore_errors=True) | ||
|
||
|
||
-_init_submodule() | ||
setup_info = dict( | ||
# Metadata | ||
name="torchtext", | ||
-- | ||
2.38.1.windows.1 | ||
|