Skip to content

Commit 8b10582

Browse files
committed
improved build system, improved buffer sizes for large number of input samples
1 parent 75fde43 commit 8b10582

File tree

10 files changed

+983
-389
lines changed

10 files changed

+983
-389
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
!/postprocessing
99
!/build_tools
1010
!Makefile
11+
!refresh.mk
1112
!download_kmc.py
1213
!hash.git
1314
!.git/

Dockerfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
FROM ubuntu:23.10
1+
FROM ubuntu:24.04
22

33
WORKDIR /home/ubuntu
44

5+
# designed to be used from build_docker.py, if not specified will be not set for `make`
6+
# I'm using below syntax ${PLATFORM:+PLATFORM=$PLATFORM} which will add PLATFORM=... only if PLATFORM was defined
7+
ARG PLATFORM
8+
59
#it seems docker v 24 works, but v 20 does not because of the rules in dockerignore
610
COPY . src
711
RUN \
812
apt-get update -y \
9-
&& apt-get install -y cmake make python3 g++ wget time git \
13+
&& apt-get install -y cmake make automake python3 g++ wget time git \
1014
&& cp -r src build \
1115
&& cd build \
12-
&& make -j \
16+
&& make ${PLATFORM:+PLATFORM=$PLATFORM} -j \
1317
&& make install \
1418
&& cd .. \
1519
&& rm -rf build \
16-
&& apt-get remove -y cmake make wget g++ git \
20+
&& apt-get remove -y cmake make automake wget g++ git \
1721
&& apt-get autoremove -y \
1822
&& apt-get clean \
1923
&& rm -rf src/.git \

0 commit comments

Comments
 (0)