Merge pull request #50359 from jfrankenau/gurobi-java

gurobi: install Java library files
This commit is contained in:
Renaud 2018-11-15 14:13:47 +01:00 committed by GitHub
commit 650036f022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,9 +33,15 @@ stdenv.mkDerivation rec {
cp include/gurobi*.h $out/include/
mkdir -p $out/lib
cp lib/*.jar $out/lib/
cp lib/libGurobiJni*.so $out/lib/
cp lib/libgurobi*.so* $out/lib/
cp lib/libgurobi*.a $out/lib/
cp src/build/*.a $out/lib/
mkdir -p $out/share/java
ln -s $out/lib/gurobi.jar $out/share/java/
ln -s $out/lib/gurobi-javadoc.jar $out/share/java/
'';
meta = with stdenv.lib; {