MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove llhttp and libuv dependency support from build workflow

+11 -76
+2 -58
.github/actions/build-native-deps/action.yml
··· 1 1 name: Build Native Dependencies 2 - description: Build llhttp, libuv, libsodium, mbedtls, zlib as needed 2 + description: Build libsodium, mbedtls, zlib as needed 3 3 4 4 inputs: 5 5 deps: 6 - description: Space-separated list of deps to build (llhttp libuv libsodium mbedtls zlib) 6 + description: Space-separated list of deps to build (libsodium mbedtls zlib) 7 7 required: true 8 8 prefix: 9 9 description: Install prefix ··· 27 27 description: CMake generator (Ninja, MinGW Makefiles, etc) 28 28 required: false 29 29 default: '' 30 - llhttp_version: 31 - required: true 32 - libuv_version: 33 - required: true 34 30 libsodium_version: 35 31 required: true 36 32 mbedtls_version: ··· 58 54 shell: bash 59 55 run: | 60 56 mkdir -p ${{ inputs.prefix }} 61 - 62 - - name: Build llhttp 63 - if: steps.cache.outputs.cache-hit != 'true' && contains(inputs.deps, 'llhttp') 64 - shell: bash 65 - run: | 66 - if [[ "$RUNNER_OS" == "Windows" ]]; then 67 - export PATH="$(cygpath "$RUNNER_TEMP/msys64/mingw64/bin"):$PATH" 68 - PREFIX=$(cygpath -m "${{ inputs.prefix }}") 69 - else 70 - PREFIX="${{ inputs.prefix }}" 71 - fi 72 - 73 - git clone --depth 1 --branch release/v${{ inputs.llhttp_version }} https://github.com/nodejs/llhttp.git /tmp/llhttp 74 - cd /tmp/llhttp 75 - CMAKE_GENERATOR="${{ inputs.cmake_generator }}" 76 - if [[ "$RUNNER_OS" != "macOS" ]]; then 77 - export AR="${{ inputs.ar }}" 78 - export RANLIB="${{ inputs.ranlib }}" 79 - fi 80 - CC=${{ inputs.cc }} CXX=${{ inputs.cxx || inputs.cc }} cmake -B build \ 81 - ${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \ 82 - -DCMAKE_INSTALL_PREFIX="$PREFIX" \ 83 - -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON \ 84 - -DCMAKE_BUILD_TYPE=MinSizeRel 85 - cmake --build build 86 - cmake --install build 87 - echo "=== PKG_CONFIG files in $PREFIX/lib/pkgconfig ===" 88 - ls -la "$PREFIX/lib/pkgconfig/" || echo "pkgconfig dir not found" 89 - cp "$PREFIX/lib/pkgconfig/libllhttp.pc" "$PREFIX/lib/pkgconfig/llhttp.pc" 90 - echo "=== llhttp.pc contents ===" 91 - cat "$PREFIX/lib/pkgconfig/llhttp.pc" 92 - echo "=== After copy ===" 93 - ls -la "$PREFIX/lib/pkgconfig/" 94 - 95 - - name: Build libuv 96 - if: steps.cache.outputs.cache-hit != 'true' && contains(inputs.deps, 'libuv') 97 - shell: bash 98 - run: | 99 - git clone --depth 1 --branch v${{ inputs.libuv_version }} https://github.com/libuv/libuv.git /tmp/libuv 100 - cd /tmp/libuv 101 - CMAKE_GENERATOR="${{ inputs.cmake_generator }}" 102 - if [[ "$RUNNER_OS" != "macOS" ]]; then 103 - export AR="${{ inputs.ar }}" 104 - export RANLIB="${{ inputs.ranlib }}" 105 - fi 106 - CC=${{ inputs.cc }} cmake -B build \ 107 - ${CMAKE_GENERATOR:+-G "$CMAKE_GENERATOR"} \ 108 - -DCMAKE_INSTALL_PREFIX=${{ inputs.prefix }} \ 109 - -DBUILD_TESTING=OFF -DLIBUV_BUILD_SHARED=OFF \ 110 - -DCMAKE_BUILD_TYPE=MinSizeRel 111 - cmake --build build 112 - cmake --install build 113 57 114 58 - name: Build libsodium 115 59 if: steps.cache.outputs.cache-hit != 'true' && contains(inputs.deps, 'libsodium')
-3
.github/actions/build-project/action.yml
··· 91 91 ls -la "$DEPS_PREFIX/lib/pkgconfig/" 2>/dev/null || echo "Directory not found" 92 92 echo "=== Debug: pkg-config --variable pc_path pkg-config ===" 93 93 pkg-config --variable pc_path pkg-config || true 94 - echo "=== Debug: pkg-config --modversion llhttp ===" 95 - pkg-config --modversion llhttp || echo "llhttp not found by pkg-config" 96 - 97 94 if [[ -n "${{ inputs.cxx }}" ]]; then 98 95 export CXX="${{ inputs.cxx }}" 99 96 fi
+9 -11
.github/versions.json
··· 5 5 "node": "22" 6 6 }, 7 7 "dependencies": { 8 - "llhttp": "9.2.1", 9 - "libuv": "1.52.0", 10 8 "libsodium": "1.0.20", 11 9 "mbedtls": "3.6.5", 12 10 "zlib": "1.3.1" ··· 19 17 "rust_target": "x86_64-unknown-linux-gnu", 20 18 "artifact_name": "ant-linux-x64", 21 19 "binary_name": "ant", 22 - "deps": ["llhttp", "libuv"], 20 + "deps": [], 23 21 "tls_library": "openssl", 24 22 "static_link": false, 25 23 "cmake_generator": null, ··· 32 30 "rust_target": "aarch64-unknown-linux-gnu", 33 31 "artifact_name": "ant-linux-aarch64", 34 32 "binary_name": "ant", 35 - "deps": ["llhttp", "libuv"], 33 + "deps": [], 36 34 "tls_library": "openssl", 37 35 "static_link": false, 38 36 "cmake_generator": null, ··· 45 43 "rust_target": "x86_64-unknown-linux-musl", 46 44 "artifact_name": "ant-linux-x64-musl", 47 45 "binary_name": "ant", 48 - "deps": ["llhttp", "libuv", "zlib"], 46 + "deps": ["zlib"], 49 47 "tls_library": "openssl", 50 48 "static_link": true, 51 49 "cmake_generator": "Ninja", ··· 58 56 "rust_target": "aarch64-unknown-linux-musl", 59 57 "artifact_name": "ant-linux-aarch64-musl", 60 58 "binary_name": "ant", 61 - "deps": ["llhttp", "libuv", "zlib"], 59 + "deps": ["zlib"], 62 60 "tls_library": "openssl", 63 61 "static_link": true, 64 62 "cmake_generator": "Ninja", ··· 71 69 "rust_target": "x86_64-apple-darwin", 72 70 "artifact_name": "ant-darwin-x64", 73 71 "binary_name": "ant", 74 - "deps": ["llhttp", "libsodium"], 72 + "deps": ["libsodium"], 75 73 "tls_library": "openssl", 76 74 "static_link": false, 77 75 "cmake_generator": null, ··· 84 82 "rust_target": "aarch64-apple-darwin", 85 83 "artifact_name": "ant-darwin-aarch64", 86 84 "binary_name": "ant", 87 - "deps": ["llhttp", "libsodium"], 85 + "deps": ["libsodium"], 88 86 "tls_library": "openssl", 89 87 "static_link": false, 90 88 "cmake_generator": null, ··· 97 95 "rust_target": "x86_64-apple-darwin", 98 96 "artifact_name": "ant-darwin-x64-mbedtls", 99 97 "binary_name": "ant", 100 - "deps": ["llhttp", "libsodium", "mbedtls"], 98 + "deps": ["libsodium", "mbedtls"], 101 99 "tls_library": "mbedtls", 102 100 "static_link": false, 103 101 "cmake_generator": null, ··· 110 108 "rust_target": "aarch64-apple-darwin", 111 109 "artifact_name": "ant-darwin-aarch64-mbedtls", 112 110 "binary_name": "ant", 113 - "deps": ["llhttp", "libsodium", "mbedtls"], 111 + "deps": ["libsodium", "mbedtls"], 114 112 "tls_library": "mbedtls", 115 113 "static_link": false, 116 114 "cmake_generator": null, ··· 123 121 "rust_target": "x86_64-pc-windows-gnu", 124 122 "artifact_name": "ant-windows-x64", 125 123 "binary_name": "ant.exe", 126 - "deps": ["llhttp"], 124 + "deps": [], 127 125 "tls_library": "openssl", 128 126 "static_link": true, 129 127 "cmake_generator": "MinGW Makefiles",
-4
.github/workflows/build-platform.yml
··· 151 151 echo "deps=$(echo $CONFIG | jq -r '.deps | join(" ")')" >> $GITHUB_OUTPUT 152 152 153 153 # Dep versions 154 - echo "llhttp_version=$(echo $DEPS | jq -r '.llhttp')" >> $GITHUB_OUTPUT 155 - echo "libuv_version=$(echo $DEPS | jq -r '.libuv')" >> $GITHUB_OUTPUT 156 154 echo "libsodium_version=$(echo $DEPS | jq -r '.libsodium')" >> $GITHUB_OUTPUT 157 155 echo "mbedtls_version=$(echo $DEPS | jq -r '.mbedtls')" >> $GITHUB_OUTPUT 158 156 echo "zlib_version=$(echo $DEPS | jq -r '.zlib')" >> $GITHUB_OUTPUT ··· 193 191 ar: ${{ steps.llvm.outputs.ar }} 194 192 ranlib: ${{ steps.llvm.outputs.ranlib }} 195 193 cmake_generator: ${{ steps.config.outputs.cmake_generator }} 196 - llhttp_version: ${{ steps.config.outputs.llhttp_version }} 197 - libuv_version: ${{ steps.config.outputs.libuv_version }} 198 194 libsodium_version: ${{ steps.config.outputs.libsodium_version }} 199 195 mbedtls_version: ${{ steps.config.outputs.mbedtls_version }} 200 196 zlib_version: ${{ steps.config.outputs.zlib_version }}