sergey-safarov left a comment (kamailio/kamailio#4403)
@xkaraman thank you.
I have added this approach to the GitHub action script, and it is now working.
https://github.com/sergey-safarov/kamailio/commit/99a1018853184939175db9fd0195dc9b295a2f29
Just a question. Does it work for you if you extend CMake files something
```
# Get the system processor
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
# Run 'apk --print-arch' and capture its output
execute_process(
COMMAND apk --print-arch
OUTPUT_VARIABLE APK_ARCH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# Check if apk reported "x86"
if(APK_ARCH STREQUAL "x86")
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR i386)
message(STATUS "Overriding system: Linux (processor i386)")
else()
message(STATUS "apk --print-arch returned '${APK_ARCH}', no override
applied.")
endif()
endif()
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4403#issuecomment-3393616924
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4403/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!