Toolchain: Update LLVM to 15.0.3

This commit is contained in:
Tim Schumacher 2022-10-20 16:34:03 +02:00 committed by Linus Groh
parent 9ad6031bca
commit e5e7ea90b1
Notes: sideshowbarker 2024-07-17 08:38:37 +09:00
4 changed files with 13 additions and 11 deletions

View file

@ -18,7 +18,7 @@ endif()
# Check for toolchain mismatch, user might need to rebuild toolchain # Check for toolchain mismatch, user might need to rebuild toolchain
set(GCC_VERSION "12.2.0") set(GCC_VERSION "12.2.0")
set(LLVM_VERSION "15.0.0") set(LLVM_VERSION "15.0.3")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(EXPECTED_COMPILER_VERSION "${GCC_VERSION}") set(EXPECTED_COMPILER_VERSION "${GCC_VERSION}")
else() else()

View file

@ -142,7 +142,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`libyaml`](libyaml/) | libyaml | 0.2.5 | https://pyyaml.org/wiki/LibYAML | | [`libyaml`](libyaml/) | libyaml | 0.2.5 | https://pyyaml.org/wiki/LibYAML |
| [`libzip`](libzip/) | libzip | 1.8.0 | https://libzip.org/ | | [`libzip`](libzip/) | libzip | 1.8.0 | https://libzip.org/ |
| [`links`](links/) | Links web browser | 2.26 | http://links.twibright.com/ | | [`links`](links/) | Links web browser | 2.26 | http://links.twibright.com/ |
| [`llvm`](llvm/) | LLVM | 15.0.0 | https://llvm.org/ | | [`llvm`](llvm/) | LLVM | 15.0.3 | https://llvm.org/ |
| [`lua`](lua/) | Lua | 5.4.4 | https://www.lua.org/ | | [`lua`](lua/) | Lua | 5.4.4 | https://www.lua.org/ |
| [`luajit`](luajit/) | LuaJIT | 2.1.0-beta3 | https://luajit.org/luajit.html | | [`luajit`](luajit/) | LuaJIT | 2.1.0-beta3 | https://luajit.org/luajit.html |
| [`luarocks`](luarocks/) | LuaRocks | 3.8.0 | https://luarocks.org/ | | [`luarocks`](luarocks/) | LuaRocks | 3.8.0 | https://luarocks.org/ |

View file

@ -1,11 +1,13 @@
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port=llvm port='llvm'
useconfigure=true useconfigure='true'
version=15.0.0 version='15.0.3'
workdir=llvm-project-${version}.src workdir="llvm-project-${version}.src"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") configopts=(
files="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz llvm-project-${version}.src.tar.xz caaf8100365b6ebafc39fea803e902ca3ff38b4d5327b9927097808d32964db7" "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
auth_type=sha256 )
files="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz llvm-project-${version}.src.tar.xz dd07bdab557866344d85ae21bbeca5259d37b4b0e2ebf6e0481f42d1ba0fee88"
auth_type='sha256'
depends=( depends=(
"ncurses" "ncurses"
"zlib" "zlib"

View file

@ -70,8 +70,8 @@ echo PREFIX is "$PREFIX"
mkdir -p "$DIR/Tarballs" mkdir -p "$DIR/Tarballs"
LLVM_VERSION="15.0.0" LLVM_VERSION="15.0.3"
LLVM_MD5SUM="d17f527916cb07400e336f9ba4a28903" LLVM_MD5SUM="d435e1160fd16b8efe1e0f4d1058bd50"
LLVM_NAME="llvm-project-$LLVM_VERSION.src" LLVM_NAME="llvm-project-$LLVM_VERSION.src"
LLVM_PKG="$LLVM_NAME.tar.xz" LLVM_PKG="$LLVM_NAME.tar.xz"
LLVM_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VERSION/$LLVM_PKG" LLVM_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VERSION/$LLVM_PKG"