* [gentoo-science] Geant4 ebuild
@ 2008-03-03 2:36 Benjamin Bannier
2008-03-03 15:03 ` Henry Gebhardt
2008-03-03 19:42 ` Sébastien Fabbro
0 siblings, 2 replies; 4+ messages in thread
From: Benjamin Bannier @ 2008-03-03 2:36 UTC (permalink / raw
To: gentoo-science; +Cc: sci
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I put together an ebuild for geant-4.9.1 over the weekend.
Geant[3,4] is a widely used physics simulation code from cern; 3.* is in
the tree, 4.* is not, which is bad (for some). Even debian users can
have geant4 ...
This ebuild seems to work on x86 using the g** compilers. You can find
it temporarily at rsync://netronaut.de/geant4. There are ebuilds for
geant4 and for the needed data files (pulled in via "data" USE flag).
There are also 2 patches to make the build and environment scripts work.
As it depends on sci-physics/chlep from the science overlay I am only
advertising here.
Since this is my first ebuild for the public and the geant4 install is
extra nasty I would love to have suggestions for improvements,
flames ... I am particularly interested in suggestions concerning
1) Ebuild
* no checking of CFLAGS and MAKEOPTS:
Is it too bad? I have no idea ...
* relying solely on Geant4 ./Configure to figure out
platform/compiler:
Maybe somebody on a different platform or with a different
compiler can tell me if the build is still working.
* name:
Now its a newer version of sci-physics/geant-3.*.* currently in the
tree, maybe causing trouble.
* License: Geant4 license not in /usr/portage/license; not sure about
licenses for data files, but one could ask ...
* USE: I have no idea how to switch some of them on by default ...
2) Geant4 infrastructure
* do your projects compile and run successfully?
* geant and geant4-data install lots of stuff like data files, config
scripts, example apps into /usr/share/geant4. Is this the right
place? Is it working for your use case?
* even worse: libraries are installed
into /usr/lib/geant4/<platform><compiler>/. This is how geant4 does
it by default. No versions are recorded. No archives are installed.
How much does this violate gentoo policy? Do you need the
archives? How much would another solution break your application?
I would really really (really) love to have this package in gentoo,
maybe in the science overlay: geant4's build system is painful and
scary, but portage can conveniently hide all that once and forever ;)
Hope to hear from you,
b.
ps. If you start playing with the compile you should use ccache. I can
dispel some of the builds darkness ...
- --
"If we had asked people what they wanted they would have said 'a
faster horse'." --Henry Ford
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHy2QjVj4CPF3kbQwRAo4oAJ4irmfUV1UEwVi73zovNSSgfZ90EgCdFwQZ
aqipO63GvAiGnFrlyrI4rLs=
=ZIhE
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] Geant4 ebuild
2008-03-03 2:36 [gentoo-science] Geant4 ebuild Benjamin Bannier
@ 2008-03-03 15:03 ` Henry Gebhardt
2008-03-03 19:42 ` Sébastien Fabbro
1 sibling, 0 replies; 4+ messages in thread
From: Henry Gebhardt @ 2008-03-03 15:03 UTC (permalink / raw
To: gentoo-science
Hi,
On Mon, Mar 3, 2008 at 3:36 AM, Benjamin Bannier
<benjamin.bannier@stonybrook.edu> wrote:
> * USE: I have no idea how to switch some of them on by default ...
I'm not hundred percent sure, but I think a line like the following
would turn on flag1 by default:
IUSE="+flag1 flag2"
Regards,
Henry
--
gentoo-science@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] Geant4 ebuild
2008-03-03 2:36 [gentoo-science] Geant4 ebuild Benjamin Bannier
2008-03-03 15:03 ` Henry Gebhardt
@ 2008-03-03 19:42 ` Sébastien Fabbro
2008-03-03 20:37 ` Benjamin Bannier
1 sibling, 1 reply; 4+ messages in thread
From: Sébastien Fabbro @ 2008-03-03 19:42 UTC (permalink / raw
To: gentoo-science
[-- Attachment #1: Type: text/plain, Size: 465 bytes --]
On Monday 03 March 2008 02:36:15 Benjamin Bannier wrote:
> I put together an ebuild for geant-4.9.1 over the weekend.
Hi,
This is good news, Geant4 was on the sci team todo list for a while. Could
post it in bugzilla.gentoo.org and assign it to sci-physics [1]? I will give
some comments there and some other users already mentioned their interest in
the clhep bug.
Thanks,
--
Sébastien
[1] http://www.gentoo.org/doc/en/ebuild-submit.xml
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] Geant4 ebuild
2008-03-03 19:42 ` Sébastien Fabbro
@ 2008-03-03 20:37 ` Benjamin Bannier
0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Bannier @ 2008-03-03 20:37 UTC (permalink / raw
To: gentoo-science
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 3 Mar 2008 19:42:38 +0000
Sébastien Fabbro <bicatali@gentoo.org> wrote:
> Could post it in bugzilla.gentoo.org and assign it to sci-physics?
I was afraid of xeffects-like reactions on overlay-specific
dependencies, but here you are:
http://bugs.gentoo.org/show_bug.cgi?id=212221 for geant4
http://bugs.gentoo.org/show_bug.cgi?id=212223 for the data files
#212223 still needs to be taken by sci-physics, and bugzilla is very
sure the geant3 and geant4 are just different versions of the same
software (questionable).
b.
- --
"If we had asked people what they wanted they would have said 'a
faster horse'." --Henry Ford
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHzGGBVj4CPF3kbQwRAkS4AJ4ib3qI60L0X5d+3BKsd5L3Ln2C/ACgkleF
Y1P8DqlW/BTc44eoFa3Dyww=
=OaGP
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-03 20:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-03 2:36 [gentoo-science] Geant4 ebuild Benjamin Bannier
2008-03-03 15:03 ` Henry Gebhardt
2008-03-03 19:42 ` Sébastien Fabbro
2008-03-03 20:37 ` Benjamin Bannier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox