Skip to content

Commit dce2c60

Browse files
committed
Merge branch '17451k-master'
2 parents 227d738 + ff8e969 commit dce2c60

File tree

5 files changed

+861
-1064
lines changed

5 files changed

+861
-1064
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update && \
1010
RUN pip3 install pytest
1111

1212
# Copy CIF source code
13-
COPY cif.c Makefile $CIF_SRC
13+
COPY cif.cpp Makefile $CIF_SRC
1414
COPY aspectator $CIF_SRC/aspectator
1515
COPY .git $CIF_SRC/.git
1616
COPY tests $CIF_SRC/tests

Dockerfile.cross

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN ./configure --enable-local
3030
RUN make
3131

3232
# Copy CIF source code
33-
COPY --chown=builduser:builduser cif.c Makefile $CIF_SRC
33+
COPY --chown=builduser:builduser cif.cpp Makefile $CIF_SRC
3434
COPY --chown=builduser:builduser aspectator $CIF_SRC/aspectator
3535
COPY --chown=builduser:builduser .git $CIF_SRC/.git
3636
COPY --chown=builduser:builduser tests $CIF_SRC/tests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ all:
3939
cif:
4040
mkdir -p build
4141
# You need to add option "-g" below to get a debug version of CIF.
42-
gcc -D CIF_VERSION=\"$(CIF_VERSION)\" -Wall -Werror -O2 cif.c -o build/cif
42+
g++ -D CIF_VERSION=\"$(CIF_VERSION)\" -Wall -Werror -O2 --std=c++17 cif.cpp -o build/cif
4343

4444
build/install: uninstall install-keep-previous-instances
4545

0 commit comments

Comments
 (0)