Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

develop #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c5a82a4
Bump for 1.99 release
ghutchis Feb 10, 2024
9dad042
Merge pull request #131 from OpenChemistry/bump-199-release
ghutchis Feb 10, 2024
d74938b
Prep for spglib 2.x and remove FindEigen3 for better packaging
ghutchis Feb 10, 2024
33cd40c
Point QtTesting at GitHub for easier redirect on the website
ghutchis Feb 10, 2024
2ec5188
Merge pull request #130 from OpenChemistry/fixup-eigen-spglib
ghutchis Feb 11, 2024
20adc48
Update to spglib 2.3.x
ghutchis Feb 17, 2024
f6f5b65
Merge pull request #132 from OpenChemistry/update-spglib-23
ghutchis Feb 17, 2024
79ba0d2
Turn of testing for eigen (to enable Ninja build on Windows)
ghutchis Feb 17, 2024
cc83c17
Merge pull request #133 from OpenChemistry/dont-test-eigen
ghutchis Feb 17, 2024
56abf14
Don't build eigen documentation either
ghutchis Sep 11, 2024
d3d4284
Merge pull request #134 from OpenChemistry/dont-build-eigen-docs
ghutchis Sep 11, 2024
2e2a5a3
Switch submodules to all use HTTPS by default
ghutchis Oct 19, 2024
43a6544
Merge pull request #135 from ghutchis/fix-submodules
ghutchis Oct 19, 2024
24b90c1
Add CMake cache flags to allow choice of download_dir
matterhorn103 Oct 29, 2024
165a70d
Switch from git to archive strategy for libmsym to match everything else
matterhorn103 Oct 29, 2024
42be935
Merge pull request #140 from matterhorn103/flatpak
ghutchis Oct 30, 2024
d2ae3b2
Explicitly turn off spglib tests to avoid googletest download
matterhorn103 Oct 30, 2024
6608827
Merge pull request #141 from matterhorn103/flatpak
ghutchis Oct 30, 2024
d6e4c34
Default to download to the binary directory (previous behavior)
ghutchis Oct 31, 2024
6d799d1
Make sure default args are passed to external projects
ghutchis Oct 31, 2024
6e9cb5b
Merge pull request #142 from ghutchis/default-download-binary-dir
ghutchis Oct 31, 2024
e2253aa
Revert "Make sure default args are passed to external projects"
ghutchis Oct 31, 2024
751c0bc
Merge pull request #143 from ghutchis/default-download-binary-dir
ghutchis Oct 31, 2024
47c6364
Revert msym on Windows to a known version that compiles
ghutchis Nov 1, 2024
7869c7e
Merge pull request #144 from ghutchis/revert-msym-windows
ghutchis Nov 1, 2024
bd6003f
Back off zlib to 1.2.11 for now
ghutchis Nov 1, 2024
d31cbd9
Merge pull request #145 from ghutchis/back-off-zlib
ghutchis Nov 1, 2024
e793ada
Update spglib and libarchive
ghutchis Nov 11, 2024
0bd1198
Merge pull request #146 from ghutchis/spglib-2.5
ghutchis Nov 11, 2024
a65e9e3
Bump VTK to v9.4.0 release
ghutchis Dec 19, 2024
0de343d
Merge pull request #148 from ghutchis/vtk-9.4
ghutchis Dec 19, 2024
575cedc
Switch to VTK 9.3.1
ghutchis Dec 19, 2024
69b7a62
Merge pull request #150 from ghutchis/vtk-9.3.1
ghutchis Dec 19, 2024
baa28cb
Update GTest and QtTesting versions
ghutchis Jan 16, 2025
0bf4040
Merge pull request #151 from ghutchis/update-testing
ghutchis Jan 16, 2025
acd6580
Set qttesting version based on QT_VERSION (i.e., for 5 or 6)
ghutchis Jan 17, 2025
a8e409e
Merge pull request #152 from ghutchis/fix-qttesting
ghutchis Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
url = https://github.com/Kitware/VTK.git
[submodule "thirdparty/qttesting"]
path = thirdparty/qttesting
url = https://gitlab.kitware.com/paraview/qttesting.git
url = https://github.com/Kitware/qttesting.git
[submodule "avogadrogenerators"]
path = avogadrogenerators
url = https://github.com/openchemistry/avogenerators.git
Expand All @@ -33,10 +33,10 @@
url = https://github.com/OpenChemistry/crystals.git
[submodule "fragments"]
path = fragments
url = git@github.com:OpenChemistry/fragments.git
url = https://github.com/OpenChemistry/fragments.git
[submodule "avogadro-i18n"]
path = avogadro-i18n
url = git@github.com:OpenChemistry/avogadro-i18n.git
url = https://github.com/OpenChemistry/avogadro-i18n.git
[submodule "jupyter-examples"]
path = jupyter-examples
url = git@github.com:OpenChemistry/jupyter-examples.git
url = https://github.com/OpenChemistry/jupyter-examples.git
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ include(BuildLocation)

include(ExternalProject)
include(projects)
# Allow choice of where download_dir should be.
option(DOWNLOAD_TO_SOURCE_DIR "Download external dependency source archives to CMAKE_CURRENT_SOURCE_DIR/Downloads" OFF)
option(DOWNLOAD_TO_BINARY_DIR "Download external dependency source archives to CMAKE_CURRENT_BINARY_DIR/Downloads" ON)
include(download_dir)

# Set up a few default arguments for all projects, such as the install prefix,
Expand Down
2 changes: 1 addition & 1 deletion avogadro-i18n
Submodule avogadro-i18n updated 104 files
2 changes: 1 addition & 1 deletion avogadroapp
Submodule avogadroapp updated 73 files
+28 −12 .github/workflows/build_cmake.yml
+1 −1 .github/workflows/clang-format-check.yml
+1 −1 .github/workflows/codacy.yml
+3 −3 .github/workflows/codeql.yml
+1 −1 .github/workflows/release-drafter.yml
+1 −1 .github/workflows/update-i18n-templates.yml
+1 −1 CMakeLists.txt
+13 −13 SECURITY.md
+17 −8 avogadro/CMakeLists.txt
+68 −2 avogadro/avogadro.cpp
+19 −4 avogadro/lastinstall/CMakeLists.txt
+101 −11 avogadro/mainwindow.cpp
+2 −2 avogadro/mainwindow.h
+1 −1 avogadro/tdxcontroller.cpp
+16 −2 cmake/AvogadroCPack.cmake
+1 −1 cmake/deploy-osx.cmake.in
+117 −107 i18n/af.po
+117 −107 i18n/ar.po
+117 −108 i18n/avogadroapp.pot
+118 −107 i18n/bg.po
+116 −107 i18n/bs.po
+117 −107 i18n/ca.po
+117 −107 i18n/[email protected]
+124 −116 i18n/cs.po
+117 −107 i18n/da.po
+120 −111 i18n/de.po
+117 −107 i18n/el.po
+180 −185 i18n/en_AU.po
+211 −190 i18n/en_CA.po
+122 −110 i18n/en_GB.po
+118 −107 i18n/eo.po
+118 −112 i18n/es.po
+117 −107 i18n/et.po
+118 −107 i18n/eu.po
+117 −107 i18n/fa.po
+117 −107 i18n/fi.po
+129 −123 i18n/fr.po
+116 −107 i18n/fr_CA.po
+117 −107 i18n/gl.po
+117 −107 i18n/he.po
+151 −141 i18n/hi.po
+118 −107 i18n/hr.po
+119 −110 i18n/hu.po
+118 −107 i18n/id.po
+118 −107 i18n/it.po
+118 −107 i18n/ja.po
+119 −110 i18n/ka.po
+117 −107 i18n/kn.po
+118 −107 i18n/ko.po
+117 −107 i18n/ms.po
+118 −107 i18n/nb.po
+120 −110 i18n/nl.po
+117 −107 i18n/oc.po
+118 −107 i18n/pl.po
+118 −107 i18n/pt.po
+118 −107 i18n/pt_BR.po
+296 −319 i18n/ro.po
+178 −247 i18n/ru.po
+117 −107 i18n/sa.po
+117 −107 i18n/sk.po
+117 −107 i18n/sl.po
+117 −107 i18n/sq.po
+118 −107 i18n/sr.po
+117 −107 i18n/sv.po
+117 −107 i18n/ta.po
+117 −107 i18n/te.po
+117 −107 i18n/th.po
+173 −162 i18n/tr.po
+117 −107 i18n/ug.po
+118 −107 i18n/uk.po
+118 −107 i18n/vi.po
+168 −211 i18n/zh_CN.po
+118 −107 i18n/zh_TW.po
2 changes: 1 addition & 1 deletion avogadrogenerators
Submodule avogadrogenerators updated 1 files
+310 −233 orca.py
2 changes: 1 addition & 1 deletion avogadrolibs
Submodule avogadrolibs updated 308 files
2 changes: 2 additions & 0 deletions cmake/External_eigen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ ExternalProject_Add(eigen
URL_MD5 ${eigen_md5}
CMAKE_CACHE_ARGS
${OpenChemistry_DEFAULT_ARGS}
-DEIGEN_BUILD_DOC:BOOL=OFF
-DBUILD_TESTING:BOOL=OFF
)
9 changes: 5 additions & 4 deletions cmake/External_libmsym.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
set(_build "${CMAKE_CURRENT_BINARY_DIR}/libmsym")
set(libmsym_source "${CMAKE_CURRENT_BINARY_DIR}/libmsym-0.2.3-paper")

ExternalProject_Add(libmsym
GIT_REPOSITORY "https://github.com/mcodev31/libmsym.git"
GIT_TAG "0c47befe4a1cd05cbba1aa561b914be926e5ced7"
DOWNLOAD_DIR ${download_dir}
BINARY_DIR ${_build}
SOURCE_DIR "${libmsym_source}"
URL ${libmsym_url}
URL_MD5 ${libmsym_md5}
CMAKE_CACHE_ARGS
${OpenChemistry_DEFAULT_ARGS}
CMAKE_ARGS
-DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DMSYM_NO_VLA_SUPPORT:BOOL=TRUE
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DINSTALL_BIN_DIR:PATH=bin
)
)
4 changes: 3 additions & 1 deletion cmake/External_qttesting.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
set(_source "${CMAKE_CURRENT_SOURCE_DIR}/qttesting")
set(_build "${CMAKE_CURRENT_BINARY_DIR}/qttesting")



ExternalProject_Add(qttesting
SOURCE_DIR ${_source}
BINARY_DIR ${_build}
CMAKE_CACHE_ARGS
${OpenChemistry_DEFAULT_ARGS}
-DQT_TESTING_INSTALL_DEVELOPMENT:BOOL=ON
-DQtTesting_QT_VERSION:STRING=5
-DQtTesting_QT_VERSION:STRING=${QT_VERSION}
)
4 changes: 1 addition & 3 deletions cmake/External_spglib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ ExternalProject_Add(spglib
URL ${spglib_url}
URL_MD5 ${spglib_md5}
BUILD_IN_SOURCE 1
PATCH_COMMAND ${CMAKE_COMMAND} -E copy_if_different
"${_self_dir}/spglib.CMakeLists.txt"
"<SOURCE_DIR>/CMakeLists.txt"
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DSPGLIB_WITH_TESTS=OFF
)
80 changes: 0 additions & 80 deletions cmake/FindEigen3.cmake

This file was deleted.

8 changes: 5 additions & 3 deletions cmake/download_dir.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
# Downloads subdir in the build tree.
#
if(NOT DEFINED download_dir)
if(NOT "$ENV{HOME}" STREQUAL "" AND EXISTS "$ENV{HOME}/Downloads")
if(DOWNLOAD_TO_SOURCE_DIR AND NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "")
set(download_dir "${CMAKE_CURRENT_SOURCE_DIR}/Downloads")
elseif(DOWNLOAD_TO_BINARY_DIR AND NOT "${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "")
set(download_dir "${CMAKE_CURRENT_BINARY_DIR}/Downloads")
elseif(NOT "$ENV{HOME}" STREQUAL "" AND EXISTS "$ENV{HOME}/Downloads")
set(download_dir "$ENV{HOME}/Downloads")
elseif(NOT "$ENV{USERPROFILE}" STREQUAL "" AND EXISTS "$ENV{USERPROFILE}/Downloads")
set(download_dir "$ENV{USERPROFILE}/Downloads")
elseif(NOT "${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "")
set(download_dir "${CMAKE_CURRENT_BINARY_DIR}/Downloads")
else()
message(FATAL_ERROR "unexpectedly empty CMAKE_CURRENT_BINARY_DIR")
endif()
Expand Down
23 changes: 17 additions & 6 deletions cmake/projects.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ set(glew_md5 "3579164bccaef09e36c0af7f4fd5c7c7")

# gtest
list(APPEND projects gtest)
set(gtest_version "1.13.0")
set(gtest_version "1.15.2")
set(gtest_url "https://github.com/google/googletest/archive/refs/tags/v${gtest_version}.tar.gz")
set(gtest_md5 "95b29f0038ec84a611df951d74d99897")
set(gtest_md5 "7e11f6cfcf6498324ac82d567dcb891e")

# hdf5
list(APPEND projects hdf5)
Expand Down Expand Up @@ -57,15 +57,15 @@ set(kdsoap_md5 "ac6fa410678873c634c4fe0db875c02a")

# spglib
list(APPEND projects spglib)
set(spglib_version "1.16.5")
set(spglib_version "2.5.0")
set(spglib_url "https://github.com/spglib/spglib/archive/v${spglib_version}.tar.gz")
set(spglib_md5 "623ce9637d48a25b44ff254790f6b86b")
set(spglib_md5 "13cdcdac341e1cd059502758f2721e70")

# libarchive
list(APPEND projects libarchive)
set(libarchive_version "3.6.2")
set(libarchive_version "3.7.7")
set(libarchive_url "https://github.com/libarchive/libarchive/archive/v${libarchive_version}.tar.gz")
set(libarchive_md5 "7ea12096b1c35878ffc8769c7c345768")
set(libarchive_md5 "26946b891d361a8dfc70c10e242cabae")

# msgpackc
list(APPEND projects msgpackc)
Expand All @@ -78,3 +78,14 @@ list(APPEND projects mmtf-cpp)
set(mmtfcpp_version "1.1.0")
set(mmtfcpp_url "https://github.com/rcsb/mmtf-cpp/archive/v${mmtfcpp_version}.tar.gz")
set(mmtfcpp_md5 "ec961ff406a1636b4c5a25de7d9bd47b")

# libmsym
list(APPEND projects libmsym)
set(libmsym_version "0.2.3-paper")
IF (WIN32)
set(libmsym_url "https://github.com/mcodev31/libmsym/archive/0c47befe4a1cd05cbba1aa561b914be926e5ced7.tar.gz")
set(libmsym_md5 "369eb1c447c317a4482a3d560fcdb648")
ELSE()
set(libmsym_url "https://github.com/mcodev31/libmsym/archive/refs/tags/v${libmsym_version}.tar.gz")
set(libmsym_md5 "1221f9f0b1efefe061b0afbf8cf72481")
ENDIF()
2 changes: 1 addition & 1 deletion crystals
Submodule crystals updated 525 files
2 changes: 1 addition & 1 deletion fragments
Submodule fragments updated 638 files
2 changes: 1 addition & 1 deletion thirdparty/VTK
Submodule VTK updated 11631 files
2 changes: 1 addition & 1 deletion thirdparty/pybind11
Submodule pybind11 updated 291 files
2 changes: 1 addition & 1 deletion thirdparty/qttesting
Submodule qttesting updated 138 files
Loading