Building a source distribution using autotools adds GPL-licenced files into the the sources. Although redistribution of theses files is explicitly allowed with an exception, these are not used by Polly which uses a CMake replacement. Use the direct source checkout instead (replacing the output of 'make dist'). Some m4 scripts with the same licence are also included in isl/ppcg repository. Removing them renders the autotools-based build scipts inoperable, so remove the autotools build system altogether.
15 lines
331 B
Docker
15 lines
331 B
Docker
# Build IMath and run tests with GCC on Linux.
|
|
#
|
|
# Usage (from the imath root):
|
|
#
|
|
# docker run --rm -it "$(docker build -f tests/linux/Dockerfile -q .)"
|
|
#
|
|
FROM alpine:latest AS base
|
|
|
|
RUN apk add --no-cache bash build-base gcc gmp-dev make python2
|
|
|
|
FROM base AS test
|
|
COPY . /imath
|
|
WORKDIR /imath
|
|
CMD make distclean examples check
|