idk
0f7dca99d1
don't attempt to pass windows flags to cc when building jbigi, jcpuid on non-Windows platforms
2023-01-02 16:59:23 +00:00
idk
a94382458e
set apart windows flags including JAVA_HOME in case the path contains a space
2023-01-02 02:28:44 +00:00
idk
6856969d01
add quotes around JAVA_HOME on windows so that it can use a JAVA_HOME that exists in %ProgramFiles%
2023-01-01 23:48:57 +00:00
idk
e4fba64fc1
Quote and shellcheck the jbigi.jar build scripts in order to fix errors when building jbigi jars on Windows
2023-01-01 23:09:10 +00:00
idk
0c4fd2dbb1
quote JAVA_HOME during jbigi build
2023-01-01 22:22:03 +00:00
idk
6ad90ca38a
Change the gmp mirror so that when you try to build a jbigi.jar it does not fail. Can be changed back by editing core/c/jbigi/download_gmp.sh
2023-01-01 22:05:00 +00:00
Zlatin Balevsky
a171d71bbe
Add ability to apply patches to GMP. Apply fix for x18 register. Run GMP tests after build.
2022-07-03 11:09:01 +01:00
Zlatin Balevsky
454cd6bda6
JavaVM framework isn't a thing anymore
2022-07-02 13:22:28 +01:00
zzz
26cffabf86
Build: Update GMP download script to 6.2.1
2022-06-25 08:33:32 -04:00
zzz
5ed6f834c1
libjbigi for linux aarch64 (ticket #1840 )
...
stripped
gcc: 7.5.0
jdk: openjdk version "1.8.0_265"
Built on: Raspberry Pi 4 Model B Rev 1.4
Add support to mbuild-all.sh
2020-10-15 15:36:38 +00:00
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
kytv
683ce3254f
testscripts build target: check shell scripts for validity
...
(also adding missing shebang lines)
2013-09-20 22:32:05 +00:00
kytv
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