← Back to team overview

yade-dev team mailing list archive

[Bug 1131145] [NEW] cmake inserts compiled code into trunk folder when using relative path

 

Public bug reported:

- this works well:

cmake -DINSTALL_PREFIX=/home/me/YADE/YADEinstalled/ /home/me/YADE/trunk/
make 
make install

- this not:

cd /home/me/YADE/YADEinstalled/
cmake -DINSTALL_PREFIX=. /home/me/YADE/trunk/
make 
make install

-> it includes bin, share and lib/yade-2013-02-20.git-6bf84aa/ into
trunk folder:

me@debian ~/YADE/YADEinstalled >make install
[  1%] Built target miniEigen
[  9%] Built target support
[ 21%] Built target core
[ 25%] Built target _GLViewer
[ 89%] Built target plugins
[ 90%] Built target boot
[ 90%] Built target WeightedAverage2d
[ 91%] Built target _customConverters
[ 91%] Built target _eudoxos
[ 97%] Built target _gts
[ 97%] Built target _packObb
[ 98%] Built target _packPredicates
[ 98%] Built target _packSpheres
[ 99%] Built target _utils
[100%] Built target wrapper
Install the project...
-- Install configuration: "Release"                                                                                                                                                              
-- Installing: /home/me/YADE/trunk/bin/yade-2013-02-20.git-6bf84aa-batch
-- Installing: /home/me/YADE/trunk/bin/yade-2013-02-20.git-6bf84aa
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/config.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/__init__.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkGravity.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestDummy.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkList.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestTriax.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkWeight.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestNormalInelasticity.py
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/data/WallStressesCheckTest
-- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/data/checkTestTriax.spheres
-- Installing: /home/me/YADE/trunk/share/doc/yade-2013-02-20.git-6bf84aa/img/yade-logo-note.png

...

** Affects: yade
     Importance: Medium
         Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1131145

Title:
  cmake inserts compiled code into trunk folder when using relative path

Status in Yet Another Dynamic Engine:
  New

Bug description:
  - this works well:

  cmake -DINSTALL_PREFIX=/home/me/YADE/YADEinstalled/ /home/me/YADE/trunk/
  make 
  make install

  - this not:

  cd /home/me/YADE/YADEinstalled/
  cmake -DINSTALL_PREFIX=. /home/me/YADE/trunk/
  make 
  make install

  -> it includes bin, share and lib/yade-2013-02-20.git-6bf84aa/ into
  trunk folder:

  me@debian ~/YADE/YADEinstalled >make install
  [  1%] Built target miniEigen
  [  9%] Built target support
  [ 21%] Built target core
  [ 25%] Built target _GLViewer
  [ 89%] Built target plugins
  [ 90%] Built target boot
  [ 90%] Built target WeightedAverage2d
  [ 91%] Built target _customConverters
  [ 91%] Built target _eudoxos
  [ 97%] Built target _gts
  [ 97%] Built target _packObb
  [ 98%] Built target _packPredicates
  [ 98%] Built target _packSpheres
  [ 99%] Built target _utils
  [100%] Built target wrapper
  Install the project...
  -- Install configuration: "Release"                                                                                                                                                              
  -- Installing: /home/me/YADE/trunk/bin/yade-2013-02-20.git-6bf84aa-batch
  -- Installing: /home/me/YADE/trunk/bin/yade-2013-02-20.git-6bf84aa
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/config.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/__init__.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkGravity.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestDummy.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkList.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestTriax.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkWeight.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/checkTestNormalInelasticity.py
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/data/WallStressesCheckTest
  -- Installing: /home/me/YADE/trunk/lib/yade-2013-02-20.git-6bf84aa/py/yade/tests/checks/data/checkTestTriax.spheres
  -- Installing: /home/me/YADE/trunk/share/doc/yade-2013-02-20.git-6bf84aa/img/yade-logo-note.png

  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1131145/+subscriptions


Follow ups

References