Skip to content

Commit

Permalink
Getting ready for rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
32bitmicro committed Jun 23, 2024
1 parent 58f5c5b commit 73d9e2a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [18.1.8]

RC1

### Changed
- Added riscv32.

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
Expand Down
16 changes: 10 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,13 @@ get_directory_property(LLVM_VERSION_MAJOR DIRECTORY ${llvmproject_SOURCE_DIR}/ll
get_directory_property(LLVM_VERSION_MINOR DIRECTORY ${llvmproject_SOURCE_DIR}/llvm DEFINITION LLVM_VERSION_MINOR)
get_directory_property(LLVM_VERSION_PATCH DIRECTORY ${llvmproject_SOURCE_DIR}/llvm DEFINITION LLVM_VERSION_PATCH)

set(ETOOL_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
set(ETOOL_VERSION_MINOR ${LLVM_VERSION_MINOR})
set(ETOOL_VERSION_PATCH ${LLVM_VERSION_PATCH})

project(
LLVMEmbeddedToolchain
VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}
VERSION ${ETOOL_VERSION_MAJOR}.${ETOOL_VERSION_MINOR}.${ETOOL_VERSION_PATCH}
DESCRIPTION "LLVM Embedded Toolchain"
HOMEPAGE_URL "https://github.com/32bitmicro/LLVM-Embedded-Toolchain"
)
Expand All @@ -348,15 +352,15 @@ project(
set(SHORT_PACKAGE_NAME "LLVM-ETOOL")

# Set package name and version.
if(DEFINED LLVM_TOOLCHAIN_PACKAGE_NAME)
set(PACKAGE_NAME ${LLVM_TOOLCHAIN_PACKAGE_NAME})
if(DEFINED ETOOL_PACKAGE_NAME)
set(PACKAGE_NAME ${ETOOL_PACKAGE_NAME})
else()
set(PACKAGE_NAME ${SHORT_PACKAGE_NAME})
endif()
set(CPACK_PACKAGE_NAME ${PACKAGE_NAME})
set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
if(DEFINED LLVM_TOOLCHAIN_VERSION_SUFFIX)
set(PACKAGE_VERSION "${PACKAGE_VERSION}-${LLVM_TOOLCHAIN_VERSION_SUFFIX}")
set(PACKAGE_VERSION "${ETOOL_VERSION_MAJOR}.${ETOOL_VERSION_MINOR}.${ETOOL_VERSION_PATCH}")
if(DEFINED ETOOL_VERSION_SUFFIX)
set(PACKAGE_VERSION "${PACKAGE_VERSION}-${ETOOL_VERSION_SUFFIX}")
endif()

# Restrict which LLVM components are installed.
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# LLVM Embedded Toolchain

This repository contains build scripts and auxiliary material for building a
bare-metal LLVM based toolchain targeting Arm based on:
bare-metal LLVM based toolchain targeting Arm and RISCV based on:
* clang + llvm
* lld
* lldb
* libc++abi
* libc++
* compiler-rt
* picolibc, or optionally newlib
* picolibc
* newlib or newlib-nano

## Goal

The goal is to provide an LLVM based bare-metal toolchain that can target the
Arm architecture family from Armv6-M and newer. The toolchain follows the ABI
for the Arm Architecture and attempts to provide typical features needed for
Arm and RISCV architectures from Armv6-M and newer and riscv32. The toolchain follows the ABI
for the Arm and RISCV Architectures and attempts to provide typical features needed for
embedded and realtime operating systems.

## Supported architectures
Expand All @@ -26,7 +28,7 @@ embedded and realtime operating systems.
- Armv4T (experimental)
- Armv5TE (experimental)
- Armv6 (experimental, using the Armv5TE library variant)
- AArch64 armv8.0 (experimental)
- RISCV32 (experimental)

## C++ support

Expand Down
2 changes: 1 addition & 1 deletion docs/building-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Host platforms

LLVM Embedded Toolchain is built and tested on Ubuntu 18.04 LTS.
LLVM Embedded Toolchain is built and tested on Ubuntu 20.04 LTS.

The Windows version of LLVM tools is built on Windows Server 2019
and lightly tested on Windows 10. Windows package provides runtime libraries
Expand Down

0 comments on commit 73d9e2a

Please sign in to comment.