-
Notifications
You must be signed in to change notification settings - Fork 81
Use Rocky Linux 8 for building Python packages #4842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
e86052a
132da90
49c500d
4980501
7fb9564
38222b3
aef62e9
2ba095a
32a55d1
ec07f0f
f6fce11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ def patch_whl(out_dir,libs_dir): | |
elif SYSTEM == "Linux": | ||
sys.path.append(libs_dir) # to find SO files | ||
# see also: https://github.com/mayeut/pep600_compliance | ||
manylinux_version = "2_31" | ||
manylinux_version = "2_28" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure about that, because we are calling it on ubutnu20 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reverted. |
||
subprocess.check_call( | ||
[ | ||
sys.executable, "-m", "auditwheel", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
import sysconfig | ||
|
||
if __name__ == '__main__': | ||
import sys | ||
print(sysconfig.get_config_var(sys.argv[1])) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what is this for? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To retrieve system paths for multiple Python instances. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added a comment. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 17bc7f1638..c4283c3c4d 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -473,6 +473,9 @@ OCCT_IS_PRODUCT_REQUIRED (CSF_EIGEN CAN_USE_EIGEN) | ||
|
||
set (OCCT_3RDPARTY_CMAKE_LIST) | ||
|
||
+# define CSF variable | ||
+OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_csf") | ||
+ | ||
# Tcl (mandatory for Draw Harness) | ||
if (USE_TCL) | ||
message (STATUS "Info: TCL is used by OCCT") | ||
@@ -769,9 +772,6 @@ file(COPY ${CMAKE_SOURCE_DIR}/.clang-format DESTINATION ${CMAKE_SOURCE_DIR}) | ||
OCCT_MAKE_OS_WITH_BITNESS() | ||
OCCT_MAKE_COMPILER_SHORT_NAME() | ||
|
||
-# define CSF variable | ||
-OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_csf") | ||
- | ||
# do not define INSTALL_DIR_BIN for win. | ||
# Leave library structure for win: <prefix>/win64/vc10/bin(d) | ||
if (NOT DEFINED INSTALL_DIR_BIN) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mb add comment what is it and why is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.