Skip to content

Commit

Permalink
[compiler] removed install_cmake target, fixes compiler's install target
Browse files Browse the repository at this point in the history
resolves #222
  • Loading branch information
evaleev committed Sep 19, 2021
1 parent c90d217 commit a6c5110
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 22 deletions.
4 changes: 3 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Following is a brief summary of changes made in each release of Libint.

- 2021-xx-yy: 2.7.1
- fixed tracking of shell-pair data
- PR 224: fixed tracking of shell-pair data
- PR 223: removed redundant const qualifier (HT @e-kwsm)
- issue 222: fixed compiler tree's install target

- 2021-09-14: 2.7.0
- precision tracking of shell-pair data, respected by Engine::compute2
Expand Down
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export::
done
(cd export && $(MAKE) $(DODEPENDOPT) export) || exit 1;

install:: all install_pkgconfig install_cmake install_inc install_data
install:: all install_pkgconfig install_inc install_data
for dir in $(SUBDIRS); \
do \
(cd $${dir} && $(MAKE) $(DODEPENDOPT) install) || exit 1; \
Expand All @@ -42,12 +42,6 @@ install_pkgconfig::
$(INSTALL) $(INSTALLLIBOPT) $(TOPDIR)/libint2.pc $(DESTDIR)$(pkgconfigdir)
endif

ifdef cmakedir
install_cmake::
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(cmakedir)
$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/FindLibint2.cmake $(DESTDIR)$(cmakedir)
endif

install_data::
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(datadir)/basis
$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/lib/basis/* $(DESTDIR)$(datadir)/basis
Expand Down
7 changes: 0 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1071,13 +1071,6 @@ PKGCONFIGDIR=$withval
)
AC_SUBST(PKGCONFIGDIR)

CMAKEDIR='$(libdir)/cmake/libint2'
AC_ARG_WITH(cmakedir,
AS_HELP_STRING([--with-cmakedir],[Specifies the location to put FindLibint2.cmake file. Default is $(libdir)/cmake/libint2.]),
CMAKEDIR=$withval
)
AC_SUBST(CMAKEDIR)

dnl --------- Want absolute path for srcdir, not relative. ---------

if test X$ac_srcdir_defaulted = Xyes; then
Expand Down
6 changes: 0 additions & 6 deletions src/lib/MakeRules.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ install_pkgconfig::
$(INSTALL) $(INSTALLLIBOPT) $(TOPDIR)/libint2.pc $(DESTDIR)$(pkgconfigdir)
endif

ifdef cmakedir
install_cmake::
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(cmakedir)
$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/FindLibint2.cmake $(DESTDIR)$(cmakedir)
endif

install_data::
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(datadir)/basis
$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/lib/basis/* $(DESTDIR)$(datadir)/basis
Expand Down
1 change: 0 additions & 1 deletion src/lib/MakeVars.in
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ bindir=@bindir@
libdir=@libdir@
includedir=@libintincludedir@
pkgconfigdir=@PKGCONFIGDIR@
cmakedir=@CMAKEDIR@
datadir=@datarootdir@/libint/$(LIBINT_VERSION)

RANLIB = @RANLIB@
Expand Down

0 comments on commit a6c5110

Please sign in to comment.