Commit Graph

688 Commits

Author SHA1 Message Date
Tal Regev 4ca980f5c3 Compile wrappture app for linux and android 2021-03-30 00:41:03 +03:00
Tal Regev 64439ec446 Compile samples apps for android. 2021-03-22 00:31:43 +02:00
Tal Regev ac6b38e893 Add a test if compiler failed to support shared lib on a project
that configured to produce shared libraries.
2021-03-20 18:58:57 +02:00
Tal Regev 336825cd02 Fix opencl check 2021-03-16 17:35:58 +02:00
Tal Regev 93b72e27c0 Add openclapp to ci 2021-03-09 20:00:08 +02:00
Tal Regev aedb4022e6 Add opencl check to apps 2021-03-09 14:02:50 +02:00
Tal Regev fe805efc07 Merge branch 'TalR_armv6_support' 2021-02-20 09:12:18 +02:00
Jia Yuan Lo defec425c4
Add check for libcurl when building for server
Signed-off-by: Jia Yuan Lo <jylo06g@gmail.com>
2020-11-21 22:41:25 +08:00
Vitalii Koshura 2a656c9d83
Merge pull request #3716 from fsbruva/bugfix/ignore_without_x
configure.ac: Fix have_xss test to respect --without-x
2020-08-31 20:59:40 +02:00
Vitalii Koshura 35ea7034e0
Merge pull request #3870 from Biswa96/exclude-sysctl-linux
exclude sysctl.h in linux
2020-08-16 01:42:22 +02:00
Tal Regev e9f7710fc0 armv6 support 2020-07-24 23:56:14 +03:00
Biswapriyo Nath 280ddf332b exclude sysctl.h in linux
The Linux-specific <sys/sysctl.h> header and the sysctl function have been deprecated in glibc v2.30

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2020-06-30 21:50:41 +05:30
David Anderson 5726e700a7 Manager: remove cookie-based autoattach schemes
A long time ago we tried auto-attach schemes (project and AM)
where web sites sent cookies with account info,
and the manager looked for these.
We dropped this idea because browsers kept changing how they stored cookies,
and we couldn't keep up.

Remove this code.  Also, we no longer need sqlite anywhere.
2020-06-14 15:23:48 -07:00
Matt 35da6e0d44
configure.ac: Fix have_xss test to respect --without-x
Add test to check value of no_x to prevent undesired inclusion of libXss,
even if present. The AC_PATH_X macro sets the shell variable no_x to 'yes'
if the user gave the command line option --without-x, so this must be
respected for the screensaver idle detection. However, since the macro sets
no_x to the same value if the X Window System include files and libraries
cannot be located, provide build warning to assist with debugging.
2020-05-14 15:47:29 -10:00
Vitalii Koshura 47143b940a
Merge pull request #3481 from smoe/patch-1
Remove remnants to subversion
2020-05-06 23:16:04 +02:00
Rytis Slatkevičius 4cd2dad0da
Grammar in configure.ac 2020-03-13 14:12:07 +02:00
Steffen Möller 916918b2f7
Remove remnants to subversion
I had a problem running that code on "ash". It looked right to me, no idea whatt could possibly be wrong about it, but since there is no need for that piece of code anyway, it should just go.
2020-02-28 18:35:17 +01:00
David Anderson 62b26017b6 update version to 7.17; update installshield files 2020-01-23 22:58:59 -08:00
James Molson a513855d55 FreeBSD: Add a check in configure.ac and in lib/Makefile.am link to
execinfo.
2019-07-11 16:40:30 +02:00
Kevin Reed 58b44085f1
Merge pull request #3141 from BOINC/dpa_vbox60
update vboxwrapper (COM version) for Vbox 6.0
2019-06-20 11:55:12 -05:00
David Anderson 98abb78ada Increment version #s in configure.ac and version.h too (to 26202) 2019-05-12 22:26:18 -07:00
Christian Beer 6dbf55fd9a Tests: add unit testing framework using googletest
* enable coverage reports from gcc and disable optimizations via option to configure
* install googletest library into buildcache
* script to compile and run unit tests using cmake
* first set of unit tests originaly contributed by Keith Uplinger

There are several hardcoded paths and assumptions made in order to get this working on Travis CI. New tooling is using cmake for cross platform builds and as such is not easy to use with an autotools based system.
It's not ideal but better than nothing.
2019-04-20 13:30:03 +02:00
Christian Beer 231f1b997e Test: Move old test code
Keep it around for reference when designing new tests. Added a readme so new contributors are not confused.
2019-04-13 14:57:23 +02:00
Uplinger e39bf2374d
Merge pull request #3077 from JuhaSointusalo/update-copyrights
update copyright year
2019-04-10 14:02:29 -05:00
Juha Sointusalo 3fd0e8b116 update copyright year 2019-04-08 21:50:03 +03:00
Juha Sointusalo ce3db105b0 build: remove Fortran checks
While science apps may use Fortran BOINC itself doesn't use it making
the checks useless.

Removing the checks reduces verbosity of configure a little bit making
its output more accessible.
2019-03-22 22:12:04 +02:00
David Anderson b8271e9cdc client: change version to 7.15.0 2018-11-16 16:40:07 -08:00
Christian Beer c2a529dad7
Merge pull request #2782 from EvaSDK/configure-bashism
Drop bashisms in configure.ac and macros
2018-10-28 10:20:42 +01:00
Gilles Dartiguelongue 0844c86caa Reduces unneeded calls to test 2018-10-24 16:52:33 +02:00
Gilles Dartiguelongue e3b51af149 Remove bashisms
[[ and == are bash operators. Replace some instances of these tests by
AS_IF which is the proper M4sh way.
2018-10-24 16:46:02 +02:00
Gilles Dartiguelongue 4d883da17d Make missing MySQL fatal when enable_server=yes
Closes: #1970.
2018-10-24 15:55:12 +02:00
Juha Sointusalo aa0fcd72b3 build: remove the test for /proc/self/exe
When building BOINC on MSYS+MinGW the build time environment does have
/proc but the run time environment never has /proc.

BSDs consider /proc to be an optional feature and, as such, /proc may be
present at build time but missing at run time or vice versa.

This makes checking for /proc/self/exe in configure unreliable and the
check is better done at run time. get_real_executable_path() is the only
user of the test result and has already been changed to do the check at
run time.
2018-09-22 18:40:24 +03:00
David Anderson 1bffea8aaf update installshield files; update version #s; fix Win custom action build 2018-07-17 12:42:39 -07:00
Juha Sointusalo 50a79e0f34 build: remove NO_PER_THREAD_LOCALE stuff
NO_PER_THREAD_LOCALE has been replaced by HAVE__CONFIGTHREADLOCALE and
HAVE_USELOCALE.

Also remove HAVE_DECL__CONFIGTHREADLOCALE which was used only for
NO_PER_THREAD_LOCALE.
2018-03-28 16:21:33 +03:00
Juha Sointusalo 6e2204c082 build: check for per-thread locale support
Allows fixing and cleaning up per-thread locale support in Manager and
libboinc.

locale.h and xlocale.h were checked for libboinc_graphics. Move
xlocale.h check to correct place and remove locale.h check. locale.h has
been part of C standard library since C89.

The support for per-thread locales cannot be reliably inferred from the
existence of different headers. Some systems declare uselocale() in
locale.h, others in xlocale.h and xlocale.h is no longer included in GNU
libc. Instead explicitly check for uselocale() and
_configthreadlocale().

Add uselocale() check result to Mac config.h so that the #ifdef mazes
can be simplified.

Also correct quoting in AC_CHECK_FUNCS and AC_CHECK_HEADERS calls.
2018-03-28 16:07:54 +03:00
RichardHaselgrove 0f628055b7 in preparation for next development cycle 2018-02-09 12:22:30 +00:00
Bryan Quigley 2674c25be4 Add generated systemd unit
Both Fedora and Debian have their own systemd units for boinc;
this is based on elements of both so we stop duplicating effort.

This also adds minimal confinement to protect the home directories.

Also added clean to init.d script and made it only install if a
init.d directory already exists.

Closes: #2255
2018-02-02 16:06:45 -05:00
David Anderson 2dae052594 vboxwrapper: bump version to 26200 2017-11-05 21:05:42 -08:00
Juha Sointusalo e0aa45e1c1
Merge pull request #1863 from BOINC/fix_issue-1227
Build: use default sysconfdir instead of /etc
2017-10-29 22:54:38 +02:00
David Anderson 12fd645406 increment client version to 7.9.0 2017-09-22 22:58:29 -07:00
Christian Beer d5ca370329 Build: use default sysconfdir instead of /etc
When using --prefix this override tries to install files from client/scripts to /etc instead of ${prefix}/etc. This is against what the user wants and leads to an error message as normally only root can install files to /etc. There is no need to be backwards compatible in this place as installs are usually done via repository packages.
This still uses /etc to determine where the config file should be copied to which is ok because the user most likely wants to use the Client on the machine it was built on.

Note: The startup scripts and config files in client/scripts are outdated and might not work on recent Linux distributions. Newer ones can be found in the Debian/Fedora packages.
2017-04-11 13:54:42 +02:00
Christian Beer 31e8427469 Manager/Lib: fix 'New Manager window' function on Linux
This was not working because the manager was not detecting its own executable name and path so it couldn't start a new instance of itself. Windows and Mac use different codepaths so it worked there.
The new library function can be extended for Windows and Mac to avoid code duplication.
2017-03-16 18:31:42 +01:00
Fabrice Fontaine 312520b74a Check execinfo.h availability in configure.ac
Currently, execinfo.h is included in lib/diagnostics.cpp if __GLIBC__ is
defined. However, this does not work when cross-compiling boinc with
uclibc-ng. So, instead, check the presence of execinfo.h in configure.ac
and update lib/diagnostics.cpp accordingly.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-02-26 11:02:55 +01:00
David Anderson 2af9a36c92 configure: check curl only if building client 2016-12-17 11:27:19 -08:00
David Anderson ed3283faf3 configure: check curl only if building client 2016-12-17 11:24:55 -08:00
Eric J Korpela 0c08a4ef92 Work around for bug in RHEL6 curl 7.19.7 port (curl-config --libs reports
incorrectly.)
2016-09-07 16:31:13 -07:00
Rom Walton db235ff199 BUILD: Update vboxwrappers version to 26197. 2016-08-08 08:10:17 -07:00
Rom Walton 6a0713c0a0 BUILD: Update vboxwrappers version to 26196. 2016-07-12 23:15:16 -07:00
Rom Walton fe6dfb418a BUILD: Update vboxwrappers version to 26195. 2016-07-12 23:03:44 -07:00
Rom Walton 211cb04be9 BUILD: Update vboxwrappers version to 26194. 2016-07-04 16:31:42 -07:00