Skip to content

Commit af45957

Browse files
committed
minor
1 parent 311d342 commit af45957

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,30 +41,34 @@ jobs:
4141
- name: Build for ${{ matrix.arch }}
4242
run: |
4343
if [[ "${{ matrix.arch }}" == "amd64" ]]; then
44-
cat <<'EOF' >build.sh
45-
export PATH=$PATH:/usr/lib/llvm-19/bin
44+
cat <<EOF >build.sh
45+
export GITHUB_REF='${{ github.ref_name }}'
46+
export PATH=\$PATH:/usr/lib/llvm-19/bin
4647
mkdir -p _linux-amd64
47-
make -j$(nproc) \
48+
make -j\$(nproc) \
4849
-C _linux-amd64 \
4950
-f ../Makefile \
5051
ROOT_DIR=../.. \
5152
COMPILER=clang \
5253
CFLAGS_USER=-fno-diagnostics-color \
54+
PKG_VER=\${GITHUB_REF#v} \
5355
release
5456
EOF
5557
else
56-
cat <<'EOF' >build.sh
57-
export PATH=$PATH:/usr/lib/llvm-19/bin
58+
cat <<EOF >build.sh
59+
export GITHUB_REF='${{ github.ref_name }}'
60+
export PATH=\$PATH:/usr/lib/llvm-19/bin
5861
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
5962
mkdir -p _linux-arm64
60-
make -j$(nproc) \
63+
make -j\$(nproc) \
6164
-C _linux-arm64 \
6265
-f ../Makefile \
6366
ROOT_DIR=../.. \
6467
COMPILER=clang \
6568
CPU=arm64 \
6669
CFLAGS_USER=-fno-diagnostics-color \
6770
PHI_HTTP_SSL=0 \
71+
PKG_VER=\${GITHUB_REF#v} \
6872
release
6973
EOF
7074
fi

alib3/soxr/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include ../config.mk
44

55
VER := edbdb4081db14eb21729b57c4f2c813514ad0259
6-
URL := https://github.com/dofuuz/soxr/archive/soxr-$(VER).zip
6+
URL := https://github.com/stsaz/phiola/raw/alib3/alib3/soxr/soxr-$(VER).zip
77
SHA256SUM := 9ba7b105e219452d7116e09b0af011ab097c6a2285723611a504bb0d2ef610a8
88
PKG := $(ALIB3)/soxr/soxr-$(VER).zip
99
DIR := soxr-$(VER)

alib3/wavpack/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include ../config.mk
44

55
VER := 4.75.0
6-
URL := http://www.wavpack.com/wavpack-$(VER).tar.bz2
6+
URL := https://github.com/stsaz/phiola/raw/alib3/alib3/wavpack/wavpack-$(VER).tar.bz2
77
SHA256SUM := c63e5c2106749dc6b2fb4302f2260f4803a93dd6cadf337764920dc836e3af2e
88
PKG := $(ALIB3)/wavpack/$(notdir $(URL))
99
DIR := wavpack-$(VER)

0 commit comments

Comments
 (0)