aboutsummaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
...
* unit test: preserve hs_err_pid*.log files (move to results folder for archive)Sven Gothel2014-05-091-0/+3
|
* Remove warnings, turn on linting, fix Eclipse.Wade Walker2014-03-072-5/+12
| | | | | | | Removed warnings due to memoryMaximumSize being ignored when javac isn't forked. Turned on all linting. Changed the arguments of uncomment-function-params so it will run from within Eclipse properly (using basedir instead of user.dir, since only the former will be properly set both inside Eclipse and on the command line).
* Remove alignment warning in gluegen preprocessing.Wade Walker2014-03-051-2/+5
| | | | | | | | Turns off the warning about CL_ALIGNED not being defined for the current compiler, but only inside the gluegen preprocessor. If CL_ALIGNED isn't defined for the real C compiler on the platform, the warning will still show up during C compilation.
* Remove unnamed struct emission warnings.Wade Walker2014-03-051-1/+12
| | | | Uses the new augmentation of gluegen's Ignore keyword.
* Pass function pointers into clEnqueueMapImage.Wade Walker2014-03-021-2/+2
| | | | | | | These pointers were showing up as uninitialized variables; on inspection they just weren't being passed in from the Java side or assigned on the C side. There are currently no tests of this function, which is how we didn't notice this omission.
* Load jocl.properties if present.Wade Walker2014-03-021-2/+2
| | | | This lets us build with debug information turned on.
* Fix C build warnings.Wade Walker2014-03-022-4/+3
| | | | | | Fixes -fno-rtti and implicit cast warnings. After this commit, all C warnings are gone except for one due to gluegen emitting char pointers instead of unsigned char pointers.
* Merge pull request #5 from WadeWalker/bug_978_fix_solaris_testsWade Walker2014-02-242-13/+15
|\ | | | | Fix OpenCL test failures on Solaris for bug 978.
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-232-13/+15
| | | | | | | | | | | | | | | | | | | | Since nobody currently makes an OpenCL driver for Solaris, all the tests used to fail, which told us nothing. This commit adds code to check whether OpenCL is unavailable and the OS is Solaris, in which case the test contents are skipped. If an OpenCL driver ever appears for Solaris, or if we start testing on another platform with no OpenCL driver, there's now one single place to add or remove checks that will allow for this.
* | Fix build.xml (regression): Re-activate 'generate.jdk6.autocloseable, ↵Sven Gothel2014-02-211-1/+1
| | | | | | | | | | | | generate.jdk7.autocloseable' in java.generate.impl Regression of commit 46cc6ebfb2f53daebceb9a36b553ff01af56999f
* | build.xml: Don't re-generate source (gluegen) if CLAbstractImpl_JNI.c ↵Sven Gothel2014-02-172-4/+9
| | | | | | | | uptodate (use java.generate.skip); Put native code on gensrc/native/jocl
* | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (2/2)Sven Gothel2014-02-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | All gluegen generated native function wrappers, miss CL_API_CALL in the function declarations similar to commit 569726132f622e290bebc5d40c96f8115dbcb5da. Adding gluegen calling convention to cl-impl.cfg: LocalProcAddressCallingConvention __ALL__ CL_API_CALL All tests passed on windows 32bit now!
* | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (1/2)Sven Gothel2014-02-173-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'clGetExtensionFunctionAddress' function pointer declaration was faulty, i.e. using CL_API_ENTRY instead of CL_API_CALL. CL_API_CALL on windows is defined as '__stdcall' which impacts Window 32bit platforms. Fixed same issue w/: - clCreateContext - clBuildProgram Same issue occurs with _all_ gluegen generated native function wrappers, i.e. CL_API_CALL is missing in the function declarations! I will follow-up w/ this fix in a bit ..
* | Fix windows test scripts (CP, D_ARGS, ..)Sven Gothel2014-02-172-3/+14
| |
* | Fix build.xml: Remove gluegen config dependency on ../build using build-tempSven Gothel2014-02-172-12/+14
| | | | | | | | | | | | | | | | Fix copy2temp target and issue it before gluegen of cl-if.cfg. Note: ${project.root}/build cannot be a hard-dependency since ${rootrel.build} is configurable hence ${project.root}/${rootrel.build}.
* | Windows build scripts: Bump ant to 1.8.2Sven Gothel2014-02-172-2/+2
| |
* | script: set exec flagSven Gothel2014-02-151-0/+0
| |
* | Fix build scriptsSven Gothel2014-02-1513-29/+29
| |
* | Add scripts/check-junit.sh to validate local unit tests ..Sven Gothel2014-02-121-0/+39
|/
* Fix javadoc packagenamesv2.1.4Sven Gothel2014-01-311-2/+2
|
* Unit Tests: Also test 'Test*' while excluding inner classesSven Gothel2014-01-261-0/+2
|
* Fix build.xml: Processed CL stub_includes _must_ reside in current folder ↵Sven Gothel2014-01-261-6/+15
| | | | | | | | | | | | | (make) due to relative fileset access only! Commit aac4c5fc4ab7c77eff3b71f518100dd182ec2c33 moved processed CL stub_includes to 'build/includes', which would be 'nice to have'. However, due to relative fileset restrictions, we must locate it from current folder 'make'. Not detected, since an old 'make/includes/CL' was still around. Using dedicated folder 'make/stub_includes.gen'.
* Adapt all unit tests to use UITestCase and enforce named unit test order. ↵Sven Gothel2014-01-261-1/+15
| | | | Added main entry and listed in tests.sh for manual test.
* Add unit test TestJoclVersion and UITestCase base class for singleton unit ↵Sven Gothel2014-01-262-2/+3
| | | | tests ; Fix setenv-jocl.sh: Add jocl-test.jar
* Cleanup Build: GlueGen config files, stub_includes; Add JoclVersion, Android ↵Sven Gothel2014-01-2661-45/+548
| | | | | | | | | | | | | | | | | | JoclVersionActivity Cleanup Build: - Move gluegen config files into make/config (cleanup) - Move stub_includes into respective folder make/stub_includes and keep resources 'clean' JoclVersion: - Analoge to JoglVersion, replaces JOCLVersion (deprecated for now) - Added text based CL info dump. JoclVersionActivity: - Analog to JoclVersionActivity - Added full launch .. tested on Android (but no OpenCL avail.)
* build.xml: Fix jogl.build: Use [passed or default] jogl.build as well as ↵Sven Gothel2014-01-251-2/+3
| | | | rootrel.build (as gluegen does)
* Add '-b${joal.build.number}' to joal.version / archive.name ; Produce jar ↵Sven Gothel2014-01-252-18/+19
| | | | and apk files in ${build}/jar (as it was before new build system)
* Avoid sealed package violation: Move AutoCloseable to com.jogamp.openclSven Gothel2014-01-253-4/+6
|
* Bug 884: Move obsolete NB based build files to 'obsolete.make-nb' ; Fix text ↵Sven Gothel2014-01-2517-1/+484
| | | | file suffix ; Fix Jar Manifest: Move Sealed to bottom.
* Bug 884: Add standard JogAmp build files.Wade Walker2013-12-1544-0/+13190
The new make/build.xml successfully builds and tests the project. The original NetBeans build files are still present, but won't work anymore since the resources directory is now inside the make directory. The new build files are based on those of JOAL. The new build is not yet minimized and cleaned up, because this commit is meant to be the minimum way to get things functional.