Commit Graph

63 Commits

Author SHA1 Message Date
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 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 e99c3f4ef7 Update libsyncthing to v1.3.3 2020-01-07 14:44:10 +01:00
Martchus f94db6703b Update libsyncthing to v1.3.2 2019-12-03 13:34:31 +01:00
Martchus 4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
Martchus e5286cb218 Update libsyncthing to v1.3.1 2019-11-07 18:55:37 +01:00
Martchus d50e78be29 Update libsyncthing to v1.3.0 2019-10-01 13:55:40 +02:00
Martchus 3b607f467a Update libsyncthing to Syncthing v1.2.2 2019-09-08 18:08:13 +02:00
Martchus bd345dfe12 Apply cmake-format 2019-08-08 21:34:24 +02:00
Martchus 584afb52d9 Update libsyncthing 2019-08-07 18:42:41 +02:00
Martchus 971e2dca6a Fix including BasicConfig in libsyncthing 2019-08-06 10:57:42 +02:00
Martchus be0be08997 Apply cmake-format 2019-08-06 00:13:15 +02:00
Martchus e2037aebc1 Fix further configuration issues with libsyncthing
* Can not use BUNDLED_TARGETS because syncthinginternal is only an
  imported target
* Use INSTALL_INTERFACE generator expression to specify path of
  libsyncthinginternal.a for installation (imported target can not
  be exported apparently)
2019-08-06 00:12:58 +02:00
Martchus 495140cdf9 Use imported target for libsyncthinginternal
This way the pkg-config file can be generated correctly.
2019-08-05 19:10:57 +02:00
Martchus 0a2eae6542 Improve libsyncthing
* Update Syncthing version
* Use utilities from https://github.com/syncthing/syncthing/pull/5871
* Remove useless use_standard_filesystem()
2019-08-03 16:31:23 +02:00
Martchus 13cc4b8775 Set Go linker flags for libsyncthing 2019-07-29 18:00:42 +02:00