Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not include libboost-context in the jar
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Jan 2016 15:28:28 +0000 (16:28 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 22 Jan 2016 15:28:32 +0000 (16:28 +0100)
commit5e0c3460eaee4b882d552124c15f7f5825494831
tree373a184bb0960a354c8e8c01981951c99d327028
parentb4edb5802354b486c2896379f5c6e188e67f2d5a
do not include libboost-context in the jar

- This is difficult because we may need to include libboost-chrono or
  other libraries.
- This breaks the tests on some systems because of messages similar to
  | OpenJDK Client VM warning: You have loaded library
  | /tmp/simgrid-java7021501405032421762/libboost_context.so which might
  | have disabled stack guard. The VM will try to fix the stack guard now.
- This make it difficult to build the jar on windows while allowing
  parallel build.

So don't include the external libraries in the jar at all. We will
have to generate the native libraries with no dependencies for the
stable releases.
tools/cmake/Java.cmake