Skip to content

Commit

Permalink
Add x86 cross compilation packages (#12)
Browse files Browse the repository at this point in the history
Also usefull for running clang-tidy on -m32 builds

Co-authored-by: Łukasz Mitka <[email protected]>
  • Loading branch information
darklukee and lukasz-mitka authored Oct 21, 2020
1 parent e2fd601 commit 649afb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ RUN set -x -e; \
; \
rm -rf /var/lib/apt/lists/*

# x86 cross compilation
RUN set -x -e; \
# dpkg --add-architecture i386; \
apt-get -y update; \
apt-get -y install --no-install-recommends \
g++-multilib \
linux-libc-dev-i386-cross \
; \
rm -rf /var/lib/apt/lists/*

# Cross compilation for Windows: MinGW, boost, zlib, OpenSSL
RUN set -x -e; \
SOURCES_DIR="/home/sources"; \
Expand Down

0 comments on commit 649afb5

Please sign in to comment.