-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#357 working 2023b version no test - todo tests deps
- Loading branch information
1 parent
205035c
commit 7c25235
Showing
18 changed files
with
1,800 additions
and
126 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
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
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
52 changes: 52 additions & 0 deletions
52
357_Synthcity/2023b_v0.2.11_new/grpcio-1.67.1_use-ebroot.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,52 @@ | ||
Author: yqshao (Yunqi Shao), Update: Pavel Tománek (Inuits) | ||
Update setup.py to use dependencies from EB | ||
--- setup.py.orig 2024-11-04 12:15:44.508837000 +0100 | ||
+++ setup.py 2024-11-04 12:20:12.717679000 +0100 | ||
@@ -298,29 +298,33 @@ | ||
CORE_C_FILES = filter(lambda x: "third_party/cares" not in x, CORE_C_FILES) | ||
|
||
if BUILD_WITH_SYSTEM_OPENSSL: | ||
+ EBROOTOPENSSL = os.environ.get('EBROOTOPENSSL') | ||
CORE_C_FILES = filter( | ||
lambda x: "third_party/boringssl" not in x, CORE_C_FILES | ||
) | ||
CORE_C_FILES = filter(lambda x: "src/boringssl" not in x, CORE_C_FILES) | ||
- SSL_INCLUDE = (os.path.join("/usr", "include", "openssl"),) | ||
+ SSL_INCLUDE = (os.path.join(EBROOTOPENSSL, "include", "openssl"),) | ||
|
||
if BUILD_WITH_SYSTEM_ZLIB: | ||
+ EBROOTZLIB = os.environ.get('EBROOTZLIB') | ||
CORE_C_FILES = filter(lambda x: "third_party/zlib" not in x, CORE_C_FILES) | ||
- ZLIB_INCLUDE = (os.path.join("/usr", "include"),) | ||
+ ZLIB_INCLUDE = (os.path.join(EBROOTZLIB, "include"),) | ||
|
||
if BUILD_WITH_SYSTEM_CARES: | ||
CORE_C_FILES = filter(lambda x: "third_party/cares" not in x, CORE_C_FILES) | ||
CARES_INCLUDE = (os.path.join("/usr", "include"),) | ||
|
||
if BUILD_WITH_SYSTEM_RE2: | ||
+ EBROOTRE2 = os.environ.get('EBROOTRE2') | ||
CORE_C_FILES = filter(lambda x: "third_party/re2" not in x, CORE_C_FILES) | ||
- RE2_INCLUDE = (os.path.join("/usr", "include", "re2"),) | ||
+ RE2_INCLUDE = (os.path.join(EBROOTRE2, "include", "re2"),) | ||
|
||
if BUILD_WITH_SYSTEM_ABSL: | ||
+ EBROOTABSEIL = os.environ.get('EBROOTABSEIL') | ||
CORE_C_FILES = filter( | ||
lambda x: "third_party/abseil-cpp" not in x, CORE_C_FILES | ||
) | ||
- ABSL_INCLUDE = (os.path.join("/usr", "include"),) | ||
+ ABSL_INCLUDE = (os.path.join(EBROOTABSEIL, "include"),) | ||
|
||
EXTENSION_INCLUDE_DIRECTORIES = ( | ||
(PYTHON_STEM,) | ||
@@ -363,8 +367,7 @@ | ||
EXTENSION_LIBRARIES += ("re2",) | ||
if BUILD_WITH_SYSTEM_ABSL: | ||
EXTENSION_LIBRARIES += tuple( | ||
- lib.stem[3:] | ||
- for lib in sorted(pathlib.Path("/usr").glob("lib*/libabsl_*.so")) | ||
+ lib.stem[3:] for lib in pathlib.Path(EBROOTABSEIL).glob("lib*/libabsl_*.so") | ||
) | ||
|
||
DEFINE_MACROS = (("_WIN32_WINNT", 0x600),) |
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
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
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
Oops, something went wrong.