-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Chips is awesome! I want to spread this program to various platforms.
For POSIX platforms
#!/bin/bash
# Requirements: libgmp git stack strip upx zip
export TARGET="x86_64-linux" && \
git clone https://github.com/xtendo-org/chips.git --depth=1 --branch=1.1.2 && \
cd chips && \
stack setup && \
stack build && \
cp .stack-work/install/"$TARGET"/nightly-2016-10-29/8.0.1/bin/chips chips-"$TARGET" && \
strip --strip-all --remove-section=.comment --remove-section=.note chips-"$TARGET" && \
upx -9 --lzma chips-"$TARGET" && \
zip chips-"$TARGET".zip chips-"$TARGET" && \
rm chips-"$TARGET"For macOS
#!/bin/bash
# Requirements: libgmp git stack strip upx zip
export TARGET="x86_64-osx" && \
git clone https://github.com/xtendo-org/chips.git --depth=1 --branch=1.1.2 && \
cd chips && \
stack setup && \
stack build && \
cp .stack-work/install/"$TARGET"/nightly-2016-10-29/8.0.1/bin/chips chips-"$TARGET" && \
strip -u -r chips-"$TARGET" && \
upx -9 --lzma chips-"$TARGET" && \
zip chips-"$TARGET".zip chips-"$TARGET" && \
rm chips-"$TARGET"TODOs
- x86_64-linux → https://github.com/xtendo-org/chips/releases/tag/1.1.2
- i386-linux → chips-i386-linux.zip
- x86_64-osx → https://github.com/xtendo-org/chips/releases/tag/1.1.2 (Sierra support only)
- aarch64-linux (I don't have a machine with this ISA)
- armv7-linux (I don't have a machine with this ISA)
- x86_64-windows
- i386-windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels