Skip to content
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

[linux] Fix LLVM symbol leakage in release mode by using RTLD_GLOBAL #1544

Merged
merged 4 commits into from
Jul 21, 2020

Conversation

archibate
Copy link
Collaborator

Related PR = #1508

[Click here for the format server]


Why release mode use different code than import_ti_core in dev mode... and I found the glfw issue again in release mode.

@archibate archibate changed the title [linux] Fix LLVM symbol leakage in release mode by using RTLD_GLOBAL [linux] Fix LLVM symbol leakage in release mode by using RTLD_GLOBAL Jul 20, 2020
@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

Merging #1544 into master will decrease coverage by 1.22%.
The diff coverage is 74.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1544      +/-   ##
==========================================
- Coverage   67.53%   66.31%   -1.23%     
==========================================
  Files          38       40       +2     
  Lines        5624     5438     -186     
  Branches      980      981       +1     
==========================================
- Hits         3798     3606     -192     
- Misses       1657     1662       +5     
- Partials      169      170       +1     
Impacted Files Coverage Δ
python/taichi/tools/np2ply.py 13.37% <ø> (ø)
python/taichi/core/util.py 21.30% <42.85%> (+0.04%) ⬆️
python/taichi/core/settings.py 48.14% <45.45%> (ø)
python/taichi/__init__.py 75.00% <75.00%> (-17.00%) ⬇️
python/taichi/core/__init__.py 100.00% <100.00%> (ø)
python/taichi/lang/matrix.py 90.83% <100.00%> (-0.72%) ⬇️
python/taichi/misc/__init__.py 100.00% <100.00%> (ø)
python/taichi/misc/gui.py 23.98% <100.00%> (-1.11%) ⬇️
python/taichi/misc/image.py 56.86% <100.00%> (+0.86%) ⬆️
python/taichi/misc/util.py 44.05% <100.00%> (-0.54%) ⬇️
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aaf0420...8b94fd0. Read the comment docs.

Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see how this works.

_taichi_skip_traceback = 1
assert 0 <= args[0] < self.n, \
f"The 0-th matrix index {args[0]} out-of-range, should be < {self.n}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specify the lower bound as well?

@archibate archibate added the LGTM label Jul 21, 2020
@archibate archibate merged commit c7496d8 into taichi-dev:master Jul 21, 2020
@FantasyVR FantasyVR mentioned this pull request Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants