onny opened a new issue, #2334:
URL: https://github.com/apache/orc/issues/2334
When doing cross compilation of apache-orc on NixOS on platform x86_64 to
riscv64 I get following configure error:
```
> -- Performing Test HAS_PRE_1970
> CMake Error: try_run() invoked in cross-compiling mode, please set
the following cache variables appropriately:
> HAS_PRE_1970_EXITCODE (advanced)
> For details see /build/source/build/TryRunResults.cmake
> -- Performing Test HAS_PRE_1970 - Failed
> -- Performing Test HAS_POST_2038
> CMake Error: try_run() invoked in cross-compiling mode, please set
the following cache variables appropriately:
> HAS_POST_2038_EXITCODE (advanced)
> For details see /build/source/build/TryRunResults.cmake
```
Setting
- HAS_PRE_1970_EXITCODE=0
- HAS_POST_2038_EXITCODE=0
solves it https://github.com/NixOS/nixpkgs/pull/425014
We wonder if this is the correct value and solution to this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]