@@ -10,38 +10,13 @@ export DEBIAN_FRONTEND=noninteractive
1010
1111locale-gen en_US.UTF-8
1212
13- # Buggy versions of ld.bfd fail to link some Haskell packages:
14- # https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
15- # faster anyways and uses less RAM.
13+ # upstream ghc still defaults to ld.gold (though we should really switch to ld.bfd)
1614update-alternatives --install " /usr/bin/ld" " ld" " /usr/bin/ld.gold" 20
1715update-alternatives --install " /usr/bin/ld" " ld" " /usr/bin/ld.bfd" 10
1816
19- # install ocilib dependencies then build and install ocilib
20- cd /tmp \
21- && wget https://storage.googleapis.com/oracle.fpinsight.com/instantClient/oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \
22- && dpkg -i oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \
23- && rm -f oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \
24- && wget https://storage.googleapis.com/oracle.fpinsight.com/instantClient/oracle-instantclient12.1-devel_12.1.0.2.0-2_amd64.deb \
25- && dpkg -i oracle-instantclient12.1-devel_12.1.0.2.0-2_amd64.deb \
26- && rm -f oracle-instantclient12.1-devel_12.1.0.2.0-2_amd64.deb \
27- && wget https://github.com/vrogier/ocilib/archive/v4.3.2.tar.gz \
28- && tar xvf v4.3.2.tar.gz \
29- && cd /tmp/ocilib-4.3.2 \
30- && ./configure --with-oracle-import=linkage \
31- --with-oracle-charset=ansi \
32- --with-oracle-headers-path=/usr/include/oracle/12.1/client64 \
33- --with-oracle-lib-path=/usr/lib/oracle/12.1/client64/lib \
34- && make \
35- && make install \
36- && cd \
37- && rm -rf /tmp/ocilib-4.3.2 \
38- && echo " /usr/local/lib" > /etc/ld.so.conf.d/usr-local.conf \
39- && echo " /usr/lib/oracle/12.1/client64/lib" > /etc/ld.so.conf.d/oracle-client.conf \
40- && ldconfig
41-
42- # Add JDK to system paths.
43- echo " /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/" > /etc/ld.so.conf.d/openjdk.conf \
44- && ldconfig
17+ # # Add JDK to system paths.
18+ # echo "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server" > /etc/ld.so.conf.d/openjdk.conf \
19+ # && ldconfig
4520
4621# Install erlang/otp platform and its dependencies
4722ERLANG_DEB_FILE=" esl-erlang_21.1-1~ubuntu~bionic_amd64.deb"
@@ -51,25 +26,13 @@ pushd /tmp \
5126 && rm ${ERLANG_DEB_FILE} \
5227 && popd
5328
54- # Install the TensorFlow C API.
55- curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.1.0.tar.gz > libtensorflow.tar.gz \
56- && sudo tar zxf libtensorflow.tar.gz -C /usr \
57- && rm libtensorflow.tar.gz \
58- && ldconfig
59-
60- export CLANG_PURE_LLVM_LIB_DIR=/usr/lib/llvm-9/lib;
61- export CLANG_PURE_LLVM_INCLUDE_DIR=/usr/lib/llvm-9/include;
62-
6329# protoc, for proto-lens-combinators test suite
6430# Instructions from: https://google.github.io/proto-lens/installing-protoc.html
6531PROTOC_ZIP=protoc-3.3.0-linux-x86_64.zip
6632curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/$PROTOC_ZIP
6733sudo unzip -o $PROTOC_ZIP -d /usr bin/protoc
6834rm -f $PROTOC_ZIP
6935
70-
71- echo /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server > /etc/ld.so.conf.d/java.conf
72-
7336# Install librdkafka (Apache Kafka C/C++ library)
7437wget -qO - https://packages.confluent.io/deb/5.2/archive.key | apt-key add -
7538add-apt-repository " deb https://packages.confluent.io/deb/5.2 stable main"
@@ -84,17 +47,3 @@ Z3_VER=4.13.4
8447 && rm z3-${Z3_VER} -x64-glibc-2.35.zip \
8548 && ln -s /usr/local/z3-${Z3_VER} -x64-glibc-2.35/bin/z3 /usr/bin/z3
8649)
87-
88- LIBJWT_VER=1.12.1
89- (
90- pushd /tmp \
91- && wget https://github.com/benmcollins/libjwt/archive/v${LIBJWT_VER} .zip \
92- && unzip v${LIBJWT_VER} .zip \
93- && pushd libjwt-${LIBJWT_VER} \
94- && autoreconf -fiv \
95- && ./configure --disable-valgrind --disable-doxygen-doc --prefix /usr \
96- && make \
97- && sudo make install \
98- && popd \
99- && popd
100- )
0 commit comments