storlets/install_libs.sh
Takashi Kajinami 1315cf9c36 Pick up jdk version from environment
... instead of hard-coding the version in ant build file.

Change-Id: I382803ee7c557e02fc02bda53f140b46aa0f2146
2024-02-10 14:22:55 +09:00

18 lines
398 B
Bash
Executable File

#!/bin/bash
#
# Install required libraries written in c and java
#
# NOTE: The libraries are currently installed under /usr/lib/storlets
# so you may need root privilege to execute this script
set -x
STORLETS_JDK_VERSION=${STORLETS_JDK_VERSION:-11}
# install c library
cd src/c/sbus
make && make install
cd -
# Install java library
STORLETS_JDK_VERSION=${STORLETS_JDK_VERSION} ant install