This commit is contained in:
parent
4a2877f28b
commit
ae937d8339
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ get-libs:
|
||||||
|
|
||||||
# TODO: add support for ARM64 via cross-compilation
|
# TODO: add support for ARM64 via cross-compilation
|
||||||
invidious: get-libs
|
invidious: get-libs
|
||||||
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace
|
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace --mcpu=x86-64-v3
|
||||||
|
|
||||||
|
|
||||||
run: invidious
|
run: invidious
|
||||||
|
|
|
@ -20,10 +20,10 @@ COPY ./assets/ ./assets/
|
||||||
COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
|
COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
|
||||||
|
|
||||||
RUN crystal spec --warnings all \
|
RUN crystal spec --warnings all \
|
||||||
--link-flags "-lxml2 -llzma"
|
--link-flags "-lxml2 -llzma"
|
||||||
RUN if [[ "${release}" == 1 ]] ; then \
|
RUN if [[ "${release}" == 1 ]] ; then \
|
||||||
crystal build ./src/invidious.cr \
|
crystal build ./src/invidious.cr \
|
||||||
--release \
|
--release --mcpu=x86-64-v3 \
|
||||||
--static --warnings all \
|
--static --warnings all \
|
||||||
--link-flags "-lxml2 -llzma"; \
|
--link-flags "-lxml2 -llzma"; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in a new issue