Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c95d1b

Browse files
committed
try to whitelist libxcb.so.1
1 parent205bd20 commit9c95d1b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

‎patch_auditwheel_whitelist.py‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
fromos.pathimportjoin,dirname,abspath
2+
importjson
3+
4+
fromauditwheelimportpolicy
5+
6+
policies=None
7+
8+
withopen(join(dirname(abspath(policy.__file__)),"policy.json"))asf:
9+
policies=json.load(f)
10+
11+
forpinpolicies:
12+
ifp["name"]=="manylinux2014":
13+
p["lib_whitelist"].append("libxcb.so.1")
14+
15+
withopen(join(dirname(abspath(policy.__file__)),"policy.json"),"w")asf:
16+
f.write(json.dumps(policies))

‎travis_config.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ else
2626
echo" > Linux environment"
2727
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Qt5.15.0/lib
2828
export MAKEFLAGS="-j$(grep -E'^processor[[:space:]]*:' /proc/cpuinfo| wc -l)"
29+
python patch_auditwheel_whitelist.py
2930
fi
3031

3132
if [-n"$IS_OSX" ];then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp