Opened 12 years ago
Closed 12 years ago
#36230 closed defect (fixed)
eigen3 does not appear to install any architecture-specific files
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | eigen3 |
Description
The eigen3 port has a universal variant, and even contains lots of code for handling the universal variant—but the port doesn't seem to actually install any architecture-specific files, so it shouldn't have a universal variant, and should instead specify "supported_archs noarch".
$ port installed eigen3 The following ports are currently installed: eigen3 @3.1.1_1+cmake+universal (active) $ port -q contents eigen3 | xargs file | grep 86 $
Unless of course the port is supposed to be installing some architecture-specific files and isn't, in which was that should be fixed.
Change History (3)
comment:1 Changed 12 years ago by eborisch (Eric A. Borisch)
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, a port should correctly indicate the architectures of the files it will install. If you're not installing architecture-specific files, you should use "supported_archs noarch". That would turn off the automatic universal variant, but since eigen3 is adding a manual universal variant you may need to manually disable it (or only declare it in the first place inside the blas variant).
I also see gcc variants. Does it make sense to select them if the blas variant is not also selected? Since there doesn't seem to be anything else to compile.
comment:3 Changed 12 years ago by eborisch (Eric A. Borisch)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Resolved in r98001. When installed w/o +blas, disable universal variant (set noarch). Warn when +gcc4N selected w/o +blas.
The +blas variant installs a library. Should it change its universal-ness based on the variant being enabled?