Commit Graph

84 Commits

Author SHA1 Message Date
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
David Anderson 18b5362c1d - Change Makefiles to use "$(LN) foo ." instead of "ln foo"
svn path=/trunk/boinc/; revision=18003
2009-05-05 09:16:57 +00:00
Eric J. Korpela 8f3abcc835 - Added checks for net/*.h, arpa/*.h, netinet/*.h and code to figure out
which of those files to include
    - Modified MAC address check to work on some non-Linux unixes.
      (mac_address.cpp)
    - Added suggested change to "already attached to project" checking.
      (ProjectInfoPage.cpp)
    - changed includes of standard c header files to their c++ equivalents
      (i.e. replaced <stdio.h> with <cstdio>) for namespace protection.
    - replaced "using namespace std;" with more explicit "using std::function" in
      several files.
    - Fixed bug in checking whether the os is OS/2 and added conditional OS_OS2
      to the build environment. (boinc_platform.m4,configure.ac)
    - Changed build environment to not use -nostandardlibs unless we are using
      G++ and static linkage is specified. (configure.ac)
    - Added makefiles and package building files for solaris CSW package manager.
    - Fixed bug with attempting to find login name using logname. (configure.ac)
    - Added ifdef HAVE_* protection around some include files commonly found in
      sys.
    - Added support for unified binary for x86_64/i686-pc-solaris.
      (cs_platforms.cpp)
    - generate_host_cpid() now uses MAC address on non-linux unix.
      (hostinfo_network.cpp)
    - Macro BOINC_SET_COMPILE_FLAGS now doesn't check gcc only flags on non-gcc
      compilers. (boinc_set_compile_flags.m4)
    - Library compiles no longer depend upon the library extension or require
      the library to be prefixed with lib.
    - More fixes for fcgi builds.
    - Added declaration of "struct ether_addr" and ether_ntoa().  Have not yet
      implemented ether_ntoa() for machines that don't have it, or where it is
      buggy.  (unix_util.h)
    - Added FCGI::perror() which calls FCGI_perror(). (boinc_fcgi.{h,cpp})
    - Fixed library Makefiles so that all required headers get installed.


svn path=/trunk/boinc/; revision=17388
2009-02-26 00:23:23 +00:00
David Anderson 3adaa89e08 - boinc_zip: put null arg at end of argv.
Fixes crashing bug.
    From Michael Tyka.

svn path=/trunk/boinc/; revision=17210
2009-02-11 21:57:03 +00:00
Eric J. Korpela 4e60ef3003 - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
- Update to libtool 1.5.24
- build environment:  Major automake changes that I've been warning about
  for some time.
- Now uses libtool to build libraries.
- Builds separate boinc_fcgi and sched_fcgi libraries for use with 
  FCGI server components.
- New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
  a library only if --with-libname[=DIR] is specified on the configure
  command line.  This is to allow inclusion of libraries when the 
  ssl, gtk, wxWidgets, or other configuration is incorrect for static
  libraries.
- Added a lot of "--with-*" for some libraries that might be required for
  static builds.
- The sea directory has been moved to packages/generic.  Changes to sea
  and the associated scripts might be required to better make use of the
  staging mechanism and shared libraries.
- Fixed includes of boinc_fcgi.h in many files.
- Fixed places where FCGI_FILE needs to be used implicitly.
- Fixed missing define of _SC_PAGESIZE on hosts that define only
  _SC_PAGE_SIZE.
- Moved build of boinc_cmd (and source file) from lib to client



svn path=/trunk/boinc/; revision=16904
2009-01-13 23:06:02 +00:00
David Anderson ae826ef2eb - API: remove debugging printf from trickly down code
- API: use non-verbose option to zip
- scheduler: if multiple_client_per_host is set,
    don't mark results as over if get repeat CPID

svn path=/trunk/boinc/; revision=16445
2008-11-07 04:13:08 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00