OSDN Git Service

finished make check
authorHe Chenlan <210hcl@gmail.com>
Sat, 30 Jan 2021 07:51:03 +0000 (15:51 +0800)
committerHe Chenlan <210hcl@gmail.com>
Sat, 30 Jan 2021 07:51:03 +0000 (15:51 +0800)
glibc.spec

index afade76..15030c8 100644 (file)
@@ -97,7 +97,6 @@ $EnableKernel \
 %ifarch x86_64
 --enable-static-pie \
 --enable-cet \
-## --enable-multi-arch \
 %endif
 --disable-werror \
 --disable-profile \
@@ -106,12 +105,15 @@ $EnableKernel \
 --disable-crypt
 
 make %{?_smp_mflags}
+cd ..
+make %{?_smp_mflags} -C build html 
 
 %check
+%if %{build_testsuite}
 export TIMEOUTFACTOR=16
 # The testsuite does its own malloc checking
 unset MALLOC_CHECK_
-make %{?_smp_mflags} check || {
+make %{?_smp_mflags} -C build -k check || {
   cd build
   o=$-
   set +x
@@ -132,7 +134,6 @@ make %{?_smp_mflags} check || {
   # Fail build if there where compilation errors during testsuite run
   test -f tests.sum
 }
-
-%install
-# Install base glibc
-make %{?_smp_mflags} install_root=%{buildroot} install -C build
+%else
+make %{?_smp_mflags} -C build check-abi
+%endif