-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
CT_CONFIG_VERSION="3" | ||
CT_EXPERIMENTAL=y | ||
|
||
CT_ARCH_RISCV=y | ||
CT_ARCH_64=y | ||
|
||
# CT_ARCH_ARCH controls the specific architecture that the toolchain's libraries | ||
# are built with. It should specify the minimum RISC-V extensions that need to | ||
# be implemented by any processor that this toolchain will compile programs for. | ||
CT_ARCH_ARCH="rv64imac" | ||
|
||
# CT_ARCH_ABI controls the specific ABI that the toolchain's libraries are built | ||
# with. All programs built against this toolchain should follow exactly this | ||
# ABI. | ||
CT_ARCH_ABI="lp64" | ||
|
||
CT_TARGET_VENDOR="" | ||
CT_TOOLCHAIN_BUGURL="toolchains@lowrisc.org" | ||
|
||
CT_CC_GCC_STATIC_LIBSTDCXX=y | ||
# CT_CC_GCC_LDBL_128 is not set | ||
CT_CC_LANG_CXX=y | ||
CT_DEBUG_GDB=y | ||
CT_GDB_V_8_2=y | ||
# CT_GDB_CROSS_PYTHON is not set | ||
CT_ISL_V_0_20=y | ||
CT_PATCH_ORDER="bundled,local" | ||
CT_PATCH_BUNDLED_LOCAL=y | ||
CT_PATCH_USE_LOCAL=y | ||
|
||
# Disable progress bar for CI builds, it generates too much log output | ||
# CT_LOG_PROGRESS_BAR is not set | ||
|
||
# Installation prefix directory; the toolchain will end up in exactly | ||
# this directory. | ||
CT_PREFIX_DIR="/tools/riscv" | ||
|
||
# Don't save tarballs for re-use (needs writable and pre-created | ||
# CT_LOCAL_TARBALLS_DIR otherwise) | ||
# CT_SAVE_TARBALLS is not set | ||
|
||
# Don't chmod the CT_PREFIX_DIR read-only after the install. | ||
# CT_PREFIX_DIR_RO is not set | ||
|
||
# The build script appends a definition of CT_LOCAL_PATCH_DIR down here, that | ||
# points to the repo's patch directory. |