Commit Graph

251 Commits

Author SHA1 Message Date
Michael Pfaff c0b72342e6
Configurable compiler on linux, dos2unix on a file, consistent indentation 2023-06-25 18:35:37 -04:00
Michael Pfaff 8dbd70ee34
Try to optimize the builds a little bit more. There is a pretty rare race condition that causes a build failure (bad synchronization in the java compiler). 2022-09-12 21:08:44 -04:00
Michael Pfaff fbc1c49513
Clean-up macos build 2022-09-09 12:04:53 -04:00
Michael Pfaff 34e1bc3868
Remove unnecessary generator arg 2022-09-09 09:25:34 -04:00
Michael Pfaff 83e0ecd95c
Remove unnecessary generator args 2022-09-08 22:20:31 -04:00
Michael Pfaff b7e7d97f20
Add stubs to source path for generators 2022-08-19 13:42:16 -04:00
Michael Pfaff db00d7f587
Clean-up, use stubs unfettered lib 2022-08-16 20:59:13 -04:00
Michael Pfaff b53c59b989
Clean-up 2022-08-16 14:27:14 -04:00
Michael Pfaff 4f7fee2ed4
Remove a lot of synchronization 2022-08-14 13:21:03 -04:00
Michael Pfaff 68d112adec
Fixed generated C files output path
In addition to the main fix...

- refactored GeneratorVisitor a bit
- slightly improve context in a debug message
2022-08-10 21:01:25 -04:00
Michael Pfaff 325db15a1d
More progress, nearly fixed native header generation
BufferUtils.c and CallbackUtil.c have been modified to not include the
generated header file. This is because `javac` is choosing to ignore
those files for generation of headers for unknown reasons.
2022-08-10 11:43:59 -04:00
Michael Pfaff 134263f5cd
More progress, Windows build is definitely broken for now 2022-08-09 21:59:46 -04:00
Michael Pfaff 9cb793315f
Refactor Linux build file similarly to macOS build file 2022-03-29 12:55:52 -04:00
Michael Pfaff 80ff887638
Deduplicate generator build scripts 2022-03-29 09:48:40 -04:00
Michael Pfaff 68e2ca0b76
Part 1/2
- Remove applet
- Remove webstart
- Refactor all generation to the `target` folder
- Remove eclipse-update
- Update java version in `.tool-versions`
- Update `.gitignore`
- Remove unused `res` folder
- Only macOS builds work currently
- TODO: finish the aforementioned changes to all other targets
- `build.sh` runs in headless mode to avoid the focus stealing and
  performance issues on macOS
2022-03-22 21:26:50 -04:00
Michael Pfaff 2bfd7e88c0
Increase optimization levels 2022-03-22 15:46:18 -04:00
Michael Pfaff fdaabdc249
Patch macOS build-script 2022-03-22 13:53:08 -04:00
Michael Pfaff 229a1da41b
Added build script and update minimum versions to Java 1.8 2022-01-05 13:50:35 -05:00
Chrobi 5d716b2b5a Build Error because bin directory not found
From a `git clone` trying to `ant generate-all` on Ubuntu Linux on Odroid XU4 I got the error:  
lwjgl/platform_build/build-generator.xml:26 destination directory  lgwjgl/bin does exist or is not a directory.
2015-12-26 22:28:04 -07:00
Ioannis Tsakpinis ae4606c53f Bump version to 2.9.4 2015-01-19 20:41:13 +02:00
Ioannis Tsakpinis 85e5488e4d Enable parallel compilation 2014-12-30 14:35:00 +02:00
Ioannis Tsakpinis 6ae9382a11 Bump version to 2.9.3 2014-12-30 14:33:04 +02:00
Ioannis Tsakpinis 45678633f9 Fix libjawt.dylib detection. 2014-11-21 20:06:48 +02:00
Ioannis Tsakpinis e429e2699c Ignore .eh symbols 2014-11-21 20:06:31 +02:00
b23prodtm ca19ebd11b x86_64 : build symbols issue was fixed 2014-10-03 18:52:58 +02:00
Ioannis Tsakpinis b44f503882 Build the symbols list in the x86_64 only build. 2014-10-02 17:34:03 +03:00
Ioannis Tsakpinis f25e503ce0 Refactored the OS X script for better readability and to enable builds on newer versions.
Issues resolved:

- Added support for the 10.8 (Mountain Lion) and 10.9 (Mavericks) SDKs.
- Dropped universal builds on 10.8 or higher, x86 is not supported anymore.
- Use clang instead of gcc on 10.8 or higher. Fixes a system header compilation error on 10.9.
- Fixed issue with the libjawt path on certain JDKs.
2014-10-01 22:35:25 +03:00
Ioannis Tsakpinis 76867b161f Merge pull request #54 from qbit/master
enable build on OpenBSD
2014-09-29 20:33:14 +03:00
Ioannis Tsakpinis 78911cc0d4 Made the javac-based Generator compatible with JDK 6. 2014-09-14 21:59:47 +03:00
Ioannis Tsakpinis 774bd17ece Ported annotation processing from apt to javac.
This is a manual merge of request #86 by @b23prodtm. The original patch is fantastic, but as expected has a few issues that will be fixed in subsequent commits.
2014-09-14 17:07:56 +03:00
Ioannis Tsakpinis 202ce1d522 OpenGL ES build fixes. 2014-09-14 12:42:18 +03:00
kappaOne a6bb6e31d8 Rename native *.jnilib files to *.dylib to allow Java 8 compatibility 2014-03-25 22:02:27 +00:00
Brian Matzon 0d70b5a8d5 bumped version to 2.9.2 2013-12-02 21:41:21 +01:00
Aaron Bieber 27d444ed74 enable build on OpenBSD 2013-10-22 08:00:50 -06:00
Brian Matzon 5fe5cc057d applying frogs bsd build patch 2013-04-23 22:04:23 +02:00
Brian Matzon f0aafd17a9 bumping version to 2.9.1 2013-04-21 23:00:51 +02:00
kappaOne 76f02c9187 Fix the now infamous "Could not get the JAWT interface" exception when
running on OS X and Java 7
2013-03-25 22:55:46 +00:00
kappaOne bc7061717e Another attempt to try fix nightly builds 2013-03-25 14:06:42 +00:00
kappaOne b83f27e970 undo some changes to the OS X build.xml file as it broke the nightly
build server
2013-03-25 12:35:06 +00:00
kappaOne c53e957833 Remove dependency on Java Native Foundation framework, remove non
working JAWT manually loading, change to use headers from
JavaVM.framework when compiling due to JDK7 bug
2013-03-24 20:49:23 +00:00
kappaOne 5738477a7b Merge pull request #19 from LWJGL/osx-java7
LWJGL OS X Java 7 Branch is Ready!
2013-03-14 04:49:43 -07:00
Peter Wu 6642ab736c Fix Linux build error w.r.t. Xxf86vm linking 2013-02-22 17:55:13 +01:00
Ioannis Tsakpinis 1c671598aa Reverted warning level to 2, until we modify the generator to emit explicit casts. 2013-01-30 02:07:40 +02:00
Ioannis Tsakpinis 5400bb27db Misc fixes and improvements on Windows:
- Cleaned up cl flags and enabled parallel compilation. Native compilation
  is now multiple times faster.
- Fixed all /W3 compilation warnings.
- Changed window flag from WS_CHILDWINDOW to WS_POPUP when Display.setParent
  is used, in an attempt to fix focus-related issues.
2013-01-29 22:53:11 +02:00
Alexander Yerenkow 503f8780d3 FreeBSD initial support 2012-11-19 20:28:28 +02:00
kappa1 3e96cded2b upload mc78's latest build.xml fixes, gets rid of the depreciated warnings 2012-11-06 21:45:45 +00:00
kappa1 bb8045b471 Added support to the OS X build.xml for Xcode location discovery, Mac OS SDK discovery, JavaVM.framework discovery and gcc vs gcc-4.2 discovery, special thanks to MC78 for providing this patch 2012-11-05 23:17:34 +00:00
kappa1 4eaea5850c Tiny Clean up and remove some more references to JNF 2012-11-04 20:11:03 +00:00
Brian Matzon 6417afb180 Bumping version number 2012-11-04 19:50:22 +00:00
kappa1 2c811ac289 Updated macosx_ant build.xml, removed PPC support, bumped the minimum OS X SDK for 32/64bit native to SDK 10.5. Commented out some code in Display.m that required SDK 10.7+, namely NSApplicationPresentationFullScreen, etc 2012-11-01 22:21:23 +00:00
Ioannis Tsakpinis 65009d8274 Added support for AMD_shader_trinary_minmax, INTEL_map_texture and NV_draw_texture. 2012-10-16 14:53:19 +00:00
Ioannis Tsakpinis 929817a4eb Added support for OpenGL 4.3 and OpenGL ES 3.0.
Modified the generator process to use relative paths. We were hitting the command line length limit on Windows.
Some extension improvements, fixes and spec updates.
2012-08-07 15:14:03 +00:00
Brian Matzon 39a4731583 bumping to 2.8.5, adding changelogs 2012-06-03 19:07:57 +00:00
Brian Matzon 39aae7ff27 bumping to 2.8.4 and adding changelogs 2012-01-23 21:30:46 +00:00
kappa1 213aa4262d Weakly link the AppKit framework in an attempt to allow 10.5 compatibility again. 2012-01-13 00:53:43 +00:00
Ioannis Tsakpinis ad7769f9c9 Added support for OpenCL 1.2 [UNTESTED] 2011-11-16 14:36:28 +00:00
Brian Matzon fb788c9ec1 bumping to 2.8.3 2011-11-13 21:20:42 +00:00
kappa1 6b0e05cef6 Add the QuartzCore framework to the list of frameworks available to the linker 2011-11-12 21:03:48 +00:00
Brian Matzon 8055e0fd68 switching to 2.8.2 2011-10-17 07:45:46 +00:00
Ioannis Tsakpinis d52a8bce90 Removed org.lwjgl.opengles.PixelFormat dependency from Display. 2011-10-12 18:54:40 +00:00
Brian Matzon 797048354c bumping version to 2.8.1 2011-10-11 17:39:37 +00:00
Ioannis Tsakpinis d56bd9a420 Fixed build to include missing OpenGL ES classes on which Display depends.
Excluded desktop OpenGL extensions from the OpenGL ES build.
2011-10-11 16:06:23 +00:00
Brian Matzon ca428342d3 applying ruben01s latest maven patch 2011-10-05 19:19:00 +00:00
Brian Matzon 2070379f34 lets include openal and opencl when building lwjgl on 64-bit linux 2011-10-04 22:08:23 +00:00
Brian Matzon eeb19cc3f4 applying ruben01s latest maven patch 2011-10-03 20:17:30 +00:00
Ioannis Tsakpinis 45e6926b45 Added support for INTEL_immediate_execution. 2011-09-29 08:36:36 +00:00
Brian Matzon d2967647ac applied maven patch by ruben01 2011-09-08 21:35:54 +00:00
Ioannis Tsakpinis dc163985b0 Attempt (2) to fix MacOS build. 2011-09-03 11:04:04 +00:00
Ioannis Tsakpinis 0a29738e44 Attempt to fix MacOS build. 2011-09-03 10:58:20 +00:00
kappa1 702777d0fb apply patch to enable applets on OS X using the java plugin2, credits to pjohnson for creating patch. 2011-08-29 13:34:17 +00:00
kappa1 69ed971285 Mac Ant build.xml - bump minimum requirements for compiling lwjgl on OS X to prepare for new plugin2 patch. OS X SDK 10.6 and Java 6 update 4 (1.6.0_24) are now the minimum requirements to compile LWJGL on OS X however OS X 10.3+ is still the targeted for compatibility. 2011-08-27 22:21:13 +00:00
Brian Matzon 3da40143e3 Updating version to 2.8.0, still some stuff to do tho 2011-08-15 19:24:39 +00:00
Ioannis Tsakpinis 8e7e212161 Attempt to fix ant release. 2011-07-10 22:38:21 +00:00
Ioannis Tsakpinis 16ff1f892d Attempt (2) to fix MacOS build. 2011-07-10 19:16:46 +00:00
Ioannis Tsakpinis fcba7a09ee Attempt to fix MacOS build. 2011-07-10 18:48:23 +00:00
Ioannis Tsakpinis af0ed1d1c4 Added OpenAL & OpenCL generated native paths.
Added support for AMD_device_memory_flags, AMD_offline_devices, AMD_popcnt [OpenCL]
Minor bugs fixed in high-level OpenCL API.
2011-06-04 00:53:04 +00:00
Ioannis Tsakpinis 40cbf3e45f Added support for OpenGL ES. 2011-05-17 16:53:57 +00:00
Brian Matzon 31df38d35c applying maven version patch by ruben01 2011-04-28 17:54:46 +00:00
kappa1 067e27de66 ANT build : switch to using the 10.4 sdk instead of the 10.3 one for ppc builds 2011-04-16 16:41:19 +00:00
Brian Matzon 51ab4101b8 arielsans maven jinput patch 2011-02-14 20:42:15 +00:00
Brian Matzon b60221fc35 Upgrading OpenAL-Soft to latest version .. cbe288aa93de6 and moving to 2.7.1 2011-02-09 21:09:33 +00:00
Brian Matzon b29a30d115 applying patch to update lwjgl_util_applet.jar with resources directly 2011-01-28 21:55:16 +00:00
Brian Matzon d7946a4819 adding initial maven support by Ruben Garat, updating Credits file in the process 2011-01-28 21:51:29 +00:00
Brian Matzon e33a98cbc7 updating version to 2.7 2011-01-28 21:11:35 +00:00
Brian Matzon 04dfdbebae applied patch by ruben01 to add finer granularity 2011-01-19 21:25:32 +00:00
Brian Matzon 56d3dc6ba7 dont depend on all for the applet target 2011-01-19 21:15:21 +00:00
Brian Matzon 37e632c4c7 keystore changes 2011-01-19 21:14:57 +00:00
Brian Matzon 39553cba95 actually include 64bit openal for solaris 2010-10-13 20:57:13 +00:00
Brian Matzon cd1289bddb updates to webstart to streamline process 2010-10-12 19:21:35 +00:00
Brian Matzon 031c2ce13b updates to jnlp to work as installable unit 2010-10-12 17:44:19 +00:00
Ioannis Tsakpinis 208972dba5 Attempt to fix build issues. 2010-10-02 12:19:00 +00:00
Ioannis Tsakpinis a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis a86fd4b14d Typo fix. 2010-09-26 23:49:09 +00:00
Ioannis Tsakpinis 1aa9ab5104 Added support for OpenCL & CL/GL interop + minor improvements. [WIP] 2010-09-26 23:43:24 +00:00
kappa1 b56a7def9c Applet package in nightly builds now cleaned of unused files so extra code to build file can be removed. 2010-09-01 18:12:06 +00:00
kappa1 0d6cc9ccc8 second attempt to clean applet package of unused files 2010-08-31 20:10:12 +00:00
kappa1 a19d4838a7 attempt to clean nightly builds of unused files 2010-08-31 19:30:15 +00:00
kappa1 af6dc3d5b5 Applet Package: clean up and split the applet download package, it should be much easier for noobs to pick it up now and less confusing. 2010-08-28 16:39:16 +00:00
Brian Matzon cba5ab3492 incrementing version to 2.6 2010-07-27 19:08:50 +00:00
Ioannis Tsakpinis 5842103580 Added support for OpenGL 4.1 and new extensions. 2010-07-27 15:33:22 +00:00