mirror of
https://github.com/boostorg/config.git
synced 2025-08-02 05:44:26 +02:00
Add support for LoongArch
This commit is contained in:
@@ -18,6 +18,7 @@ obj 64 : 64.cpp ;
|
|||||||
|
|
||||||
obj arm : arm.cpp ;
|
obj arm : arm.cpp ;
|
||||||
obj combined : combined.cpp ;
|
obj combined : combined.cpp ;
|
||||||
|
obj loongarch : loongarch.cpp ;
|
||||||
obj mips : mips.cpp ;
|
obj mips : mips.cpp ;
|
||||||
alias mips1 : mips ; # Backwards compatibility
|
alias mips1 : mips ; # Backwards compatibility
|
||||||
obj power : power.cpp ;
|
obj power : power.cpp ;
|
||||||
|
11
checks/architecture/loongarch.cpp
Normal file
11
checks/architecture/loongarch.cpp
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// loongarch.cpp
|
||||||
|
//
|
||||||
|
// Copyright (c) 2022 Zhang Na
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License Version 1.0. (See
|
||||||
|
// accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
#if !defined(__loongarch__)
|
||||||
|
#error "Not LoongArch"
|
||||||
|
#endif
|
Reference in New Issue
Block a user