[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#877606: Patch



Tags: patch pending                                                                                                                                                                                               
User: debian-powerpc@lists.debian.org                                                                                                                                                                             
Usertags: ppc64el                                                                                                                                                                                                 

--

Here is the patch that adds dependencies between tests.

F.
diff -Nru hsail-tools-0~20170314/debian/changelog hsail-tools-0~20170314/debian/changelog
--- hsail-tools-0~20170314/debian/changelog	2017-03-16 11:03:57.000000000 +0000
+++ hsail-tools-0~20170314/debian/changelog	2017-10-03 09:33:38.000000000 +0000
@@ -1,3 +1,10 @@
+hsail-tools (0~20170314-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix parallel build issues appearing on ppc64el (Closes: #877606)
+
+ -- Frédéric Bonnard <frediz@linux.vnet.ibm.com>  Tue, 03 Oct 2017 09:33:38 +0000
+
 hsail-tools (0~20170314-2) unstable; urgency=medium
 
   * debian/copyright: Add license field for files with a different
diff -Nru hsail-tools-0~20170314/debian/patches/depend-tests.patch hsail-tools-0~20170314/debian/patches/depend-tests.patch
--- hsail-tools-0~20170314/debian/patches/depend-tests.patch	1970-01-01 00:00:00.000000000 +0000
+++ hsail-tools-0~20170314/debian/patches/depend-tests.patch	2017-10-02 15:53:56.000000000 +0000
@@ -0,0 +1,20 @@
+Index: hsail-tools-0~20170314/HSAILAsm/CMakeLists.txt
+===================================================================
+--- hsail-tools-0~20170314.orig/HSAILAsm/CMakeLists.txt	2017-03-06 16:05:12.000000000 +0000
++++ hsail-tools-0~20170314/HSAILAsm/CMakeLists.txt	2017-10-02 15:53:53.768228620 +0000
+@@ -49,6 +49,8 @@
+          COMMAND ${HSAILASM} -decode test.brig -o test.yaml
+          WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ 
++set_tests_properties(HSAILAsm-disassemble HSAILAsm-decode PROPERTIES DEPENDS HSAILAsm-assemble)
++
+ if(BUILD_LIBBRIGDWARF)
+ add_test(NAME HSAILAsm-assemble-g
+          COMMAND ${HSAILASM} -assemble -g ${test} -o test-g.brig
+@@ -66,4 +68,6 @@
+          COMMAND ${HSAILASM} -assemble -g -include-source ${test} -o test-g.brig
+          WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ 
++set_tests_properties(HSAILAsm-disassemble-g PROPERTIES DEPENDS HSAILAsm-assemble-g)
++
+ endif()
diff -Nru hsail-tools-0~20170314/debian/patches/series hsail-tools-0~20170314/debian/patches/series
--- hsail-tools-0~20170314/debian/patches/series	2017-03-14 10:27:27.000000000 +0000
+++ hsail-tools-0~20170314/debian/patches/series	2017-10-02 15:38:40.000000000 +0000
@@ -1 +1,2 @@
 no-werror.diff
+depend-tests.patch

Attachment: pgprKYGvj7fqd.pgp
Description: PGP signature


Reply to: