Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883595 - sci-visualization/zhu3d-4.2.6-r1: several more options in zhu3d.pro file (sse3, debug)
Summary: sci-visualization/zhu3d-4.2.6-r1: several more options in zhu3d.pro file (sse...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2022-11-29 14:31 UTC by Nikita Zlobin
Modified: 2022-12-02 21:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
zhu3d-4.2.6-r2.ebuild (zhu3d-4.2.6-r2.ebuild,1.95 KB, text/plain)
2022-11-29 16:38 UTC, Nikita Zlobin
Details
Patch for zhu3d-4.2.6-r2.ebuild (0001-sci-visualization-zhu3d-use-flags-for-sse3-and-debug.patch,2.68 KB, patch)
2022-12-02 21:11 UTC, Nikita Zlobin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2022-11-29 14:31:21 UTC
I discovered, that there's special sse3 support, but option to toggle it, is in .pro file rather than in .pri one.
This is for USE=cpu_flags_x86_sse3.

Also there's special debug support (USE=debug).

# ============================================================================
# BASIC COMPILATION SWITCHES: (Uncomment to enable them)
# ============================================================================
# 1) Enable debugging
# 2) Use SSE3 for OpenGL list generation
# 3) Use Intel ICC. Produce makefile with "qmake -spec linux-icc" then
# ============================================================================
# ZHUDEBUG = yes
# USE_SSE3 = yes
# USE_ICPC = yes


Reproducible: Always
Comment 1 Nikita Zlobin 2022-11-29 14:49:28 UTC
It really leverages sse3 intrinsics in opengl drawing.
Comment 2 Nikita Zlobin 2022-11-29 16:38:37 UTC
Created attachment 838075 [details]
zhu3d-4.2.6-r2.ebuild
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-01 06:51:43 UTC
Please attach a unified diff to the ebuild (ideally using 'git format-patch' from changing a git repo of gentoo.git).
Comment 4 Nikita Zlobin 2022-12-02 21:11:32 UTC
Created attachment 839129 [details, diff]
Patch for zhu3d-4.2.6-r2.ebuild
Comment 5 Nikita Zlobin 2022-12-02 21:13:36 UTC
Comment on attachment 839129 [details, diff]
Patch for zhu3d-4.2.6-r2.ebuild

Still added new file. Not sure, if it had to be same ebuild file for clear diff.