代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/numactl 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From a37ca95db184fb97c55a294449fe7622a5aecdda Mon Sep 17 00:00:00 2001
From: laokz <zhangkai@iscas.ac.cn>
Date: Tue, 18 Jul 2023 19:37:14 +0800
Subject: [PATCH] riscv64: remove flag -latomic
Because openEuler gcc already support inline subword atomic
for RISC-V, remove the redundant flag.
---
Makefile.am | 3 ---
Makefile.in | 1 -
2 files changed, 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index d64df5d..ba6cd48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,9 +41,6 @@ memhog_LDADD = libnuma.la
libnuma_la_SOURCES = libnuma.c syscall.c distance.c affinity.c affinity.h sysfs.c sysfs.h rtnetlink.c rtnetlink.h versions.ldscript
libnuma_la_LDFLAGS = -version-info 1:0:0 -Wl,--version-script,$(srcdir)/versions.ldscript -Wl,-init,numa_init -Wl,-fini,numa_fini
-if RISCV64
-libnuma_la_LDFLAGS += -latomic
-endif
check_PROGRAMS = \
test/distance \
diff --git a/Makefile.in b/Makefile.in
index 8cbad1c..a196ea0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -95,7 +95,6 @@ target_triplet = @target@
bin_PROGRAMS = numactl$(EXEEXT) numastat$(EXEEXT) numademo$(EXEEXT) \
migratepages$(EXEEXT) migspeed$(EXEEXT) memhog$(EXEEXT)
@HAVE_TREE_VECTORIZE_TRUE@am__append_1 = -ftree-vectorize
-@RISCV64_TRUE@am__append_2 = -latomic
check_PROGRAMS = test/distance$(EXEEXT) test/ftok$(EXEEXT) \
test/mbind_mig_pages$(EXEEXT) test/migrate_pages$(EXEEXT) \
test/move_pages$(EXEEXT) test/mynode$(EXEEXT) \
--
2.40.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。