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

sci-libs/superlu_mt: fix int64 not taking effect #23063

Closed
wants to merge 1 commit into from

Conversation

alexfanqi
Copy link
Contributor

@alexfanqi alexfanqi commented Nov 24, 2021

tested on riscv64 and amd64

USE=int64 doesn't actually take effect. int_t is still typedefed as int instead of long long on machines with 32 bit int like RISC-V lp64 ABI. PREDEFS should be appended to CFLAGS. This is also the case in upstream.

and there is no make.inc under EXAMPLE/, EXAMPLE/Makefile should read ../make.inc

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @alexfanqi
Areas affected: ebuilds
Packages affected: sci-libs/superlu_mt

sci-libs/superlu_mt: @gentoo/sci

Linked bugs

Bugs linked: 817680


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Nov 24, 2021
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-11-24 04:00 UTC
Newest commit scanned: 000c4c8
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/47ec161867/output.html

upstream uses unconventional variables names. int64 adds _LONG_INT
to PREDEFS. PREDEFS seems to be a synonym of CPPFLAGS and used
sparingly to be appended to CFLAGS. It should be passed to $(CC)
explicitly for int64 to take effect.

EXAMLE/Makefile should include ../make.in, which is the same in
upstream.

Closes: https://bugs.gentoo.org/817680
Signed-off-by: Alex Fan <alex.fan.q@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-11-28 12:10 UTC
Newest commit scanned: 52f9a69
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/4b3164ae43/output.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
3 participants