update to fedora 36, massive build speedups (Thanks Felix!)
This commit is contained in:
parent
55978cc2a3
commit
3158f60709
56
Dockerfile
56
Dockerfile
@ -1,38 +1,34 @@
|
||||
FROM fedora:31
|
||||
FROM fedora:36
|
||||
|
||||
LABEL description="Build environment for bananatools"
|
||||
|
||||
RUN yum -y install meson
|
||||
RUN yum -y install ninja-build
|
||||
RUN yum -y install make
|
||||
RUN yum -y install zip
|
||||
RUN yum -y install clang
|
||||
RUN yum -y install mingw64-gcc.x86_64
|
||||
RUN yum -y install mingw32-gcc.x86_64
|
||||
RUN yum -y install git
|
||||
RUN dnf -y install meson ninja-build make zip clang mingw64-gcc.x86_64 mingw32-gcc.x86_64 git
|
||||
|
||||
RUN mkdir /bananatools
|
||||
WORKDIR /bananatools
|
||||
|
||||
COPY hooklib hooklib
|
||||
COPY ferrumhook ferrumhook
|
||||
COPY ferrumio ferrumio
|
||||
COPY taikohook taikohook
|
||||
COPY taikoio taikoio
|
||||
COPY platform platform
|
||||
COPY subprojects subprojects
|
||||
COPY gfxhook gfxhook
|
||||
COPY jvs jvs
|
||||
COPY amcus amcus
|
||||
COPY board board
|
||||
COPY util util
|
||||
COPY dist dist
|
||||
COPY cross-mingw-32.txt cross-mingw-32.txt
|
||||
COPY cross-mingw-64.txt cross-mingw-64.txt
|
||||
COPY Makefile Makefile
|
||||
COPY meson.build meson.build
|
||||
COPY Package.mk Package.mk
|
||||
COPY precompiled.h precompiled.h
|
||||
COPY README.md README.md
|
||||
VOLUME [ "/bananatools" ]
|
||||
|
||||
RUN make dist
|
||||
# COPY hooklib hooklib
|
||||
# COPY ferrumhook ferrumhook
|
||||
# COPY ferrumio ferrumio
|
||||
# COPY taikohook taikohook
|
||||
# COPY taikoio taikoio
|
||||
# COPY platform platform
|
||||
# COPY subprojects subprojects
|
||||
# COPY gfxhook gfxhook
|
||||
# COPY jvs jvs
|
||||
# COPY amcus amcus
|
||||
# COPY board board
|
||||
# COPY util util
|
||||
# COPY dist dist
|
||||
# COPY cross-mingw-32.txt cross-mingw-32.txt
|
||||
# COPY cross-mingw-64.txt cross-mingw-64.txt
|
||||
# COPY Makefile Makefile
|
||||
# COPY meson.build meson.build
|
||||
# COPY Package.mk Package.mk
|
||||
# COPY precompiled.h precompiled.h
|
||||
# COPY README.md README.md
|
||||
|
||||
#RUN make dist
|
||||
ENTRYPOINT [ "make", "dist" ]
|
||||
|
@ -3,7 +3,6 @@ amcus_lib = static_library(
|
||||
include_directories : inc,
|
||||
implicit_include_directories : false,
|
||||
c_pch : '../precompiled.h',
|
||||
vs_module_defs : 'amcus.def',
|
||||
dependencies : [
|
||||
capnhook.get_variable('hook_dep'),
|
||||
],
|
||||
|
@ -13,7 +13,7 @@ if ERRORLEVEL 1 (
|
||||
goto failure
|
||||
)
|
||||
|
||||
docker create --name %CONTAINER_NAME% %IMAGE_NAME%
|
||||
docker run -it --rm -v %~dp0:/bananatools --name %CONTAINER_NAME% %IMAGE_NAME%
|
||||
|
||||
if ERRORLEVEL 1 (
|
||||
goto failure
|
||||
@ -22,9 +22,8 @@ if ERRORLEVEL 1 (
|
||||
rd /s /q "!BUILD_OUTPUT_PATH!"
|
||||
mkdir "!BUILD_OUTPUT_PATH!"
|
||||
|
||||
docker cp %CONTAINER_NAME%:/bananatools/build/zip %BUILD_OUTPUT_PATH%
|
||||
REM docker cp %CONTAINER_NAME%:/bananatools/build/zip %BUILD_OUTPUT_PATH%
|
||||
|
||||
docker rm -f %CONTAINER_NAME%
|
||||
docker image rm -f %IMAGE_NAME%
|
||||
|
||||
goto success
|
||||
|
@ -20,7 +20,7 @@
|
||||
void amfw_dongle_insert_hooks(HMODULE target);
|
||||
|
||||
static int my_nbamUsbFinderInitialize();
|
||||
static int my_nbamUsbFinderGetSerialNumber(int a1, char *serial);
|
||||
static int my_nbamUsbFinderGetSerialNumber(int a1, char serial[32]);
|
||||
static int my_nbamUsbFinder_GetInformation(int a1, int a2, uint64_t a3, uint16_t a4, void *a5);
|
||||
|
||||
static const struct hook_symbol dongle_hooks[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user