mirror of
https://github.com/boostorg/config.git
synced 2026-03-13 06:11:06 +01:00
Compare commits
9 Commits
boost-1.82
...
serializat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
015247ccd0 | ||
|
|
d483059795 | ||
|
|
e11564fb3d | ||
|
|
a1cf5d5314 | ||
|
|
a1edcd56a0 | ||
|
|
f5726a26dc | ||
|
|
9953128bd4 | ||
|
|
4cf70b168f | ||
|
|
a665838eb0 |
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -151,7 +151,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
toolset: [ clang, gcc-11, gcc-10, gcc-9 ]
|
||||
toolset: [ clang, gcc-11, gcc-10 ]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -511,13 +511,13 @@ jobs:
|
||||
run: |
|
||||
source ../emsdk/emsdk_env.sh
|
||||
emcc -pthread -s EXIT_RUNTIME=1 -s PTHREAD_POOL_SIZE=32 -I. -O3 -o config_info_pthread libs/config/test/config_info.cpp
|
||||
node --experimental-wasm-threads --experimental-wasm-bulk-memory config_info_pthread
|
||||
node --experimental-wasm-threads config_info_pthread
|
||||
- name: Test config_test (pthread)
|
||||
working-directory: ../boost-root
|
||||
run: |
|
||||
source ../emsdk/emsdk_env.sh
|
||||
emcc -pthread -s EXIT_RUNTIME=1 -s PTHREAD_POOL_SIZE=32 -s DISABLE_EXCEPTION_CATCHING=0 -I. -O3 -o config_test_pthread libs/config/test/config_test.cpp
|
||||
node --experimental-wasm-threads --experimental-wasm-bulk-memory config_test_pthread
|
||||
node --experimental-wasm-threads config_test_pthread
|
||||
ubuntu-cuda:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
@@ -570,9 +570,6 @@ jobs:
|
||||
- name: Config_test nvcc+clang
|
||||
run: nvcc -std=c++${{ matrix.std }} --compiler-bindir=clang++ -o config_test -I../../.. config_test.cpp -latomic && ./config_test
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test nvcc-cuda+clang
|
||||
run: nvcc -c -std=c++${{ matrix.std }} --compiler-bindir=clang++ -I../../.. config_test.cu
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test clang-cuda
|
||||
run: clang++ -nocudalib --no-cuda-version-check -c --cuda-gpu-arch=sm_75 -std=c++${{ matrix.std }} -I../../.. config_test.cu
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
|
||||
@@ -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
|
||||
@@ -305,6 +305,10 @@
|
||||
# define BOOST_CXX_VERSION 201402L
|
||||
#endif
|
||||
|
||||
#if BOOST_CXX_VERSION >= 201703L
|
||||
# define BOOST_ATTRIBUTE_UNUSED [[maybe_unused]]
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_COMPILER
|
||||
// TODO:
|
||||
// these things are mostly bogus. 1200 means version 12.0 of the compiler. The
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
// BOOST_VERSION / 100 % 1000 is the minor version
|
||||
// BOOST_VERSION / 100000 is the major version
|
||||
|
||||
#define BOOST_VERSION 108200
|
||||
#define BOOST_VERSION 108400
|
||||
|
||||
//
|
||||
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
|
||||
@@ -27,6 +27,6 @@
|
||||
// number, y is the minor version number, and z is the patch level if not 0.
|
||||
// This is used by <config/auto_link.hpp> to select which library version to link to.
|
||||
|
||||
#define BOOST_LIB_VERSION "1_82"
|
||||
#define BOOST_LIB_VERSION "1_84"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user