Skip to content
Snippets Groups Projects
Commit fe41c120 authored by petrush's avatar petrush
Browse files

Updates to make relative reference to java-jdk to work

parent 44be6740
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,16 @@ ...@@ -2,6 +2,16 @@
# add --shared for building shared version # add --shared for building shared version
# classes directly on the list are wrapped as well as the jar's # classes directly on the list are wrapped as well as the jar's
# This section is setting up the build to use the coda package java-jdk
export JCC_JDK=$PREFIX
export JAVA_HOME=$JCC_JDK
export JAVAHOME=$JCC_JDK
export LD_LIBRARY_PATH=$PREFIX/jre/lib/amd64/server:$PREFIX/jre/lib/amd64:$LD_LIBRARY_PATH
export JCC_ARGSEP=";"
export JCC_INCLUDES="$PREFIX/include;$PREFIX/include/linux"
export JCC_LFLAGS="-L$PREFIX/jre/lib/amd64;-ljava;-L$PREFIX/jre/lib/amd64/server;-ljvm;-lverify;-Wl,-rpath=$PREFIX/jre/lib/amd64:$PREFIX/jre/lib/amd64/server"
export JCC_JAVAC=$PREFIX/bin/javac
$PYTHON -m jcc \ $PYTHON -m jcc \
--use_full_names \ --use_full_names \
......
...@@ -15,6 +15,10 @@ build: ...@@ -15,6 +15,10 @@ build:
# 0 - orekit 8.0 release version of orekit 2016-07-03 # 0 - orekit 8.0 release version of orekit 2016-07-03
#has_prefix_files: #has_prefix_files:
# Lib/site-packages/orekit/__init__.py # Lib/site-packages/orekit/__init__.py
rpaths:
- lib/
- jre/lib/amd64/
- jre/lib/amd64/server/
requirements: requirements:
...@@ -24,6 +28,7 @@ requirements: ...@@ -24,6 +28,7 @@ requirements:
- setuptools - setuptools
- java-jdk #[linux] - java-jdk #[linux]
run: run:
- python - python
- java-jdk [linux] - java-jdk [linux]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment