mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Add support for LoongArch
This commit is contained in:
@ -18,6 +18,7 @@ obj 64 : 64.cpp ;
|
||||
|
||||
obj arm : arm.cpp ;
|
||||
obj combined : combined.cpp ;
|
||||
obj loongarch : loongarch.cpp ;
|
||||
obj mips : mips.cpp ;
|
||||
alias mips1 : mips ; # Backwards compatibility
|
||||
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