diff --git a/RELEASE_STEPS.md b/RELEASE_STEPS.md index e88ca9c2d8..ec6e5b6906 100644 --- a/RELEASE_STEPS.md +++ b/RELEASE_STEPS.md @@ -38,12 +38,12 @@ Do changes for a release: - If previously we decided not to create such branch, create it now, based on the appropriate minor or major tag - For major/minor release start from the `main` branch - Add an entry to ChangeLog, remember to change the day of the week in the release date - - For major releases mention API and ABI compatibility with the previous release + - For major and minor (prior 1.0.0) releases mention API and ABI compatibility with the previous release - Update project's version in a few places: - For major and minor releases: `UMF_VERSION_CURRENT` in `include/umf/base.h` (the API version) - `release` variable in `scripts/docs_config/conf.py` (for docs) - `UMF_VERSION` variable in `.github/workflows/basic.yml` (for installation test) -- For major releases update ABI version in `.map` and `.def` files +- For major and minor (prior 1.0.0) releases update ABI version in `.map` and `.def` files - These files are defined for all public libraries (`libumf` and `proxy_lib`, at the moment) - Commit these changes and tag the release: - `git commit -a -S -m "$VERSION release"` diff --git a/src/libumf.def b/src/libumf.def index 33c09f4b95..82e32d4a13 100644 --- a/src/libumf.def +++ b/src/libumf.def @@ -4,9 +4,9 @@ ; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ;;;; End Copyright Notice -LIBRARY umf +LIBRARY UMF -VERSION 1.0 +VERSION 0.10 EXPORTS DllMain diff --git a/src/libumf.map b/src/libumf.map index c1e1fd62c0..4755b6b814 100644 --- a/src/libumf.map +++ b/src/libumf.map @@ -2,7 +2,7 @@ # Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -UMF_1.0 { +UMF_0.10 { global: umfInit; umfTearDown; diff --git a/src/proxy_lib/proxy_lib.def b/src/proxy_lib/proxy_lib.def index f30b405568..82b666b6af 100644 --- a/src/proxy_lib/proxy_lib.def +++ b/src/proxy_lib/proxy_lib.def @@ -5,6 +5,7 @@ ;;;; End Copyright Notice LIBRARY UMF_PROXY + EXPORTS DllMain aligned_alloc diff --git a/src/proxy_lib/proxy_lib.map b/src/proxy_lib/proxy_lib.map index 5d93d03ba5..93ae001e64 100644 --- a/src/proxy_lib/proxy_lib.map +++ b/src/proxy_lib/proxy_lib.map @@ -2,8 +2,8 @@ # Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -# linker VERSION script - +# These functions are meant to be in unnamed scope. They are also not named +# with any umf prefix, as they should override functions with the same name. { global: aligned_alloc;