Skip to content

Commit

Permalink
Merge pull request #2346 from wep21/iox-2345-fix-macos-bazel-build
Browse files Browse the repository at this point in the history
iox-#2345 fix bazel script to make macos bazel build successful
  • Loading branch information
elBoberido authored Sep 14, 2024
2 parents 56ff256 + 5ea8482 commit 05f686b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bazel/configure_version.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ version_file="{version_file}"
input_file="{input_file}"
output_file="{output_file}"
IFS="-" read version_number version_suffix <<< $(<"$version_file")
IFS="." read major_version minor_version patch_version tweak_version <<< $version_number
version=$(<"$version_file")
version_number=$(echo "$version" | cut -d'-' -f1)
major_version=$(echo "$version_number" | cut -d'.' -f1)
minor_version=$(echo "$version_number" | cut -d'.' -f2)
patch_version=$(echo "$version_number" | cut -d'.' -f3)
tweak_version=$(echo "$version_number" | cut -d'.' -f4)
[ -z "$version_suffix" ] && version_delim="" || version_delim="-"
data="$(<"$input_file")"
Expand Down
1 change: 1 addition & 0 deletions doc/website/release-notes/iceoryx-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
- Building iceoryx with bazel on Windows is broken [#2320](https://github.com/eclipse-iceoryx/iceoryx/issues/2320)
- Fix wrong memory orders in SpscSoFi [#2177](https://github.com/eclipse-iceoryx/iceoryx/issues/2177)
- ssize_t: redefinition; different basic types [#2209](https://github.com/eclipse-iceoryx/iceoryx/issues/2209)
- Fix bazel build on macos [#2345](https://github.com/eclipse-iceoryx/iceoryx/issues/2345)

**Refactoring:**

Expand Down

0 comments on commit 05f686b

Please sign in to comment.