Commit Graph

14 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
Jia Yuan Lo 049454e03c Add wildcard to be uniform across all Android...
...triple (see NDK clang -print-target-triple)
2020-06-22 11:46:41 +08:00
Jia Yuan Lo 0c0cf1e610 Add boinc_alt_platform for 64bit Android 2020-06-22 11:46:41 +08:00
Jia Yuan Lo b5faa09a9b Fix boinc platform strings for Android
Some compiled clients may appear as "$ARCH-unknown-linux-android" instead of "$ARCH-android-linux-gnu" to project servers
This is because of Android NDK specifies "$ARCH-linux-android" triplets and users forget to specify "--with-boinc-platform"
Fix this in "boinc_platform.m4" so that Android boinc platform strings changes are not needed across all projects
boinc_alt_platform is excluded to prepare for 64bit only Android devices
Users can add back requesting 32bit tasks with "--with-boinc-alt-platform" during compile or "<alt_platform>" during runtime
2020-06-22 11:46:41 +08:00
U-X1\korpela 4a357acddc Changes for mingw32 cross compile 2014-04-29 07:50:33 -07: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
Eric J. Korpela 527da28e54 Changed BOINC_PLATFORM autoconf macro to properly translate 'amd64' to 'x86_64'.
svn path=/trunk/boinc/; revision=16003
2008-09-16 20:02:55 +00:00
Eric J. Korpela 4bcfcb67a9 Added HPUX platforms to boinc_platform.m4
svn path=/trunk/boinc/; revision=13757
2007-10-03 01:29:37 +00:00
Rytis Slatkevičius 22dbfd13e0 Fix #200
svn path=/trunk/boinc/; revision=13589
2007-09-16 11:25:43 +00:00
Eric J. Korpela 8a8ffc8ef9 Eric K 24 Apr 07
-  Exteded the "altername_platform" mechanism to x86_64 linux
       and solaris.  The current alternate platforms found by configure
       are...
	 x86_64-pc-linux-gnu    -> i686-pc-linux-gnu
	 sparc64-sun-solaris    -> sparc-sun-solaris
	 sparc-sun-solaris      -> sparc-sun-solaris2.7
	 powerpc64-apple-darwin -> powerpc-apple-darwin
    -  The alternate platform can be overridden on the configure command line
         --with-boinc-alt-platform="platformname"

    m4/
        boinc_platform.m4
    sched/
        Makefile.am
    client/
        client_state.C
        cs_scheduler.C
        client_state.h


svn path=/trunk/boinc/; revision=12467
2007-04-25 02:02:24 +00:00
Eric J. Korpela 60aef9aa55 Modified for gnu targets that end in versions of the style n.n.n
svn path=/trunk/boinc/; revision=9208
2006-01-10 22:54:06 +00:00
Eric J. Korpela b6bab94fa6 added boinc_platform substitution so the boinc platform can be used in
Makefiles.

svn path=/trunk/boinc/; revision=9065
2005-12-14 19:36:48 +00:00
Eric J. Korpela 4da6f7aed9 Fixed underquoted sed patterns.
svn path=/trunk/boinc/; revision=9062
2005-12-13 22:57:01 +00:00
Eric J. Korpela afe4f0c201 New autoconf macro "BOINC_PLATFORM" to determine the BOINC platform being
targeted.  This overrides the use of the autoconf target as the BOINC platform.
I recommend that people developing BOINC applications use this macro as well.
Some of the overrides are...

*-redhat-* -> *-pc-*
*-*-*[0-9].[0-9] -> *-*-*  (trailing version numbers are dropped)
sparc-sun-solaris* -> sparc64-sun-solaris when compiled as 64 bit binary
x86_64-*-linux-gnu -> i686-pc-linux-gnu when compiled as a 32 bit binary

svn path=/trunk/boinc/; revision=9052
2005-12-08 20:03:42 +00:00