Update package version to 20.1.7
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="llvm/llvm-project"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
name: lld
|
name: lld
|
||||||
description: Linker from the LLVM project
|
description: Linker from the LLVM project
|
||||||
version: 17.0.6
|
version: 20.1.7
|
||||||
url: https://lld.llvm.org/
|
url: https://lld.llvm.org/
|
||||||
license: custom
|
license: Apache-2.0 WITH LLVM-exception
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc","llvm","zlib","zstd"]
|
depends: ["gcc","llvm","zlib","zstd"]
|
||||||
make_depends: ["cmake","ninja"]
|
make_depends: ["cmake","ninja"]
|
||||||
|
|||||||
@@ -51,13 +51,6 @@ build() {
|
|||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
|
||||||
check() {
|
|
||||||
cd build
|
|
||||||
ninja check-lld
|
|
||||||
}
|
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user