-
Notifications
You must be signed in to change notification settings - Fork 167
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-physics/samurai: new package, add 2.1.1 #1340
Conversation
APN-Pucky
commented
Mar 26, 2025
•
edited
Loading
edited
- test it again
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
econf FCFLAGS="${FCFLAGS} -std=legacy -fPIC -I${ESYSROOT}/usr/include" \ | ||
--with-avh_olo="${ESYSROOT}"/usr/$(get_libdir)/libavh_olo.so \ | ||
--with-avh_olo_precision=double \ | ||
--with-precision=double \ | ||
$(use_with qcdloop qcdloop "${ESYSROOT}"/usr) \ | ||
$(use_with looptools looptools "${ESYSROOT}"/usr) |
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.
This would look a bit nicer if we'd use a myeconfargs
array here instead.
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.
I think also the default
before needs to be removed, since that calls econf
already... (Also needs bash...).
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
--with-avh_olo="${ESYSROOT}"/usr/$(get_libdir)/libavh_olo.so | ||
--with-avh_olo_precision=double | ||
--with-precision=double | ||
$(use_with qcdloop qcdloop "${ESYSROOT}"/usr) |
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.
Does this need quotes again in case ESYSROOT
has a space? I.e. https://github.com/gentoo/gentoo/blob/f84b09f5dd30d2e41d33afd6c284cc99cd9e22fa/app-admin/sudo/sudo-1.9.16_p2-r1.ebuild#L184 quotes twice.
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.
Yes it needs (double) quotes, the inside quotes ensure that the ESYSROOT/usr
is one argument for use_with
, the outside quotes ensures that the ESYSROOT/usr
is one single element of the array.
Signed-off-by: Alexander Puck Neuwirth <[email protected]>