Commit Graph

90 Commits

Author SHA1 Message Date
Vitalii Koshura 44742026e2
Remove trailing whitespaces. Add CI script to verify in on every commit
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-05-05 20:08:17 +02:00
Vitalii Koshura 3faca2059f
Merge pull request #5056 from AenBleidd/vko_add_more_osx_ci
[CI] Build example applications, wrapper and vboxwrapper for OSX.
2023-02-14 15:21:56 +01:00
Vitalii Koshura 797cbc8d9d
[CI] Build example applications, wrapper and vboxwrapper for OSX.
This fixes #4892.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-02-13 23:22:18 +01:00
Vitalii Koshura c14adf6c37
[CI][MinGW] Fix build on ubuntu-latest
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-02-07 15:10:42 +01:00
Anna “CyberTailor” a57b7e46be
Add libboinc_zip.pc pkg-config file 2021-11-10 08:56:37 +05:00
Tal Regev 03011e8f30
Add mingw apps_gui 2021-08-16 21:56:56 +03:00
winkies 6b0ce34b40 build: add files to make clean command 2021-01-24 22:03:12 +01:00
Vitalii Koshura 4594160ffb
[Windows] Add MSVS 2019 with vcpkg support
Added new projects to build with Microsoft Visual Studio 2019.
Added vcpkg support for 3rd party libraries.
For simplification all executables use static linked libraries
(impact +0.5 MB or < 3%).
Enable build for all projects (including examples for opencl, cuda etc).
Configuration is not tested yet, so no CI added.
Also because of the reason above projects for VS 2013 are not removed yet too.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-03-16 02:32:35 +01:00
Charlie Fenton 2fb6d2ad35 Mac: update boinc_zip library Xcode project for compatibility with Xcode 10 2019-01-31 06:05:31 -08:00
Vitalii Koshura 1ce3793c76
Remove unused BOINC_RCSID constants
This fixes #2953

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-01-12 23:43:48 +02:00
Bernd Machenschalk 348c9199cf update lib/Makefile.mingw 'clean' and 'wrapper' targets
- also, if you set MINGW, the whole chain of used tools
  (gcc, g++, ar, ranlib) will be set based on that
2017-03-23 08:59:44 +01:00
Fabrice Fontaine bf807980c1 Fix LDFLAGS for cross-compilation
Remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS of boinc libraries in
Makefile.am of api, lib, sched and zlib directories to be able to
cross-compile boinc.

Indeed, libdir is not equal to the path where BOINC will be installed
but to exec_prefix/lib. The full installation path is
$(DESTDIR)/$(libdir).

To cross-compile boinc, exec_prefix will be set to the target path (for
example: /usr) and DESTDIR will be set (during make install) to the
staging or target directory on the host (for example /home/xxx/target).
The issue of adding -L$(libdir) is that it is not allowed by the
compiler, the error "unsafe header/library path used in
cross-compilation: '-L/usr/lib'" will be raised.

As a result, remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS, the
default library search paths are sufficient for "standard" compilation
or can be updated manually by passing the additional search path to
LDFLAGS during the configure call for cross-compilation.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-03-04 16:46:41 +01:00
Dmitry 1513bc1500 Move duplicated zip / unzip code to a one place.
That's better to not duplicate it.

+ Check result of CreateDirectory and emit error to perror, if needed.
2015-12-20 21:07:47 +03:00
David Anderson 6c89164755 Zip library: fix inconsistent return type of envargs().
Note: whoever wrote the Zip code doesn't understand .h files.
2015-06-10 11:54:40 -07:00
Charlie Fenton cdc0c8f07f BOINC_Zip: fix Xcode project for compatibility with Xcode 6 2015-04-14 07:11:37 -07:00
Rom Walton d2e558241d LIB: Fix build break 2014-09-12 11:57:15 -04:00
David Anderson 775377427d compile fix for FreeBSD; from Steffen 2014-09-02 00:33:57 -07:00
Eric J Korpela ebad3ff63f Fixes for Visual C++ problems caused by xcompile checkins. 2014-05-08 13:46:26 -07:00
U-X1\korpela 34fbfd3297 WIN32 Cross Compile Fixes 2014-05-01 17:44:34 -07:00
Rom Walton 3afb3ddfa8 BOINCZIP: Remove attempt at standalone build system for boinczip. Plug it back into the main BOINC build system and only build it on request or building for the server config. 2014-04-17 11:41:01 -04:00
Rom Walton 2228f57442 BOINCZIP: Add missing references to libtool. 2014-04-16 19:48:15 -04:00
Rom Walton eb1222e9e2 BOINCZIP: Another try. 2014-04-16 19:40:02 -04:00
Rom Walton 1862ec9f7f BOINCZIP: Attempt at fixing a recursive 'am-refresh' issue. 2014-04-16 19:26:00 -04:00
Rom Walton 13956342d3 BOINCZIP: Make _autosetup executable. 2014-04-16 18:15:57 -04:00
Rom Walton 4d2d0df9e7 BOINCZIP: Create a separate autoconf/automake setup for libboinczip so that it will build on *nix based systems again. 2014-04-16 18:14:53 -04:00
David Anderson cf0a0817c0 server: fix some compile warnings
Add a derived class DB_APP_VERSION_VAL for use by the validator,
containing the extra fields it uses,
so that we're not doing memset 0 on vectors
2014-03-19 14:55:16 -07:00
Rom Walton 1941429568 zip: Reduce the number of arguments sent to the compiler, possibly fixing the build on Linux when building the wrapper 2013-03-05 15:12:52 +01:00
Rom Walton c4d840f70b boinc_zip: Add NO_LCHMOD for Android and Linux. Comment out duplicate definitions of gmtime() and localtime(). 2013-03-05 14:17:54 +01:00
Rom Walton 46d8f78a20 boinc_zip: most of the zip code is C code. 2013-03-05 14:17:54 +01:00
Rom Walton ea9bf2a0a5 android/boinc_zip: Linux throws a warning about lchmod and on android it doesn't exist at all. Add -DNO_LCHOWN to Makefile.am so it applies to both environments 2013-03-05 14:17:54 +01:00
David Anderson 13925d7c7b - compile fixes. Fixes #1219 2013-03-04 17:39:24 +01:00
David Anderson bb0ced01ba - wrapper: add source files for a regular expression library
(too be used soon)
- boinc_zip: add makefile for test program
2013-03-04 15:04:51 +01:00
Charlie Fenton 92521b8be8 boinc_zip: Add teszlibconflict target to boinc_zip Xcode project 2013-03-04 15:04:51 +01:00
Charlie Fenton 093ad0ab12 boinc_zip: Fix linker conflicts zlib and boinc_zip are both used in a project 2013-03-04 15:01:44 +01:00
Charlie Fenton d5c9ee8abf boinc_zip: Fix linker conflicts zlib and boinc_zip aer both used in a project 2013-03-04 14:59:23 +01:00
Charlie Fenton a07e0dac43 boinc_zip: minor cleanup of Xcode project 2013-03-04 14:59:23 +01:00
Charlie Fenton ec16ac4ccb boinc_zip: updated boinc_zip xCode project for unix.c -> z_unix.c 2013-03-04 14:59:22 +01:00
David Anderson 678ee52458 - boinc_zip: fix Unix build 2013-03-04 14:59:22 +01:00
Charlie Fenton c0341d3921 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:54:38 +01:00
Oliver Bock 17ea7a1a63 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc 2013-03-04 14:54:01 +01:00
Charlie Fenton 0d18cf5b46 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:53:46 +01:00
Charlie Fenton c1f7be07fc Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:14:06 +01:00
Charlie Fenton e01d3ccd83 Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) 2013-03-04 14:14:06 +01:00
Charlie Fenton da79c75aa7 Remove obsolete info_zip files 2013-03-04 14:14:06 +01:00
Rom Walton 18ef4ed069 - WIN: Introduce updated project files for the boinc_zip library used
by the slide_show project.
    - WIN: Adjust the slide_show project so that it will build both 32-bit
        and 64-bit versions and use the boinc_zip library.
2013-03-04 14:14:06 +01:00
Charlie Fenton c2a0a0fbe9 Mac: update Xcode project for building boinc_zip 2013-03-01 16:26:09 +01:00
David Anderson 7acf1632fa - The zip library was moved to a directory (project_depends)
outside of BOINC, but the build files weren't made to work.
Move the library back where it was before.


svn path=/trunk/boinc/; revision=25056
2012-01-14 05:48:01 +00:00
David Anderson aef0f104e2 Move the BOINC compatible InfoZip
svn path=/trunk/boinc/; revision=18619
2009-07-17 16:29:24 +00:00
David Anderson 97d50e12b9 - compile fixes for Haiku
svn path=/trunk/boinc/; revision=18213
2009-05-27 23:36:55 +00:00
David Anderson 5b0b612303 - zip: add Mac project file (from Carl)
svn path=/trunk/boinc/; revision=18195
2009-05-22 21:19:44 +00:00