Skip to content
Snippets Groups Projects
Verified Commit a41f9304 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update to use llvm-project

parent ccefd458
No related branches found
No related tags found
No related merge requests found
GIT=https://gitlab.redox-os.org/redox-os/llvm.git
GIT_UPSTREAM=https://github.com/rust-lang/llvm.git
GIT=https://gitlab.redox-os.org/redox-os/llvm-project.git
GIT_UPSTREAM=https://github.com/rust-lang/llvm-project.git
BRANCH=redox
function recipe_version {
......@@ -19,7 +19,7 @@ function recipe_prepare {
function recipe_build {
native="$(realpath ../native.cmake)"
source="$(realpath ../source)"
source="$(realpath ../source/llvm)"
sysroot="$(realpath ../sysroot)"
CMAKE_ARGS=(
-DCMAKE_AR="$(which "${AR}")"
......@@ -60,8 +60,10 @@ function recipe_build {
-I"$sysroot/include"
-Wno-dev
)
set -x
cmake "${CMAKE_ARGS[@]}" "$source"
make -j$(nproc)
set +x
skip=1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment