Closed stephan57160 closed 1 year ago
Some generated scripts are built with $(USE.PROJECT)_ROOT and some others are built with $(USE.LIBNAME)_ROOT
$(USE.PROJECT)_ROOT
$(USE.LIBNAME)_ROOT
This inconsistency is not seen with CZMQ.
With ZYRE, this gives (for instance):
bindings/jni/ci_build.sh set LIBCZMQ_ROOT:
android_init_dependency_root "libczmq" # Check or initialize LIBCZMQ_ROOT
builds/android/build.sh expects CZMQ_ROOT:
if [ ! -d "${CZMQ_ROOT}" ] ; then
Solution: Replace $(USE.LIBNAME)_ROOT by $(USE.PROJECT)_ROOT and similar.
Important:
This will affect ZYRE, when using recent commits, and especially like below:
export LIBCZMQ_ROOT=xxx cd bindings/jni/zyre-jni/android/build.sh: ./build.sh [arm|arm64|x86|x86_64]
The same call becomes:
export CZMQ_ROOT=xxx cd bindings/jni/zyre-jni/android/build.sh: ./build.sh [arm|arm64|x86|x86_64]
or similar with bindings/jni/ci_build.sh.
bindings/jni/ci_build.sh
Note:
USE.LIBNAME was mistakenly introduced in a recent PR of mine.
Some generated scripts are built with
$(USE.PROJECT)_ROOT
and some others are built with$(USE.LIBNAME)_ROOT
This inconsistency is not seen with CZMQ.
With ZYRE, this gives (for instance):
bindings/jni/ci_build.sh set LIBCZMQ_ROOT:
android_init_dependency_root "libczmq" # Check or initialize LIBCZMQ_ROOT
builds/android/build.sh expects CZMQ_ROOT:
if [ ! -d "${CZMQ_ROOT}" ] ; then
Solution: Replace
$(USE.LIBNAME)_ROOT
by$(USE.PROJECT)_ROOT
and similar.Important:
This will affect ZYRE, when using recent commits, and especially like below:
The same call becomes:
or similar with
bindings/jni/ci_build.sh
.Note:
USE.LIBNAME was mistakenly introduced in a recent PR of mine.