Permalink
Browse files

attempt at fixing rpm spec

  • Loading branch information...
gonsie committed Dec 19, 2018
1 parent 24b031b commit 99098f72ad55dcf123e34dbebcb0904b9abe4ed7
Showing with 2 additions and 14 deletions.
  1. +2 −14 mpifileutils.spec
@@ -20,19 +20,8 @@ File utilities designed for scalability and performance.
#topdir=`pwd`
#installdir=$topdir/install

#export PATH="${topdir}/autotools/install/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:${installdir}/lib/pkgconfig"
export CC=mpicc
# hack to get things to build after common library
export CFLAGS="-I${topdir}/src/common -DDCOPY_USE_XATTRS"
export LDFLAGS="-Wl,-rpath,-lcircle"

%configure \
--bindir=%{_bindir} \
--enable-lustre \
--disable-silent-rules \
--with-dtcmp=${installdir} && \
make %{?_smp_mflags}
cmake ./ -DWITH_DTCMP_PREFIX=${installdir} -DWITH_LibCircle_PREFIX=${installdir} -DCMAKE_INSTALL_PREFIX=%{buildroot} -DENABLE_LUSTRE=ON -DENABLE_XATTRS=ON
make

%install
rm -rf %{buildroot}
@@ -47,4 +36,3 @@ make install DESTDIR=%{buildroot}
%{_mandir}/*

%changelog

0 comments on commit 99098f7

Please sign in to comment.