Skip to content

Libint2 cmake #147

@loriab

Description

@loriab

I see you've got an interesting hybrid of libtool and CMake for building the Libint2 compiler and library, respectively.

  • What's your feeling toward a pure CMake buildsys for the compiler?
  • Agreed that the name of the project is Libint2? (that'll be consistent with v1 and some of your CMake.)
  • Are you supporting simultaneous static/shared build because you sometimes want both or just for continuity with libtool?
  • (least important) FYI, in building the compiler on Linux, it configures and builds fine from Intel, but from GCC (7.3.0; non-standard location), I get the following:
make[3]: Entering directory `/home/psilocaluser/gits/libint2/build_gen_auto/src/bin/libint'
/home/psilocaluser/toolchainconda/envs/p4dev37b/bin/x86_64-conda_cos6-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe   -DHAVE_CONFIG_H  -D__COMPILING_LIBINT2=1 -I../../../src/bin -I../../../include -I/home/psilocaluser/gits/libint2/src/bin/libint/../../../include -I/home/psilocaluser/gits/libint2/src/bin/libint/../../../src/bin -I/home/psilocaluser/toolchainconda/envs/p4dev37b/include/ -I/usr/include -I. -I/home/psilocaluser/gits/libint2/src/bin/libint  -c -o build_libint.o /home/psilocaluser/gits/libint2/src/bin/libint/build_libint.cc
In file included from /home/psilocaluser/gits/libint2/src/bin/libint/purgeable.h:24:0,
                 from /home/psilocaluser/gits/libint2/src/bin/libint/singl_stack.h:29,
                 from /home/psilocaluser/gits/libint2/src/bin/libint/rr.h:33,
                 from /home/psilocaluser/gits/libint2/src/bin/libint/build_libint.cc:48:
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:46:13: error: 'MemoryManager' does not name a type
     typedef MemoryManager::Address Address;
             ^~~~~~~~~~~~~
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:48:13: error: 'MemoryManager' does not name a type
     typedef MemoryManager::Size Size;
             ^~~~~~~~~~~~~
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:50:20: error: 'Address' was not declared in this scope
     typedef NotSet<Address> AddressNotSet;
                    ^~~~~~~
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:50:27: error: template argument 1 is invalid
     typedef NotSet<Address> AddressNotSet;
                           ^
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:183:5: error: 'Address' does not name a type
     Address address() const;
     ^~~~~~~
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:185:28: error: 'Address' does not name a type
     void set_address(const Address& address);
                            ^~~~~~~
/home/psilocaluser/gits/libint2/src/bin/libint/dgvertex.h:247:5: error: 'Address' does not name a type
     Address address_;
     ^~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions