Commit Graph

93 Commits

Author SHA1 Message Date
Martchus 3d791197ac Update libsyncthing to 1.20.1 2022-05-04 18:43:17 +02:00
Martchus 2f861fed5a Update libsyncthing to v1.20.0 2022-05-03 23:28:58 +02:00
Martchus a78eb507d7 Update libsyncthing to v1.19.2 2022-04-05 19:53:07 +02:00
Martchus fd83bb35fd Update libsyncthing to v1.19.1 2022-03-01 12:15:22 +01:00
Martchus e1b9f557f7 Apply clang-format 2022-02-07 17:26:46 +01:00
Martchus c5c34bd83c Update libsyncthing to v1.19.0 2022-02-01 13:21:01 +01:00
Martchus e6609bd2a5 Update libsyncthing to v1.18.6 2022-01-11 11:23:45 +01:00
Martchus 6a2fa35619 Update libsyncthing to v1.18.5 2021-12-07 13:29:07 +01:00
Martchus ba418d9bfb Update libsyncthing to v1.18.4 2021-11-02 17:52:20 +01:00
Martchus d3c878359a Fix typo in libsyncthing tests 2021-10-13 00:14:49 +02:00
Martchus 3b50d78f1e Use resource lock to avoid concurrent execution of tests requiring Syncthing test instance
This is likely the cleaner approach compared to just enforcing a serial run
for the CLI test.
2021-10-13 00:14:35 +02:00
Martchus fe4e9899d7 Update libsyncthing to v1.18.3 2021-10-05 18:13:05 +02:00
Martchus 567e176d48 Link libsyncthing to pthread library via `-pthread`
That's preferred over just specifying the library path because it invokes
additional behavior like adding `-D_REENTRANT` which might be required.
2021-10-04 19:21:18 +02:00
Hannah Rittich 2968898195 Allow finding of packages in namespaces 2021-10-03 02:07:18 +02:00
Martchus ac6ee45017 Update libsyncthing to v1.18.2 2021-09-07 14:46:16 +02:00
Martchus f55814d6e5 Update libsyncthing to v1.18.1 2021-08-03 14:02:18 +02:00
Martchus e9a278a248 Update libsyncthing to v1.18.0 2021-07-06 15:32:18 +02:00
Martchus 0ef3b80447 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:29:49 +02:00
Martchus 303cea3658 Avoid exporting symbols for internal functions declared within libsyncthinginternal.h 2021-06-16 22:52:38 +02:00
Martchus 3e28db37e8 Update libsyncthing to v1.17.0 2021-06-01 20:53:27 +02:00
Martchus 803fa7f2e0 Update libsyncthing to v1.16.0 2021-05-04 12:05:28 +02:00
Martchus 1bf579e1d1 Apply cmake-format 2021-04-07 20:00:27 +02:00
Martchus 9dc5ad7ceb Add target to build syncthing executable (like the syncthing library) 2021-04-07 15:11:40 +02:00
Martchus a825f5b613 Update libsyncthing to v1.15.1 2021-04-06 17:44:00 +02:00
Martchus 56c488ea6c Update libsyncthing to v1.14.0 2021-03-02 18:03:08 +01:00
Martchus 606a9f053d Update libsyncthing to v1.13.1
It seems that the tags v1.13.0 and v1.13.1 are identical, though. Both tags
point to commit f6fac3e949c882771b4b02ce3f586dd09b7555da.
2021-02-03 18:21:33 +01:00
Martchus 8f3653b7ca Update libsyncthing to v1.13.0 2021-02-03 00:01:57 +01:00
Martchus ea442ed569 Update libsyncthing to v1.12.1 2021-01-06 17:29:35 +01:00
Martchus 1bf58bf38d Apply cmake-format and clang-format 2020-12-17 17:52:02 +01:00
Martchus 41372ccf0a Update libsyncthing to v1.12.0 2020-12-01 15:18:24 +01:00
Martchus 3fe2fb9761 Update libsyncthing to v1.11.1 2020-11-03 18:28:50 +01:00
Martchus 7cea7509ba Use C/C++/linker flags for Go compilation from environment consistently
* Use flags from CMake's variables (initialized from environment variables)
  including build type specific variables
* Consider LDFLAGS as well; there's actually linking going on¹

¹Otherwise Go's build system wouldn't run into this error

```
# github.com/DataDog/zstd
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: $WORK/b259/_x008.o:entropy_common.c:(.text+0xaa): undefined reference to `__memcpy_chk'
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: $WORK/b259/_x033.o:zstd_v01.c:(.text+0x1b84): undefined reference to `__memcpy_chk'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```

which is caused by LDFLAGS being inconsistent with CFLAGS.
2020-11-02 23:17:37 +01:00
Martchus 0348c78e98 Improve passing flags to Go build system
* Pass C/C++ flags from CMake to CGo
* Allow overriding flags passed via "-ldflags"
* Add default GOFLAGS and add CMake variable to override GOFLAGS
    * `-trimpath`: Prevent embedding full paths
    * `-modcacherw`: Ensure that go modules creates a write-able path
    * `-mod=readonly`: Ensure the module files are not updated in any go actions
2020-10-31 21:50:24 +01:00
Martchus 4ec3b1ef4b Update libsyncthing to v1.10.0 2020-10-06 13:46:22 +02:00
Martchus b4ea431b7a Update libsyncthing to 1.9.0 2020-09-08 12:45:07 +02:00
Martchus 1d0888a621 Reformat CMakeLists.txt with cmake-format 0.6.11 2020-08-11 23:15:41 +02:00
Martchus 095974218f Update libsyncthing to v1.8.0 2020-08-11 14:18:23 +02:00
Martchus 1131a2915b Update libsyncthing to v1.7.1 2020-07-14 09:17:15 +02:00
Martchus 2b4906d9ed Update libsyncthing to v1.7.0 2020-07-07 10:59:49 +02:00
Martchus 72b37f6253 Update libsyncthing to v1.6.1 2020-06-02 13:12:29 +02:00
Martchus 567ba28553 Update libsyncthing to v1.6.0 2020-06-02 13:11:19 +02:00
Martchus 28a8391f2b Update libsyncthing to v1.5.0, support setting data directory 2020-05-05 19:01:05 +02:00
Martchus 159255441e Update libsyncthing to v1.4.2 2020-04-08 10:16:50 +02:00
Martchus 6b5ab74fe5 Update libsyncthing to v1.4.1 2020-04-07 11:32:46 +02:00
Martchus 8cd75e9f2d Update libsyncthing to v1.4.0 2020-03-17 11:20:00 +01:00
Martchus c152152b67 Improve comments in build scripts 2020-03-05 19:04:55 +01:00
Martchus 033745f734 Update libsyncthing to v1.3.4 2020-02-04 11:02:00 +01:00
Martchus a9abeea8e3 Apply cmake-format 0.6.8 2020-02-02 19:50:35 +01:00
Martchus 133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
Martchus 287ec5542b Allow setting log level when using libsyncthing 2020-01-20 22:30:42 +01:00