Skip to content

Commit 8ba7cf9

Browse files
update loongarch patch
1 parent 115b6dc commit 8ba7cf9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/ceph-19/patches/003-add-spdk.patch

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,21 @@ index f4df5c41b..4842fc15b 100755
132132
if [ -s scripts/posix.log ]; then
133133
echo "POSIX includes detected. Please include spdk/stdinc.h instead."
134134
cat scripts/posix.log
135+
diff --git a/ceph/src/boost/libs/config/checks/architecture/loongarch.cpp b/ceph/src/boost/libs/config/checks/architecture/loongarch.cpp
136+
new file mode 100644
137+
index 000000000..2bf81f7a9
138+
--- /dev/null
139+
+++ b/ceph/src/boost/libs/config/checks/architecture/loongarch.cpp
140+
@@ -0,0 +1,12 @@
141+
+// loongarch.cppAdd commentMore actions
142+
+//
143+
+// Copyright (c) 2012 Steven Watanabe
144+
+//
145+
+// Distributed under the Boost Software License Version 1.0. (See
146+
+// accompanying file LICENSE_1_0.txt or copy at
147+
+// http://www.boost.org/LICENSE_1_0.txt)
148+
+
149+
+#if !defined(__loongarch) && !defined(__loongarch__) && !defined(__loongarch64__) \
150+
+ && !defined(__loong) && !defined(__LOONGARCH__)
151+
+#error "Not LOONGARCH"
152+
+#endif

0 commit comments

Comments
 (0)