dmlc / dmlc/dmlc-core

Deprecated CMake function `test_big_endian` used

Open
#688 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
878
Forks
526
Avg merge
12d 19h
Merged PRs (30d)
1

Description

Currently the `CMakeLists.txt` here makes use of `test_big_endian`:

https://github.com/dmlc/dmlc-core/blob/13341857549852a9a86b1894b5ba84c6276ab381/CMakeLists.txt#L166-L173


However according to [the CMake documentation]( https://cmake.org/cmake/help/v3.30/module/TestBigEndian.html ), this is deprecated:

> *Deprecated since version 3.20*: Supserseded by the [`CMAKE__BYTE_ORDER`](https://cmake.org/cmake/help/v3.30/variable/CMAKE_LANG_BYTE_ORDER.html#variable:CMAKE_%3CLANG%3E_BYTE_ORDER) variable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.