Skip to content

Commit 4cc3a11

Browse files
committed
Fix installed Kokkos FE header support
1 parent bebe8b7 commit 4cc3a11

16 files changed

Lines changed: 89 additions & 16 deletions

contrib/bin/libmesh-config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ while [ "x$1" != "x" ]; do
106106
;;
107107

108108
"--cppflags")
109-
return_val="${CPPFLAGS} $return_val"
109+
return_val="${CPPFLAGS} @KOKKOS_CPPFLAGS@ $return_val"
110110
;;
111111

112112
"--cxxflags")

contrib/utils/libmesh-dbg.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Libs: -Wl,-rpath,${libdir} -L${libdir} -lmesh_dbg -ltimpi_dbg \
1313
Libs.private:
1414
Cflags: @CPPFLAGS_DBG@ \
1515
-I${includedir} \
16+
@KOKKOS_CPPFLAGS@ \
1617
@libmesh_optional_INCLUDES@

contrib/utils/libmesh-devel.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Libs: -Wl,-rpath,${libdir} -L${libdir} -lmesh_devel -ltimpi_devel \
1313
Libs.private:
1414
Cflags: @CPPFLAGS_DEVEL@ \
1515
-I${includedir} \
16+
@KOKKOS_CPPFLAGS@ \
1617
@libmesh_optional_INCLUDES@

contrib/utils/libmesh-oprof.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Libs: -Wl,-rpath,${libdir} -L${libdir} -lmesh_oprof -ltimpi_oprof \
1313
Libs.private:
1414
Cflags: @CPPFLAGS_OPROF@ \
1515
-I${includedir} \
16+
@KOKKOS_CPPFLAGS@ \
1617
@libmesh_optional_INCLUDES@

contrib/utils/libmesh-opt.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Libs: -Wl,-rpath,${libdir} -L${libdir} -lmesh_opt -ltimpi_opt \
1313
Libs.private:
1414
Cflags: @CPPFLAGS_OPT@ \
1515
-I${includedir} \
16+
@KOKKOS_CPPFLAGS@ \
1617
@libmesh_optional_INCLUDES@

contrib/utils/libmesh-prof.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Libs: -Wl,-rpath,${libdir} -L${libdir} -lmesh_prof -ltimpi_prof \
1313
Libs.private:
1414
Cflags: @CPPFLAGS_PROF@ \
1515
-I${includedir} \
16+
@KOKKOS_CPPFLAGS@ \
1617
@libmesh_optional_INCLUDES@

include/gpu/kokkos_fe_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#ifndef LIBMESH_KOKKOS_FE_BASE_H
2828
#define LIBMESH_KOKKOS_FE_BASE_H
2929

30-
#include "gpu/kokkos_scalar_types.h"
30+
#include "kokkos_scalar_types.h"
3131
#include "libmesh/libmesh_device.h"
3232
#include "libmesh/enum_elem_type.h"
3333
#include "libmesh/enum_fe_family.h"

include/gpu/kokkos_fe_evaluator.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
#ifndef LIBMESH_KOKKOS_FE_EVALUATOR_H
1616
#define LIBMESH_KOKKOS_FE_EVALUATOR_H
1717

18-
#include "gpu/kokkos_fe_base.h"
19-
#include "gpu/kokkos_fe_types.h"
20-
#include "gpu/kokkos_fe_lagrange_1d.h"
21-
#include "gpu/kokkos_fe_lagrange_2d.h"
22-
#include "gpu/kokkos_fe_lagrange_3d.h"
23-
#include "gpu/kokkos_fe_monomial.h"
18+
#include "kokkos_fe_base.h"
19+
#include "kokkos_fe_types.h"
20+
#include "kokkos_fe_lagrange_1d.h"
21+
#include "kokkos_fe_lagrange_2d.h"
22+
#include "kokkos_fe_lagrange_3d.h"
23+
#include "kokkos_fe_monomial.h"
2424
#include "libmesh/enum_elem_type.h"
2525
#include "libmesh/enum_fe_family.h"
2626

include/gpu/kokkos_fe_face_map.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#ifdef LIBMESH_HAVE_KOKKOS
55

6-
#include "gpu/kokkos_fe_evaluator.h"
6+
#include "kokkos_fe_evaluator.h"
77
#include "libmesh/elem.h"
88

99
namespace libMesh::Kokkos

include/gpu/kokkos_fe_lagrange_1d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#ifndef LIBMESH_KOKKOS_FE_LAGRANGE_1D_H
1313
#define LIBMESH_KOKKOS_FE_LAGRANGE_1D_H
1414

15-
#include "gpu/kokkos_fe_base.h"
15+
#include "kokkos_fe_base.h"
1616

1717
namespace libMesh::Kokkos
1818
{

0 commit comments

Comments
 (0)