summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Adding Sylvestre Ledru's bug #487 verbosity patchSven Gothel2011-07-231-0/+1
|
* Add missing defines (__unix__, DEBUG) for solaris, etcSven Gothel2011-07-231-0/+12
|
* Cleanup [cross] compile propertiesSven Gothel2011-07-2210-19/+51
| | | | | | | | | | | | | - linux-armv7 (ubuntu) - added scripts/make.gluegen.all.linux-armv7-cross.sh - added symbolic links to cross toolchain (gcc, ld, ..) allowing gluegen's cpptask to pick it up - android-armv7 (android) - we have scripts/make.gluegen.all.android-armv7-cross.sh
* add props compiler.cfg.linux.x86, linker.cfg.linux.x86 for proper ↵Sven Gothel2011-07-223-40/+28
| | | | linux-x86_32 spec. removed android props, we use custom xml files
* Merge remote-tracking branch 'rsantina/wip_mobile' into wip_mobileSven Gothel2011-07-212-0/+173
|\
| * Added scripts and custom cpp-tasks to build on android-armv7lRami Santina2011-07-212-0/+173
| |
* | Fix TestStructAccessorEndianSven Gothel2011-07-214-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | - StructAccessor uses byteOffset now (since 8b3057585930357bb16546f584d998953b084034) Fix linux armv7l eabi: - build.xml arm7 -> armv7 - all tests passes Adding NativeSizeAlignment-linux-armv7l_eabi from passing test OK: linux 32/64/armv7l, windows 32/64
* | GlueGen proper size / alignment of primitive and compound types usage [2/2] ↵Sven Gothel2011-07-214-0/+41
|/ | | | | | | | | | | | | | | | | | | | | | | | | | - Fin MachineDesction == MD MD.StaticConfig: - enum for all supported static configs (ID -> MD) - verified at runtime: test runtime queried-MD versus static-MD, hard fail if not compatible (size/alignment) SizeThunk primitive sizes: - Add notion of fixed native size (eg. int64_t) and otherwise (eg. long) java struct 'wrappers' code generation: - single class using size/offset arrays of all MachineDescription configurations - at runtime the array idx is queried in static block - type aligment for not fixed-native-size types (SizeThunk, undef long/int) via StructAccessor junit test: - add float test - fix native code - add java (create, write) -> native (verify) test works (tested) on: linux 32/64 and windows 32/64
* refined Android ARMv7 targets (android still dummy)Sven Gothel2011-07-201-18/+72
|
* Cleanup: Platform CPU enum, MachineDescription,Sven Gothel2011-07-202-102/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Platform: - enum CPUFamily is part of CPUType - DALVIK -> ANDROID - ARM: ARM + ARMv[567] MachineDescription - self contained - static size/alignment Config (enum) for unix32, unix64, win32, win64 and armeabi - add 'long double' - Removed MachineDescription32Bit, MachineDescription64Bit - createStatic(..) uses OS/CPU to fetch best match if not at runtime FIXES: JavaEmitter's struct-emit: Proper 32/64 struct sizes TODO: StructAccessor's mapping to <Type>Buffer w/ index os sizeof(<Type>) doesn't work, since offset may not be multiple of sizeof(<Type>)! i.e. typedef struct { int8_t bits1; // +1 - 0 // +3 (p32) int32_t id; // +4 - 4 int8_t bits2; // +1 - 8 // +3 (p32) - int64_t long0; // +8 - 12 so "longBuffer.get(<type-sized index>)" is invalid, but "byteBuffer.getLong(<byte index>)" must be done. The actual impl. doesn't matter, hence dropping the other nio type mappings is good.
* - Moved most types and StructLayout to runtime package:Sven Gothel2011-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | com.jogamp.gluegen.cgram.types -> com.jogamp.gluegen.runtime.types This is required for desired runtime memory layout. - Split CompoundType to StructType + UnionType - StructLayout: - Utilizing SizeThunk alignment - Alignment 1) Natural type alignment 2) Add Size 3) Trailing padding w/ largest element alignment - Only perform memory layout once for type. Status: - Unit test passes w/ static MachineDescriptor64Bit - FIXME static 32bit is faulty, uses 64bit size/alignment - TODO runtime struct layout to please all platforms w/o worrying
* GlueGen proper size / alignment of primitive and compound types usage [1/2] ↵Sven Gothel2011-07-177-25/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Preparation. Currently GlueGen fails for type long (size) and some alignments (see package.html). - The size and alignment values shall be queried at runtime. - Compound alignment needs to follow the described natural alignment (also @runtime). - - Build - add Linux Arm7 (EABI) - junit test - added compound/struct tests, pointing out the shortcomings of current impl. - package.html - Added alignment documentation - remove intptr.cfg - add GluGen types int8_t, int16_t, uint8_t, uint16_t - move MachineDescription* into runtime - Platform - has runtime MachineDescription - moved size, .. to MachineDescription - use enums for OSType, CPUArch and CPUType defined by os.name/os.arch, triggering exception if os/arch is not supported. This avoids Java String comparison and conscious os/arch detection. - MachineDescription: - compile time instances MachineDescription32Bits, MachineDescription64Bits - runtime queried instance MachineDescriptionRuntime - correct size, alignment, page size, ..
* Fix HastMapTests - Clone: Use unique random pairs: key,valueSven Gothel2011-06-261-1/+2
|
* windows batch make: bump to 6u26Sven Gothel2011-06-112-4/+4
|
* gluegen stddef/stdint cc header: add missing intptr_t/uintptr_t, proper ↵Sven Gothel2011-06-102-17/+39
| | | | formating, proper _WIN64 case
* src-zip: no compression to benefit from xz/7z compressionSven Gothel2011-06-091-1/+1
|
* build.xml: native jar shall be created in native build targetSven Gothel2011-06-081-5/+7
|
* Merged Locator -> IOUtil; int Platform.getPageSize(); Added unit test for ↵Sven Gothel2011-06-081-1/+3
| | | | IOUtil and Platform's page size
* Fix C / JNI compilation: Add/use javah, recompile if out of date,Sven Gothel2011-06-071-24/+45
|
* create source zip archives per defaultSven Gothel2011-05-221-5/+11
|
* Add all.debug targetSven Gothel2011-05-171-1/+3
|
* leave java source zip file in build folder (if BUILD_ARCHIVE=true)Sven Gothel2011-05-171-1/+2
|
* build: Query git branch/sha1 and use it if not set and tools are available; ↵Sven Gothel2011-05-162-4/+20
| | | | | | | | | | Add Java source zip file. Query git branch/sha1 and use it if not set and tools are available. This shall improve tracking of manual generated binaries/bundles. Add Java source zip file. Contains all Java source code (incl. generated ones) enhancing IDE usage, where API doc and source browsing of libs is supported (NB/Eclipse/etc).
* test / build scriptsSven Gothel2011-04-272-2/+6
|
* Remove redundant setup.java.home.dir, use proper gluegen-cpptasks-base.xml ↵Sven Gothel2011-04-201-16/+1
| | | | target gluegen.cpptasks.setup.compiler (instead of gluegen.cpptasks.detect.compiler)
* osx fix: query availability of JVM header, ieSven Gothel2011-04-201-1/+6
| | | | | - /System/Library/Frameworks/JavaVM.framework/Headers/ Java 10.6 Update 4 - /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers/ Prev. Version
* ant: using target.sourcelevel, host.sourcelevel, javacdebug and ↵Sven Gothel2011-04-201-9/+23
| | | | | | | | | javacdebuglevel for compilation ; osx fix ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation osx fix: remove java.include.dir.platform property def, since it should be done in the gluegen-cpptasks-base.xml
* test ant: using target.sourcelevel, host.sourcelevel, javacdebug and ↵Sven Gothel2011-04-201-2/+11
| | | | javacdebuglevel for compilation
* use.macosx32 and use.macosx64 are only true when I run Mac OS XSylvestre Ledru2011-03-201-0/+6
|
* Fix jogamp-env.xml's NODE_NAME -> build.node.namev2.0-rc2Sven Gothel2011-02-261-2/+3
|
* Fix archive.7z: unset property destfile.path. gluegen-archivetasks.xml -> ↵Sven Gothel2011-02-243-3/+11
| | | | jogamp-archivetasks.xml
* fix jogamp-env.xml ; uses env vars BUILD_ARCHIVE=true|yes and NODE_NAME if setSven Gothel2011-02-2312-10/+10
|
* Intro jogamp-env.xml to parse common env properties ; Fix archive.7z: use ↵Sven Gothel2011-02-234-5/+26
| | | | abs path
* Inverse build attribute build.noarchive -> build.archiveonSven Gothel2011-02-231-1/+1
|
* 7z: use OS searchpathSven Gothel2011-02-231-0/+1
|
* Provide task 'archive.7z' and use it instead of zipSven Gothel2011-02-233-9/+29
|
* Use NODE_NAME env var to determine test archiveSven Gothel2011-02-232-1/+2
|
* bump scripts to 6u24Sven Gothel2011-02-223-8/+8
|
* Remove CDCSven Gothel2011-02-092-79/+1
|
* Remove CDC RT JARSven Gothel2011-02-092-352/+0
|
* Bump Java source level to 1.5 / Disable CDC buildsSven Gothel2011-02-091-20/+23
|
* Expand tabs to 4 spacesSven Gothel2011-02-092-9/+9
|
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-091-1/+1
| | | | | | | | | | | | jogamp.<module> - com.jogamp.common.impl -> jogamp.common This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Fixing build scripts for Solaris systems.Barcsik Attila2011-02-051-39/+33
|
* copy gluegen-rt.jnlp with empty codebase to build folder for local testing.Michael Bien2011-02-051-0/+11
| | | | this jnlp is not used for the distribution zip file.
* run tag.build from base.compileSven Gothel2010-12-161-2/+2
|
* archive test resultsSven Gothel2010-12-152-7/+18
|
* Refined VersionInfo (seperator/new-line)Sven Gothel2010-11-251-4/+3
|
* HashMapTest: Back to 50% tolerance, removed 'put' errorSven Gothel2010-11-252-4/+4
|
* Disabled Struct* Tests (not working on Windows .. platform; Moved ↵Sven Gothel2010-11-252-43/+11
| | | | BuffersTest and PCPP to the proper src/junit folder. All junit tests are now handled by build-junit.xml