[petsc-dev] buildsystem: cusp location

Jed Brown jedbrown at mcs.anl.gov
Sun Mar 25 16:45:26 CDT 2012


On Sun, Mar 25, 2012 at 16:37, Satish Balay <balay at mcs.anl.gov> wrote:

> echo "export CUSP_PATH=/usr/include" > $pkgdir/etc/profile.d/${pkgname}.sh
> <<<<
>
> Isn't this contradictary to the prefix rule you mentioned before?
>




>
> Also - do they package cuda aswell? If so where is is installed [wrt
> includes]?
>

/opt/cuda-toolkit/

with a somewhat normal layout underneath. The cusp package is actually
kinda amateur because it should also go in /opt/cuda-toolkit according to
archlinux conventions. Thrust (packaged with latest cuda-toolkit) is in
/opt/cuda-toolkit/include/thrust/*.h.

The package couldn't install to /usr as normally recommended because CUDA
insists on a non-conforming directory layout
(/opt/cuda-toolkit/{libnvvp,open64,tools}).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120325/d3ee680c/attachment.html>


More information about the petsc-dev mailing list