Skip to content

Commit

Permalink
Fix: armv6l packages overwrote aarch64 packages because they had the …
Browse files Browse the repository at this point in the history
…same name (#1082)

* Fix armv6l packages naming

* Fix armv6l packages naming 2

* Retrying docker

* Fix armv6l packages naming 3
  • Loading branch information
awawa-dev authored Feb 9, 2025
1 parent a68987c commit f96eafb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Wake-up docker
if: matrix.runner == 'ubuntu-24.04-arm'
run: |
sudo systemctl start docker
(sudo systemctl start docker) || (echo "Retrying docker" && sleep 5 && sudo systemctl start docker && sleep 5)
# checkout
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Wake-up docker
if: matrix.runner == 'ubuntu-24.04-arm'
run: |
sudo systemctl start docker
(sudo systemctl start docker) || (echo "Retrying docker" && sleep 5 && sudo systemctl start docker && sleep 5)
# checkout
- uses: actions/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ message( STATUS "CMake Version: ${CMAKE_VERSION}" )

PROJECT(HyperHdr)

if (OVERRIDE_ARCHITECTURE)
SET ( CMAKE_SYSTEM_PROCESSOR "${OVERRIDE_ARCHITECTURE}")
endif(OVERRIDE_ARCHITECTURE)

set(OUR_CMAKE_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_modules)
set(CMAKE_MODULE_PATH ${OUR_CMAKE_MODULES} ${CMAKE_MODULE_PATH})
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ elif [[ "$CI_NAME" == 'linux' ]]; then
BUILD_OPTION="-DUSE_CCACHE_CACHING=OFF ${ARCHIVE_OPTION}"
cache_env="true"
fi

if [[ $DOCKER_IMAGE == *"armv6l"* ]] && [[ $CI_TYPE == "github_action" ]]; then
BUILD_OPTION="-DOVERRIDE_ARCHITECTURE=armv6l ${BUILD_OPTION}"
fi

echo "Build option: ${BUILD_OPTION}, ccache: ${cache_env}"

Expand Down

0 comments on commit f96eafb

Please sign in to comment.