Source: tao-json
Version: 0.0+git20200604.f357d72-2
Severity: normal
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

The tao-json source package lacks LoongArch architecture support.

I have added support for loongarch in tao-json package and built successfully on my local ENV.
Please consider the patch I attached.
Thus, I also submitted a pull-request to upstream, please see https://github.com/taocpp/json/pull/150.

Could you add loongarch64 support in the next upload?
Your opinions are welcome.

Thanks
Dandan Zhang

Description: Add loongarch64 support 
Last-Update: 2024-07-11

--- tao-json-0.0+git20200604.f357d72.orig/include/tao/json/external/double.hpp
+++ tao-json-0.0+git20200604.f357d72/include/tao/json/external/double.hpp
@@ -62,7 +62,7 @@
    defined(__sparc__) || defined(__sparc) || defined(__s390__) ||       \
    defined(__SH4__) || defined(__alpha__) ||                            \
    defined(_MIPS_ARCH_MIPS32R2) ||                                      \
-   defined(__AARCH64EL__) || defined(__aarch64__)
+   defined(__AARCH64EL__) || defined(__aarch64__) || defined(__loongarch64)
 #define TAO_JSON_DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
 #elif defined(__mc68000__)
 #undef TAO_JSON_DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS

Reply via email to