فهرست منبع

Update build scripts

Tindy X 5 سال پیش
والد
کامیت
5c6e7209a6
2فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 2
      scripts/build.alpine.release.sh
  2. 0 1
      scripts/build.macos.release.sh

+ 2 - 2
scripts/build.alpine.release.sh

@@ -7,11 +7,11 @@ apk add openssl-dev openssl-libs-static curl curl-dev curl-static nghttp2-static
 git clone https://github.com/jbeder/yaml-cpp
 cd yaml-cpp
 cmake -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF . > /dev/null
-make install -j4 > /dev/null
+make install -j2 > /dev/null
 cd ..
 
 cmake .
-make -j4
+make -j2
 rm subconverter
 g++ -o base/subconverter CMakeFiles/subconverter.dir/src/*.o  -static -lpcre2-8 -levent -lyaml-cpp -lcurl -lnghttp2 -lssl -lcrypto -lz -lbz2 -ldl -lpthread -O3 -s  
 

+ 0 - 1
scripts/build.macos.release.sh

@@ -23,7 +23,6 @@ cp /usr/local/lib/libevent.a .
 cp /usr/local/opt/zlib/lib/libz.a .
 cp /usr/local/opt/[email protected]/lib/libssl.a .
 cp /usr/local/opt/[email protected]/lib/libcrypto.a .
-cp /usr/local/lib/libyaml-cpp.a .
 cp /usr/local/lib/libpcre2-8.a .
 cp /usr/local/opt/bzip2/lib/libbz2.a .