Skip to content

Commit 33ac9a0

Browse files
committed
Use boost PP to compress verboseness of OneBodyEngine
1 parent a478b92 commit 33ac9a0

File tree

7 files changed

+140
-303
lines changed

7 files changed

+140
-303
lines changed

export/MakeRules.export

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ install_inc:: $(TOPDIR)/lib/$(TARGET)
1414
-$(INSTALL) $(INSTALLLIBOPT) $(TOPDIR)/include/libint2/config.h $(DESTDIR)$(includedir)/$(NAME)$(VERSION)
1515
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(includedir)/$(NAME)$(VERSION)/chemistry
1616
-$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/include/libint2/chemistry/*.h $(DESTDIR)$(includedir)/$(NAME)$(VERSION)/chemistry
17+
cd $(DESTDIR)$(includedir)/$(NAME)$(VERSION) && gunzip -c $(SRCTOPDIR)/external/boost.tar.gz | tar xf -
1718

1819
install_pkgconfig::
1920
$(INSTALL) $(INSTALLDIROPT) $(DESTDIR)$(pkgconfigdir)

export/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,7 @@ exportdir::
8787
-$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/doc/Libint_Logo3_alt.pdf $(TOPDIR)/$(EXPORTDIR)/doc/Libint_Logo3_alt.pdf
8888
-$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/doc/Libint_Logo3_alt.eps $(TOPDIR)/$(EXPORTDIR)/doc/Libint_Logo3_alt.eps
8989
-$(INSTALL) $(INSTALLLIBOPT) $(SRCDIR)/Makefile.doc.export $(TOPDIR)/$(EXPORTDIR)/doc/Makefile.in
90+
$(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/$(EXPORTDIR)/external
91+
-$(INSTALL) $(INSTALLLIBOPT) $(SRCTOPDIR)/external/boost.tar.gz $(TOPDIR)/$(EXPORTDIR)/external/boost.tar.gz
9092
$(TOPOBJDIR)/config.status --config > $(TOPDIR)/$(EXPORTDIR)/compiler.config
9193

export/Makefile.tests.export

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,20 @@ check3:: $(TEST3)
3535
endif
3636
endif
3737

38-
$(TEST2): hartree-fock/hartree-fock.o
38+
$(TEST2): $(TEST2).o
3939
$(LTLINK) $(CXX) $(LDFLAGS) $(COMPUTE_LIB) $(SYSLIBS) -o $@ $^
4040

41-
$(TEST3): hartree-fock/hartree-fock++.o
41+
$(TEST3): $(TEST3).o
4242
$(LTLINK) $(CXX) $(LDFLAGS) $(COMPUTE_LIB) $(SYSLIBS) -o $@ $^
4343

44+
.PHONY: unpack_boost
45+
46+
$(TEST2).o :: unpack_boost
47+
$(TEST3).o :: unpack_boost
48+
49+
unpack_boost::
50+
cd $(TOPDIR)/include/libint2 && gunzip -c $(SRCDIR)/external/boost.tar.gz | tar xf -
51+
4452
clean:: targetclean
4553
-rm -f */*.o */*.d
4654

external/boost.tar.gz

189 KB
Binary file not shown.

0 commit comments

Comments
 (0)