[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
petscvariables: hardwired build dir instead of install dir
- To: petsc-dev@xxxxxxxxxxx
- Subject: petscvariables: hardwired build dir instead of install dir
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Sat, 22 Mar 2008 10:28:50 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=tEORmyg4xgxAWm9pVUBYPgBs3cLr2yoNlO7mkUNr9tU=; b=mJRdKAc7B4Dz5NX8BI5o/fHu4sa6E4fS0nWH2/R+GRDxXj7qybXPcocqLYW347713bGpaFqOC9u4WhRLLLkKU6GikP1CZ2lPv1vPJzcXelcz09awxDVQQ/BdAv9yoQIuk2YacA8ES1yzbG1dXrB39zujl69BpqnccJbuMpg49bk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Nnn809BOVuLppcnWzNChpaXZZfMv6thJ1xz4+gZO8rdLADsuQzxCqp9v790X3PXPnB6H8cTd0hlCKoNU6N5SN6PdFJ6HVy/AZ2MbpSJZFMllpJCyZ+hQ7/fZEU88UmL+AOyIR56dzqN9XGg0c2JoYo13VCTNQhM7E2YL2OAtji8=
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
Barry, I noticed that in the 'petscvariables' file, some of the config
vars for external packages (XXX_INCLUDE and XXX_LIB) have hardwired
the build dir as basepath, instead of the install dir given with
--prefix. This smells bad, but I'm not sure. What do you think? I tend
to think that every dir/file inside $PETSC_DIR should have its
basepath defined in terms of
"$PETSC_DIR/$PETSC_ARCH/innerdir[/filename.ext]".
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594