Commit Graph

104 Commits

Author SHA1 Message Date
zzz
2989d955d9 JBigI: GMP 6.2.0 for linux 64 bit (ticket #1869)
Add support for zen and zen2
Enable more fallbacks for zen and zen2
Adds Zen and Zen2 binaries, stripped
Built with gcc 9.3.0
Other binaries will be added if testing shows improvement
Fix hangs in mbuild-all.sh build script
Add silvermont and goldmont to build script, untested, support TBD
GMP is GPLv2
More info: http://zzz.i2p/topics/2955
2020-09-26 12:58:55 +00:00
zzz
6d9aa92ed0 Tests: Fix some bashisms, add more files to bashisms check 2019-06-09 15:50:50 +00:00
zzz
4bd0f06cd6 jbigi: Support android builds using NDK
Prep for GMP 6.1.2
2019-06-05 17:13:15 +00:00
zzz
3abc777062 Debian: Fix builds for x32 (ticket #2076)
Incorporate patches 2 and 3 into build scripts
2017-11-19 16:58:51 +00:00
zzz
e47c628891 jbigi: Update GMP version (ticket #1840) 2017-01-19 16:18:30 +00:00
zzz
484a3903ca Build: Fix typo in jcpuid build.sh for Mac (ticket #1865)
Doc updates for Mac copied from that ticket
2016-10-28 17:10:22 +00:00
zzz
c24ddf5deb Build: Fix jbigi build for Arch Linux and others when using Java 8 (ticket #1863) 2016-10-22 12:58:50 +00:00
zzz
63272d3cfc mbuild-all script fixes 2016-06-06 12:37:06 +00:00
zzz
126a4d8443 jbigi: Fix GMP version reporting for shared library (ticket #1800) 2016-06-04 13:23:05 +00:00
zzz
d7e1f62db4 Build: Fix Debian build on ARM (ticket #1801)
- Fix other jbigi/jcpuid build script errors and typos
- Nonzero exit code missing on some jbigi/jcpuid build script failures
- Refresh patch
2016-06-01 17:45:27 +00:00
zzz
8807787b10 remove alert character output from build script printfs 2016-05-26 20:24:08 +00:00
dev
0f6336052a core/buildscripts: Added ARM support to BITS detection.
Added support for armv6/armv7/aarch32/aarch64 BITS detection
to build scripts.
2016-05-07 01:34:38 +00:00
dev
c2f35c0d29 core/buildscripts: Added proper uname based BITS detection.
Added automatic detection for the BITS variable.
2016-05-05 22:32:20 +00:00
dev
4fd0261efa jcpuid/build_jbigi: Default BITS to 64 if unset.
To make sure that our debian build scripts work,
set BITS to 64 if unassigned.
2016-05-05 22:03:27 +00:00
dev
9445690cb1 Fixed OSX include search path. 2016-03-12 19:36:21 +00:00
dev
f4abb284eb Imported Microsoft Visual Studio Comminuty 2015 project files.
These were used to create the jcpuid-x86-windows.dll
2016-02-03 21:04:10 +00:00
dev
eb696c8993 Added correct build instructions for jcpuid on windows. 2016-02-03 18:31:18 +00:00
dev
c9818e607f Improved jcpuid build script 2016-01-26 00:06:39 +00:00
dev
305f45fb30 Added jcpuid build instructions for linux/osx/freebsd/windows 2016-01-26 00:06:05 +00:00
zzz
89e5e1d308 Fix class for nativeJcpuidVersion()
Add output for nativeJcpuidVersion()
Change CPUIDCPUInfo back to package private
More @since fixes
2015-12-16 15:55:39 +00:00
zzz
1e3e02d1f0 CPUID: Clear ECX register to ensure it will work with EAX=7
Tested on linux only
Add nativeJcpuidVersion()
Only call getCPUVendorID() once in getInfo()
Change all @since to 0.9.25 in hopes it will come true
Tab removal
Javadoc tweaks
2015-12-16 15:02:03 +00:00
zzz
f8163241ef NBI test improvements:
- Try to prevent not-coprime errors
- Minor cleanups
- Javadoc fix
Fix build script typo
2015-10-09 16:35:00 +00:00
dev
c1c3a92331 Fixed case statement to be independent of case. 2015-10-08 01:18:38 +00:00
dev
075c4d4822 Changed scripts to be SH compatible instead of bash. 2015-10-05 14:13:38 +00:00
dev
489ff65e34 Added OSX notei 2015-09-30 16:17:09 +00:00
dev
bf76c57de7 Added FreeBSD cross-compilation instructions. 2015-09-30 15:07:09 +00:00
dev
2bc87662aa Added 'osx' alias for darwin. 2015-09-29 15:34:57 +00:00
dev
73228a1514 Revamped downloading of gmp files.
Revamped cross-compilation support.
2015-09-29 15:31:42 +00:00
dev
0848e34243 Replaced 0 with NULL to fix miscompilation on windows. 2015-09-24 22:13:33 +00:00
dev
5c56de7218 Add x86 and x86_64 targets. 2015-06-14 18:39:12 +00:00
dev
ecb28eb480 Added support for all ARM targets provided in GMP, on platforms running Linux. 2015-06-13 19:57:05 +00:00
dev
34d3009439 Added GMP6 compilations of jbigi for Intel CPUs on linux, built on Intel Haswell. 2015-05-25 21:10:47 +00:00
dev
67760c8bea Corrected make clean call 2015-05-25 18:16:19 +00:00
dev
583a050281 merge of '6040534dc82b5160fea1d95bec37c98497f0f22c'
and 'e8ebf9b71d96f8107ed295d94502a04dc70d1414'
2015-05-25 17:49:26 +00:00
dev
2185a65de6 Added -j flag to make to use parallel compilation. 2015-05-25 17:49:11 +00:00
dev
9134d2856f Don't unpack gmp before every build. Do a distclean instead. 2015-05-23 18:48:35 +00:00
zzz
55c411a495 Add coreisbr coreihwl coreibwl targets, thx tuna
Reorder the builds so the new ones are build first, for easier testing
2015-04-22 22:10:42 +00:00
zzz
a3c6cc1daa libjbigi updates:
Added:
     nativeJbigiVersion()
     nativeGMPMajorVersion()
     nativeGMPMinorVersion()
     nativeGMPPatchVersion()
     nativeModInverse()
     nativeModPowCT()
   Support negative vaules in conversion functions
   Support negative base value in modPow()
   Throw ArithmeticException for bad arguments rather than crashing
   Switch to GMP 6.0.0
   New build targets
NativeBigInteger changes:
   Test improvements
   Version reporting
Crypto changes:
   Use constant time modPow() for signing and decryption
   Use native modInverse()
2014-11-30 21:19:28 +00:00
683ce3254f testscripts build target: check shell scripts for validity
(also adding missing shebang lines)
2013-09-20 22:32:05 +00:00
df555731c4 minor script changes
- mbuild.sh: don't require bash
- Slackware/i2p/doinst.sh: add bash shebang
2013-09-20 22:17:48 +00:00
5ab1d6896a jbigi scripts: look in /usr/local (for *BSD) 2013-09-20 19:39:25 +00:00
37521c69a2 look for openjdk6 in OpenBSD if v7 isn't available 2013-09-20 18:33:11 +00:00
5e90780590 jbigi/jcpuid build scripts: Look for OpenJDK7 in kFreeBSD (it has landed in Debian testing) 2013-09-11 14:04:58 +00:00
c1da7f778b improvements to jbigi scripts
support for Solaris (tested with Solaris 11 x86)

mbuild-all.sh:
- output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
- switch from echo -e to the more portable printf
- more error checking, comments

debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with
                             java 1.7.0_07 and gcc 4.5.2, stripped
2013-05-12 00:08:52 +00:00
d0a3c7256a Improved support for GNU/kFreeBSD
- add kFreeBSD to NBI and CPUID
- add kFreeBSD to jcpuid/jbigi build scripts
- refresh debian patches to compensate for kFreeBSD changes
- i2prouter: Detect kFreeBSD and normalize its name
- clean up osid (switching to "elif") and adding support for detecting kFreeBSD
- update postinstall.sh; I2P cannot be installed using gij so postinstall.sh
  will not be run. If/when openjdk finally comes to kFreeBSD, we'll be ready for it.
2012-11-19 22:41:54 +00:00
b67359aca6 Match *FreeBSD* instead of just FreeBSD*.
(spotted at http://pastethis.i2p/show/2280/ and jcpuid already matches
*FreeBSD* so this fixes a minor consistency issue. Thanks to the anonymous
paster.)
2012-11-16 21:24:03 +00:00
e574b5e61a minor updates to jbigi/jcpuid scripts
- use my find-java-home stub script when building jcupid
- move find-java-home to core/c
- add support for ArchLinux to find-java-home
2012-05-28 16:56:08 +00:00
b09071f20f update of jbigi scripts
- merge mbuild_jbigi.sh into build_jbigi.sh and drop mbuild_jbigi.sh
- make build.sh's tests optional
- try to determine the locations of JAVA_HOME and I2P
2012-01-08 23:23:00 +00:00
56a67729e3 Fix compilation with gmp 5.0.1 2012-01-08 01:14:48 +00:00
929d471aa8 uname -s is sufficient
The OS' release version is discarded anyway....so we won't ask for it.
2011-12-11 12:52:32 +00:00