Skip to content

Commit

Permalink
add runtest=True to all; export compile commands to all; disable down…
Browse files Browse the repository at this point in the history
…load of components.cif for libcifpp
  • Loading branch information
ThomasHoffmann77 committed Jan 22, 2025
1 parent 104dda7 commit a4d3c6c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
6 changes: 5 additions & 1 deletion easybuild/easyconfigs/d/dssp/dssp-4.4.10-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ postinstallcmds = [
'cd %(installdir)s/share/man && ln -s mkdssp.1 dssp.1',
]

configopts = '-DENABLE_TESTING=ON -DUSE_RSRC=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON'
configopts = '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON '
configopts += '-DUSE_RSRC=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON '

runtest = True

sanity_check_commands = ['dssp -h']
sanity_check_paths = {
'files': ['bin/dssp'],
Expand Down
10 changes: 8 additions & 2 deletions easybuild/easyconfigs/l/libcifpp/libcifpp-7.0.8-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,17 @@ dependencies = [
('zlib', '1.3.1'),
]

_confopts = '-DFETCHCONTENT_FULLY_DISCONNECTED=ON '
# do not update components.cif:
_confopts += '-DCIFFPP_DOWNLOAD_CCD=OFF '

configopts = [
'-DBUILD_SHARED_LIBS=OFF -DDENABLE_TESTING=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON ',
'-DBUILD_SHARED_LIBS=ON -DDENABLE_TESTING=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON ',
'-DBUILD_SHARED_LIBS=OFF ' + _confopts,
'-DBUILD_SHARED_LIBS=ON ' + _confopts,
]

runtest = True

sanity_check_paths = {
'files': ['lib/libcifpp.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': ['etc', 'include', 'lib', 'lib/cmake', 'share/%(name)s']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ builddependencies = [
('CMake', '3.29.3'),
('Catch2', '2.13.10'),
]
configopts = [
'-DDENABLE_TESTING=ON',
]

configopts = '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON '
configopts += '-DFETCHCONTENT_FULLY_DISCONNECTED=ON '

runtest = True

sanity_check_paths = {
'files': [],
Expand Down
4 changes: 3 additions & 1 deletion easybuild/easyconfigs/m/mrc/mrc-1.3.13-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ checksums = [

github_account = 'mhekkel'

configopts = '-DFETCHCONTENT_FULLY_DISCONNECTED=ON '
configopts = '-DFETCHCONTENT_FULLY_DISCONNECTED=ON CMAKE_EXPORT_COMPILE_COMMANDS'

builddependencies = [
('binutils', '2.42'),
Expand All @@ -47,6 +47,8 @@ builddependencies = [
('Catch2', '3.8.0') # req. 3.5.2 or newer
]

runtest = True

sanity_check_commands = ['mrc -h']
sanity_check_paths = {
'files': ['bin/mrc'],
Expand Down

0 comments on commit a4d3c6c

Please sign in to comment.