Skip to content
Snippets Groups Projects
Commit 0524fd81 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Fixed build for 32bit builds.

parent 9ae39c01
No related branches found
No related tags found
No related merge requests found
FROM openjdk:8
RUN set -ex && apt-get update && apt-get upgrade -y && apt-get install -y build-essential ocl-icd-opencl-dev libtool autoconf autotools-dev automake maven --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN set -ex && apt-get update && apt-get upgrade -y && apt-get install -y build-essential ocl-icd-opencl-dev libtool autoconf autotools-dev automake maven gcc-multilib g++-multilib --no-install-recommends && dpkg --add-architecture i386 && apt-get update && apt-get install -y ocl-icd-opencl-dev:i386 --no-install-recommends && rm -rf /var/lib/apt/lists/*
COPY . /usr/src/app
WORKDIR /usr/src/app
......
......@@ -8,6 +8,7 @@ automake --add-missing
./configure
make
mv .libs .libs64
make clean
./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
make
mv .libs .libs32
......@@ -2,7 +2,7 @@ version: '3'
services:
aparapi_native_builder:
container_name: aparapi_native_builder
image: 'aparapi/aparapi-native-builder'
image: 'aparapi/aparapi-native-builder:latest'
build:
context: .
user: "$UID:$GID"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment