File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
building_dependencies/install_packages
release_distribution_scripts Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish UTBot as an archive
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ # branches: [main]
6
6
7
7
jobs :
8
8
publish :
Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ RUN echo "StrictHostKeyChecking no" >> /home/utbot/.ssh/config
127
127
128
128
USER root
129
129
ARG OPERATING_SYSTEM_TAG
130
+
131
+ # When we switch to Ubuntu 20 container, we may still need old libssl if we support Ubuntu < 18
132
+ # RUN "deb http://security.ubuntu.com/ubuntu bionic-security main" | sudo tee -a /etc/apt/sources.list
133
+ # RUN apt update && apt-cache policy libssl1.0-dev
134
+ # RUN apt install -y --no-install-recommends libssl1.0-dev
135
+
130
136
RUN if [[ "$OPERATING_SYSTEM_TAG" = "18.04" ]] ; then apt update && apt install -y --no-install-recommends nodejs-dev node-gyp libssl1.0-dev ; fi
131
137
RUN apt update && apt install -y --no-install-recommends nodejs npm openssh-server net-tools gdb vim-nox rsync
132
138
RUN pip3 install git+https://chromium.googlesource.com/external/gyp
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ shopt -s expand_aliases
16
16
# A grep command which clears out the output of apt-rdepends
17
17
alias grepdepends=' grep -v "^ " | grep -v "^libc-dev$" | grep -v "^debconf-2.0$" | grep -v "^libc6$" | grep -v "^libunwind8-dev$" | grep -v "^awk$"'
18
18
# Get all the dependencies of utbot
19
- apt-rdepends libsqlite3-dev libgoogle-perftools-dev libssl-dev python3-pip gzip make gcc-9 g++-9 | grepdepends > all.txt
19
+ apt-rdepends libsqlite3-dev libgoogle-perftools-dev libssl-dev libssl1.0-dev python3-pip gzip make gcc-9 g++-9 | grepdepends > all.txt
20
20
# Get all the dependencies of libc6-dev
21
21
apt-rdepends libc6-dev | grepdepends > debian-libc-dev.txt
22
22
# Get all the dependencies of utbot except all the dependencies of libc6-dev
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export UTBOT_ALL=$CURRENT_FOLDER
24
24
export UTBOT_INSTALL_DIR=$UTBOT_ALL /install
25
25
export CC=$UTBOT_ALL /debs-install/usr/bin/gcc-9
26
26
export CXX=$UTBOT_ALL /debs-install/usr/bin/g++-9
27
- export CPATH=$CPATH : $ UTBOT_ALL /klee/include # Path for C and C++ includes
27
+ export CPATH=$UTBOT_ALL /klee/include: $CPATH # Path for C and C++ includes
28
28
export PATH=$UTBOT_ALL /bear/bin:$UTBOT_ALL /klee/bin:$UTBOT_INSTALL_DIR /bin:$PATH
29
29
export KLEE_RUNTIME_LIBRARY_PATH=$UTBOT_ALL /klee/lib/klee/runtime/
30
30
@@ -34,8 +34,8 @@ IS_SUSE="$(grep '^NAME=' /etc/os-release | tr '[:upper:]' '[:lower:]' | grep sus
34
34
# Setting environment variables for debian packages
35
35
export PATH=$UTBOT_ALL /debs-install/usr/bin:$PATH
36
36
export LD_LIBRARY_PATH=$UTBOT_ALL /debs-install/usr/lib/x86_64-linux-gnu:$UTBOT_ALL /debs-install/lib/x86_64-linux-gnu:$UTBOT_ALL /debs-install/usr/lib:$UTBOT_ALL /install/lib
37
- export CPATH=$CPATH : $ UTBOT_ALL /debs-install/usr/include:$UTBOT_ALL /debs-install/usr/include/x86_64-linux-gnu/
38
- export C_INCLUDE_PATH=$C_INCLUDE_PATH : $ UTBOT_ALL /debs-install/usr/include:$UTBOT_ALL /debs-install/usr/lib/gcc/x86_64-linux-gnu/9/include/
37
+ export CPATH=$UTBOT_ALL /debs-install/usr/include:$UTBOT_ALL /debs-install/usr/include/x86_64-linux-gnu/: $CPATH
38
+ export C_INCLUDE_PATH=$UTBOT_ALL /debs-install/usr/include:$UTBOT_ALL /debs-install/usr/lib/gcc/x86_64-linux-gnu/9/include/: $C_INCLUDE_PATH
39
39
export CPLUS_INCLUDE_PATH=$UTBOT_ALL /debs-install/usr/include/c++/9:$UTBOT_ALL /debs-install/usr/include/x86_64-linux-gnu/c++/9:$UTBOT_ALL /debs-install/usr/include/c++/9/backward:$UTBOT_ALL /debs-install/usr/include
40
40
export LDFLAGS=" -fuse-ld=gold -B $UTBOT_ALL /debs-install/usr/lib/gcc/x86_64-linux-gnu/9/ -L $UTBOT_ALL /debs-install/usr/lib/gcc/x86_64-linux-gnu/9/ -B $UTBOT_ALL /debs-install/usr/lib/x86_64-linux-gnu/ -L $UTBOT_ALL /debs-install/usr/lib/x86_64-linux-gnu/ -L$UTBOT_ALL /debs-install/usr/lib64/ -B $UTBOT_ALL /debs-install/usr/lib64/ -L /lib64/ -B /lib64/" # Paths for object files and libraries with which compiler should link the project
41
41
# This function moves dev version of libc into $UTBOT_ALL/debs-install directory
You can’t perform that action at this time.
0 commit comments