File tree Expand file tree Collapse file tree 5 files changed +861
-1064
lines changed
Expand file tree Collapse file tree 5 files changed +861
-1064
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN apt-get update && \
1010RUN pip3 install pytest
1111
1212# Copy CIF source code
13- COPY cif.c Makefile $CIF_SRC
13+ COPY cif.cpp Makefile $CIF_SRC
1414COPY aspectator $CIF_SRC/aspectator
1515COPY .git $CIF_SRC/.git
1616COPY tests $CIF_SRC/tests
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN ./configure --enable-local
3030RUN 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
3434COPY --chown=builduser:builduser aspectator $CIF_SRC/aspectator
3535COPY --chown=builduser:builduser .git $CIF_SRC/.git
3636COPY --chown=builduser:builduser tests $CIF_SRC/tests
Original file line number Diff line number Diff line change 3939cif :
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
4444build/install : uninstall install-keep-previous-instances
4545
You can’t perform that action at this time.
0 commit comments