Files
clang-p2996/polly/lib/External/isl/imath/tests/linux/Dockerfile
Michael Kruse 658eb9e142 [Polly] Remove autotools build systems from Externals. NFC.
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.
2021-09-15 17:11:15 -05:00

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