mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-13 08:35:11 +00:00
Use x86-64-v3 Microarch
This commit is contained in:
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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user