| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
don't fetch the complete history of all submodules, it's rarely needed
|
|\ \
| |/ |
|
| |
| |
| | |
Co-Authored-By: grooverdan <daniel@linux.ibm.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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'
|
|/ |
|
| |
|
|
|
|
|
| |
Item_func_format::print() was redundant
and other changes
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|