home  bbs  files  messages ]

      ZZLI4416             linux.debian.bugs.dist             15094 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 14958 of 15094 on ZZLI4416, Thursday 11-05-25, 12:10  
  From: NILS.SCHILD@POSTEO.DE  
  To: ALL  
  Subj: Bug#1101487: libkokkos-dev: Header files  
 23: 
 Hi, 
  
 the diff below can be applied to the Kokkos repository to change the 
 install path of the header files. 
  
 I tested that the patch can compile valid kokkos code using the example 
 'example/build_cmake_installed' from the Kokkos upstream repo. 
 Also I tested that the update works from 4.7.1-1 to 4.7.1-2. 
  
 If there are no objections I would ask the maintainer to apply the 
 changes. 
  
 Best, 
 Nils 
  
 diff --git a/debian/changelog b/debian/changelog 
 index ab338fa..3ae117e 100644 
 --- a/debian/changelog 
 +++ b/debian/changelog 
 @@ -1,3 +1,9 @@ 
 +kokkos (4.7.01-2) unstable; urgency=medium 
 + 
 +  * Install Kokkos headers into /usr/include/kokkos 
 + 
 + -- Nils Schild   Tue, 04 Nov 2025 20:49:38 
 +0100 
 + 
   kokkos (4.7.01-1) unstable; urgency=medium 
  
     * New upstream version. 
 diff --git a/debian/libkokkos-dev.install b/debian/libkokkos-dev.install 
 index 30ccf82..2adbb5a 100644 
 --- a/debian/libkokkos-dev.install 
 +++ b/debian/libkokkos-dev.install 
 @@ -1,3 +1,3 @@ 
 -usr/include/* usr/include 
 +usr/include/kokkos/* usr/include/kokkos 
   usr/lib/*/*.so usr/lib/${DEB_HOST_MULTIARCH}/ 
   usr/lib/*/cmake usr/lib/${DEB_HOST_MULTIARCH}/ 
 diff --git a/debian/rules b/debian/rules 
 index cfa53bf..446955a 100755 
 --- a/debian/rules 
 +++ b/debian/rules 
 @@ -14,6 +14,7 @@ endif 
  
   override_dh_auto_configure: 
    dh_auto_configure -- \\ 
 +        -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/kokkos" \\ 
    -DBUILD_SHARED_LIBS=ON \\ 
    -DKokkos_ENABLE_OPENMP=ON \\ 
    $(RUN_TESTS) 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 
    

[ list messages | list forums | previous | next | reply ]

search for:

328,098 visits
(c) 1994,  bbs@darkrealms.ca