-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Updates the Dockerfile to the same image and flags as the CI. 2. Sets `-O2` as the default CMake Release flag rather than passing it in a custom way.
- Loading branch information
Showing
3 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
FROM amigadev/crosstools:m68k-amigaos | ||
|
||
RUN apt-get install --no-install-recommends -y smpq | ||
RUN mkdir /devilutionx-deps-build | ||
COPY Packaging/amiga/prep.sh /devilutionx-deps-build/prep.sh | ||
RUN cd /devilutionx-deps-build && ./prep.sh | ||
|
||
CMD PKG_CONFIG_PATH=/opt/m68k-amigaos/usr/lib/pkgconfig/:/opt/m68k-amigaos/usr/share/pkgconfig/ \ | ||
cmake -S. -Bbuild-amiga -DCMAKE_BUILD_TYPE=Release -DCPACK=ON -DM68K_CPU=68040 -DM68K_FPU=hard \ | ||
-DM68K_COMMON="-s -ffast-math -O3 -noixemul -D__BIG_ENDIAN__ -D__AMIGA__ -fpermissive" && \ | ||
cmake --build build-amiga -j $(nproc) | ||
FROM amigadev/crosstools:m68k-amigaos-gcc10 | ||
|
||
RUN apt-get install --no-install-recommends -y smpq | ||
RUN mkdir /devilutionx-deps-build | ||
COPY Packaging/amiga/prep.sh /devilutionx-deps-build/prep.sh | ||
RUN cd /devilutionx-deps-build && ./prep.sh | ||
|
||
CMD cmake -S. -Bbuild-amiga -DCPACK=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DM68K_CPU=68040 \ | ||
-DM68K_FPU=hard \ | ||
-DM68K_COMMON="-s -fbbb=- -ffast-math" && \ | ||
cmake --build build-amiga -j $(nproc) |