From 00ac4d26be60bc3c4660749b2739ca4d90f301a2 Mon Sep 17 00:00:00 2001 From: Quinlan Jung Date: Wed, 21 Dec 2022 19:45:32 -0800 Subject: [PATCH 1/2] remove core-crypto code coverage references --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 345d77c..c5466f6 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,11 @@ The following environment var can be set for some special situation: docker run --platform=linux/arm/v7 --name altserver-builder-alpine-armv7 -it alpine:3.15 2. Install dependencies: apk add zsh git curl wget g++ clang boost-static ninja boost-dev cmake make sudo bash vim libressl-dev util-linux-dev zlib-dev zlib-static - 3. Install corecrypto - download corecrypto from apple website, unzip corecrypto.zip; cd corecrypto; mkdir build; cd build; CC=clang CXX=clang++ cmake ..; - vim CMakeFiles/Makefile2, delete line starts with "all: corecrypto_perf/....." and "all: corecrypto_test/.....", then make; make install + 3. - Install corecrypto + download corecrypto from apple website, unzip corecrypto.zip; cd corecrypto; + - vim CMakeLists.txt, delete references to code coverage like include(scripts/code-coverage.cmake), add_code_coverage(), target_code_coverage() + - mkdir build; cd build; CC=clang CXX=clang++ cmake ..; + - vim CMakeFiles/Makefile2, delete line starts with "all: corecrypto_perf/....." and "all: corecrypto_test/.....", then make; make install 4. Install cpprestsdk git clone --recursive https://github.com/microsoft/cpprestsdk; cd cpprestsdk; mkdir build; cmake -DBUILD_SHARED_LIBS=0 ..; make; make install (if you're compiling for armv7, you have to grep -Wcast-align, and remove it, or the compiling would fail) @@ -67,7 +69,10 @@ The following environment var can be set for some special situation: 6. Compile AltServer-Linux git clone --recursive https://github.com/NyaMisty/AltServer-Linux cd AltServer-Linux + mkdir build + cd build make -f ../Makefile -j3 (if you're compiling for ARM, i.e. armv7 or aarch64, you'll have to remove the -mno-default flag in Makefile) ``` + From f45a5b41f28446699957fc68032157188640c619 Mon Sep 17 00:00:00 2001 From: Quinlan Jung Date: Wed, 21 Dec 2022 19:50:01 -0800 Subject: [PATCH 2/2] small nit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5466f6..e93e861 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ The following environment var can be set for some special situation: docker run --platform=linux/arm/v7 --name altserver-builder-alpine-armv7 -it alpine:3.15 2. Install dependencies: apk add zsh git curl wget g++ clang boost-static ninja boost-dev cmake make sudo bash vim libressl-dev util-linux-dev zlib-dev zlib-static - 3. - Install corecrypto - download corecrypto from apple website, unzip corecrypto.zip; cd corecrypto; + 3. Install corecrypto + - download corecrypto from apple website, unzip corecrypto.zip; cd corecrypto; - vim CMakeLists.txt, delete references to code coverage like include(scripts/code-coverage.cmake), add_code_coverage(), target_code_coverage() - mkdir build; cd build; CC=clang CXX=clang++ cmake ..; - vim CMakeFiles/Makefile2, delete line starts with "all: corecrypto_perf/....." and "all: corecrypto_test/.....", then make; make install