summaryrefslogtreecommitdiff
path: root/cmake/submodules.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.3 into 10.4Marko Mäkelä2022-03-291-13/+22
|\
| * MDEV-28032 "git submodule update --depth 1" may fail with old GitSutou Kouhei2022-03-191-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | submodules.cmake: don't use "--depth 1" with old Git Old Git may not work with "--depth 1" when the referenced commit hash is far from HEAD. Newer Git improves the situation. For example: https://github.com/git/git/commit/fb43e31f2b43076e7a30c9cd00d0241cb8cf97eb It's safe to not use "--depth 1" with old Git. Closes #2049
* | Merge 10.3 into 10.4Marko Mäkelä2021-07-021-1/+1
|\ \ | |/
| * submodules.cmake: add missing --depth=1Eugene Kosov2021-07-021-1/+1
| |
* | Merge 10.3 into 10.4Marko Mäkelä2020-05-301-2/+2
|\ \ | |/
| * optimize performance of the build in a fresh cloneSergei Golubchik2020-05-271-2/+2
| | | | | | | | don't fetch the complete history of all submodules, it's rarely needed
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-02-211-4/+8
|\ \ | |/
| * typo cmake/submodules.cmakeLaurynas Biveinis2019-02-131-1/+1
| | | | | | Co-Authored-By: grooverdan <daniel@linux.ibm.com>
| * cmake/submodules: notify user about gitconfig for automatic updateDaniel Black2019-02-131-4/+8
| |
* | cmake-wsrep: friendly error message about missing wsrep_api.hDaniel Black2019-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this commit the error message is: $ cmake . -DWITH_WSREP=ON -- Running cmake version 3.12.1 -- MariaDB 10.4.3 CMake Error at cmake/wsrep.cmake:36 (FILE): FILE STRINGS file ".../mariadb-server-10.4/wsrep-lib/wsrep-API/v26/wsrep_api.h" cannot be read. Call Stack (most recent call first): CMakeLists.txt:147 (INCLUDE) Having 'git config cmake.update-submodules yes' nicely updates the build without error. $ cmake . -DWITH_WSREP=ON -- Running cmake version 3.12.1 -- MariaDB 10.4.3 Submodule path 'wsrep-lib': checked out 'e7d72ae7f6a6995a21d743389426a963429a1fff' Submodule path 'wsrep-lib/wsrep-API/v26': checked out '75a5f452f2ba07b0f4a3a9a94825fccc71b27398'
* | Galera4Brave Galera Crew2019-01-231-3/+3
|/
* Update libmariadbVladislav Vaintroub2018-10-031-0/+6
|
* cleanupSergei Golubchik2017-09-181-2/+2
| | | | | Item_func_format::print() was redundant and other changes
* submodules.cmake: git returns 128 if not in a repositoryDaniel Black2017-08-291-2/+3
| | | | | | | | | | | It is possible that a .git directory isn't definitive on the existance of a working git tree. A git worktree over sshfs for instance will fail to build unless the main repository also exists in the same directory. Adding this extra test will make the detection that little more ruggardised for these odd build environments. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* cmake: update submodules automatically during the buildSergei Golubchik2017-08-141-0/+30