chore: initialise fork

Former-commit-id: 5065b2cb02b02093c42e21dedd7983d19a62232d
Former-commit-id: f92b7f776b8e260643de1d6fa1040f426137b4e1
This commit is contained in:
Muhammad Nauman Raza 2024-03-22 19:37:29 +00:00
parent cb64e01794
commit da4a9bf216
2 changed files with 2 additions and 38 deletions

View file

@ -5,7 +5,6 @@ members = [
"utils",
"platform/rustboyadvance-sdl2",
"platform/rustboyadvance-libretro",
# "platform/rustboyadvance-minifb", - DEPRECATED
"platform/rustboyadvance-wasm",
"platform/rustboyadvance-jni",
"fps_bench"
@ -13,13 +12,12 @@ members = [
default-members = ["platform/rustboyadvance-sdl2"]
[profile.dev]
opt-level = 2
debug = true
[profile.release]
debug = false
strip = true
[profile.release-dev]
inherits = "release"

View file

@ -1,34 +0,0 @@
FROM npetrovsky/docker-android-sdk-ndk
# Update default packages
RUN apt-get update
# Get Ubuntu packages
RUN apt-get install -y \
build-essential \
curl
# Update new packages
RUN apt-get update
# Get Rust
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
RUN . $HOME/.cargo/env && rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android
ENV NDK=$ANDROID_HOME/ndk-bundle
RUN echo \
'[target.aarch64-linux-android]\n'\
'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/aarch64-linux-android/bin/ar "\n'\
'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang"\n'\
\
'[target.armv7-linux-androideabi]\n'\
'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ar "\n'\
'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi26-clang"\n'\
\
'[target.i686-linux-android]\n'\
'ar = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/i386-linux-android/bin/ar"\n'\
'linker = "/opt/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android26-clang"' > $HOME/.cargo/config