Skip to content

Commit

Permalink
Merge pull request #18 from KoalaSat/add-x86_64-architecture
Browse files Browse the repository at this point in the history
Add x86_64 architecture
  • Loading branch information
KoalaSat authored Jul 31, 2024
2 parents 424a297 + d8aca9f commit c95a9f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup target add \
aarch64-linux-android \
armv7-linux-androideabi \
x86_64-linux-android \
&& rustup toolchain install nightly \
&& rustup target add --toolchain nightly \
aarch64-linux-android \
armv7-linux-androideabi
armv7-linux-androideabi \
x86_64-linux-android

ENV PATH="${PATH}:${NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin"

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ services:
target: robonames
volumes:
- ./builds/java/robonames:/root/target/:rw
command: cargo ndk -t armeabi-v7a -t arm64-v8a -o ./target build --release
command: cargo ndk -t armeabi-v7a -t arm64-v8a -t x86_64 -o ./target build --release
rust_java_robohash:
build:
context: .
dockerfile: ./Dockerfile
target: robohash
volumes:
- ./builds/java/robohash:/root/target/:rw
command: cargo ndk -t armeabi-v7a -t arm64-v8a -o ./target build --release
command: cargo ndk -t armeabi-v7a -t arm64-v8a -t x86_64 -o ./target build --release

0 comments on commit c95a9f5

Please sign in to comment.