Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TRACES-public
Vortex
LLVM
Commits
f11aa5c1
Commit
f11aa5c1
authored
8 months ago
by
ncrouzet
Browse files
Options
Downloads
Patches
Plain Diff
Do not build libcxx for vortex
parent
85cd4350
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RV_preload.cmake
+2
-19
2 additions, 19 deletions
RV_preload.cmake
with
2 additions
and
19 deletions
RV_preload.cmake
+
2
−
19
View file @
f11aa5c1
...
@@ -18,7 +18,7 @@ set(LLVM_CCACHE_BUILD ON CACHE BOOL "")
...
@@ -18,7 +18,7 @@ set(LLVM_CCACHE_BUILD ON CACHE BOOL "")
set
(
LLVM_TARGETS_TO_BUILD RISCV CACHE STRING
""
)
set
(
LLVM_TARGETS_TO_BUILD RISCV CACHE STRING
""
)
set
(
LLVM_ENABLE_PROJECTS
"clang;lld;libc"
CACHE STRING
""
)
set
(
LLVM_ENABLE_PROJECTS
"clang;lld;libc"
CACHE STRING
""
)
set
(
LLVM_ENABLE_RUNTIMES
"libc;
libcxx;
compiler-rt"
CACHE STRING
""
)
set
(
LLVM_ENABLE_RUNTIMES
"libc;compiler-rt"
CACHE STRING
""
)
set
(
COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL
""
)
set
(
COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL
""
)
set
(
LLVM_LIBC_FULL_BUILD ON CACHE BOOL
""
)
set
(
LLVM_LIBC_FULL_BUILD ON CACHE BOOL
""
)
...
@@ -65,7 +65,7 @@ foreach (xlen ${RV_XLEN})
...
@@ -65,7 +65,7 @@ foreach (xlen ${RV_XLEN})
set
(
RUNTIMES_
${
target
}
_CMAKE_SYSTEM_PROCESSOR RISCV CACHE STRING
""
)
set
(
RUNTIMES_
${
target
}
_CMAKE_SYSTEM_PROCESSOR RISCV CACHE STRING
""
)
set
(
RUNTIMES_
${
target
}
_CMAKE_SYSROOT
""
CACHE STRING
""
)
set
(
RUNTIMES_
${
target
}
_CMAKE_SYSROOT
""
CACHE STRING
""
)
set
(
RUNTIMES_
${
target
}
_LLVM_ENABLE_RUNTIMES
"libc
;libcxx
"
CACHE STRING
"only build libc during runtime (builtins is already built"
)
set
(
RUNTIMES_
${
target
}
_LLVM_ENABLE_RUNTIMES
"libc"
CACHE STRING
"only build libc during runtime (builtins is already built"
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_USE_BUILTINS_LIBRARY OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_USE_BUILTINS_LIBRARY OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_BUILD_SANITIZERS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_BUILD_SANITIZERS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL
""
)
...
@@ -80,23 +80,6 @@ foreach (xlen ${RV_XLEN})
...
@@ -80,23 +80,6 @@ foreach (xlen ${RV_XLEN})
set
(
RUNTIMES_
${
target
}
_LIBC_HDRGEN_ONLY OFF CACHE BOOL
"Ensure that we do not generate HDRGEN (it would be cross compiled)"
)
set
(
RUNTIMES_
${
target
}
_LIBC_HDRGEN_ONLY OFF CACHE BOOL
"Ensure that we do not generate HDRGEN (it would be cross compiled)"
)
set
(
RUNTIMES_
${
target
}
_LIBC_HDRGEN_EXE
"
${
GENERATED_LIBC_HDRGEN_EXE
}
"
CACHE STRING
"Point to where the native HDRGEN was compiled"
)
set
(
RUNTIMES_
${
target
}
_LIBC_HDRGEN_EXE
"
${
GENERATED_LIBC_HDRGEN_EXE
}
"
CACHE STRING
"Point to where the native HDRGEN was compiled"
)
#set(RUNTIMES_${target}_LIBC_COMPILE_OPTIONS_DEFAULT "-ffreestanding" CACHE STRING "")
#set(RUNTIMES_${target}_LIBC_COMPILE_OPTIONS_DEFAULT "-ffreestanding" CACHE STRING "")
# LIBCXX defs
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_STATIC ON CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_INCLUDE_TESTS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_INCLUDE_BENCHMARKS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_USE_COMPILER_RT ON CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY ON CACHE BOOL
""
)
# LIBCXX FEATURES
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_RANDOM_DEVICE OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_LOCALIZATION OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_UNICODE OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_EXCEPTIONS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_WIDE_CHARACTERS OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_RTTI OFF CACHE BOOL
""
)
set
(
RUNTIMES_
${
target
}
_LIBCXX_ENABLE_THREADS OFF CACHE BOOL
""
)
endforeach
()
endforeach
()
endforeach
()
endforeach
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment