Skip to content

Commit

Permalink
chore: start LWJGL 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Nov 10, 2023
1 parent 3a78b8c commit e0824f1
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 34 deletions.
6 changes: 6 additions & 0 deletions client/routes/customize/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export enum Version {
LWJGL331 = '3.3.1',
LWJGL332 = '3.3.2',
LWJGL333 = '3.3.3',
LWJGL334 = '3.3.4',
Nightly = 'nightly',
}

Expand Down Expand Up @@ -86,6 +87,8 @@ export enum Native {
Linux = 'linux',
LinuxARM64 = 'linux-arm64',
LinuxARM32 = 'linux-arm32',
LinuxPPC64LE = 'linux-ppc64le',
LinuxRISCV64 = 'linux-riscv64',
MacOS = 'macos',
MacOSARM64 = 'macos-arm64',
Windows = 'windows',
Expand All @@ -94,10 +97,13 @@ export enum Native {
}

export const NATIVE_LTE_322 = [Native.Linux, Native.MacOS, Native.Windows];
export const NATIVE_LTE_333 = [...NATIVE_LTE_322, Native.LinuxARM64, Native.LinuxARM32, Native.MacOSARM64, Native.WindowsX86, Native.WindowsARM64];
export const NATIVE_ALL = [
Native.Linux,
Native.LinuxARM64,
Native.LinuxARM32,
Native.LinuxPPC64LE,
Native.LinuxRISCV64,
Native.MacOS,
Native.MacOSARM64,
Native.Windows,
Expand Down
56 changes: 28 additions & 28 deletions client/routes/customize/versions/3.3.0.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import { Binding, NATIVE_LTE_322, NATIVE_ALL, Native, Version } from '../types';
import {Binding, NATIVE_LTE_322, NATIVE_LTE_333, Native, Version} from '../types';
import type { BuildBindings, BindingDefinition } from '../types';

export default (prev: BuildBindings): BuildBindings => ({
...prev,
version: Version.LWJGL330,
byId: {
...prev.byId,
[Binding.LWJGL]: { ...(prev.byId[Binding.LWJGL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.ASSIMP]: { ...(prev.byId[Binding.ASSIMP] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LWJGL]: { ...(prev.byId[Binding.LWJGL] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.ASSIMP]: { ...(prev.byId[Binding.ASSIMP] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.BGFX]: {
...(prev.byId[Binding.BGFX] as BindingDefinition),
natives: [...NATIVE_LTE_322, Native.LinuxARM32, Native.LinuxARM64, Native.MacOSARM64, Native.WindowsX86],
},
[Binding.GLFW]: { ...(prev.byId[Binding.GLFW] as BindingDefinition), natives: NATIVE_ALL },
[Binding.JEMALLOC]: { ...(prev.byId[Binding.JEMALLOC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LIBDIVIDE]: { ...(prev.byId[Binding.LIBDIVIDE] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LLVM]: { ...(prev.byId[Binding.LLVM] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LMDB]: { ...(prev.byId[Binding.LMDB] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LZ4]: { ...(prev.byId[Binding.LZ4] as BindingDefinition), natives: NATIVE_ALL },
[Binding.GLFW]: { ...(prev.byId[Binding.GLFW] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.JEMALLOC]: { ...(prev.byId[Binding.JEMALLOC] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.LIBDIVIDE]: { ...(prev.byId[Binding.LIBDIVIDE] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.LLVM]: { ...(prev.byId[Binding.LLVM] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.LMDB]: { ...(prev.byId[Binding.LMDB] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.LZ4]: { ...(prev.byId[Binding.LZ4] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.MEOW]: {
...(prev.byId[Binding.MEOW] as BindingDefinition),
natives: [...NATIVE_LTE_322, Native.LinuxARM64, Native.MacOSARM64, Native.WindowsX86, Native.WindowsARM64],
Expand All @@ -26,41 +26,41 @@ export default (prev: BuildBindings): BuildBindings => ({
id: Binding.MESHOPTIMIZER,
title: 'meshoptimizer',
description: 'A mesh optimization library that makes meshes smaller and faster to render.',
natives: NATIVE_ALL,
natives: NATIVE_LTE_333,
website: 'https://github.com/zeux/meshoptimizer',
},
[Binding.NANOVG]: { ...(prev.byId[Binding.NANOVG] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NFD]: { ...(prev.byId[Binding.NFD] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NUKLEAR]: { ...(prev.byId[Binding.NUKLEAR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENAL]: { ...(prev.byId[Binding.OPENAL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENGL]: { ...(prev.byId[Binding.OPENGL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENGLES]: { ...(prev.byId[Binding.OPENGLES] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPUS]: { ...(prev.byId[Binding.OPUS] as BindingDefinition), natives: NATIVE_ALL },
[Binding.PAR]: { ...(prev.byId[Binding.PAR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NANOVG]: { ...(prev.byId[Binding.NANOVG] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.NFD]: { ...(prev.byId[Binding.NFD] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.NUKLEAR]: { ...(prev.byId[Binding.NUKLEAR] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.OPENAL]: { ...(prev.byId[Binding.OPENAL] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.OPENGL]: { ...(prev.byId[Binding.OPENGL] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.OPENGLES]: { ...(prev.byId[Binding.OPENGLES] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.OPUS]: { ...(prev.byId[Binding.OPUS] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.PAR]: { ...(prev.byId[Binding.PAR] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.REMOTERY]: {
...(prev.byId[Binding.REMOTERY] as BindingDefinition),
natives: [...NATIVE_LTE_322, Native.LinuxARM32, Native.LinuxARM64, Native.MacOSARM64, Native.WindowsX86],
},
[Binding.RPMALLOC]: { ...(prev.byId[Binding.RPMALLOC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.SHADERC]: { ...(prev.byId[Binding.SHADERC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.RPMALLOC]: { ...(prev.byId[Binding.RPMALLOC] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.SHADERC]: { ...(prev.byId[Binding.SHADERC] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.SPVC]: {
id: Binding.SPVC,
title: 'SPIRV-Cross',
description:
'A library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.',
natives: NATIVE_ALL,
natives: NATIVE_LTE_333,
website: 'https://github.com/KhronosGroup/SPIRV-Cross',
},
[Binding.STB]: { ...(prev.byId[Binding.STB] as BindingDefinition), natives: NATIVE_ALL },
[Binding.TINYEXR]: { ...(prev.byId[Binding.TINYEXR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.TINYFD]: { ...(prev.byId[Binding.TINYFD] as BindingDefinition), natives: NATIVE_ALL },
[Binding.VMA]: { ...(prev.byId[Binding.VMA] as BindingDefinition), natives: NATIVE_ALL },
[Binding.STB]: { ...(prev.byId[Binding.STB] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.TINYEXR]: { ...(prev.byId[Binding.TINYEXR] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.TINYFD]: { ...(prev.byId[Binding.TINYFD] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.VMA]: { ...(prev.byId[Binding.VMA] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.VULKAN]: {
...(prev.byId[Binding.VULKAN] as BindingDefinition),
natives: [Native.MacOS, Native.MacOSARM64],
},
[Binding.XXHASH]: { ...(prev.byId[Binding.XXHASH] as BindingDefinition), natives: NATIVE_ALL },
[Binding.YOGA]: { ...(prev.byId[Binding.YOGA] as BindingDefinition), natives: NATIVE_ALL },
[Binding.ZSTD]: { ...(prev.byId[Binding.ZSTD] as BindingDefinition), natives: NATIVE_ALL },
[Binding.XXHASH]: { ...(prev.byId[Binding.XXHASH] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.YOGA]: { ...(prev.byId[Binding.YOGA] as BindingDefinition), natives: NATIVE_LTE_333 },
[Binding.ZSTD]: { ...(prev.byId[Binding.ZSTD] as BindingDefinition), natives: NATIVE_LTE_333 },
},
});
8 changes: 4 additions & 4 deletions client/routes/customize/versions/3.3.2.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Binding, Native, NATIVE_ALL, NATIVE_LTE_322, Version } from '../types';
import { Binding, Native, NATIVE_LTE_322, NATIVE_LTE_333, Version } from '../types';
import type { BuildBindings } from '../types';

export default (prev: BuildBindings): BuildBindings => ({
Expand All @@ -17,23 +17,23 @@ export default (prev: BuildBindings): BuildBindings => ({
title: 'FreeType',
description: 'A freely available software library to render fonts.',
website: 'https://freetype.org/',
natives: NATIVE_ALL,
natives: NATIVE_LTE_333,
},
[Binding.HARFBUZZ]: {
id: Binding.HARFBUZZ,
title: 'HarfBuzz',
description:
'A text shaping library that allows programs to convert a sequence of Unicode input into properly formatted and positioned glyph output — for any writing system and language.',
website: 'https://harfbuzz.github.io/',
natives: NATIVE_ALL,
natives: NATIVE_LTE_333,
},
[Binding.HWLOC]: {
id: Binding.HWLOC,
title: 'hwloc',
description:
'A portable abstraction of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading.',
website: 'https://www.open-mpi.org/projects/hwloc/',
natives: NATIVE_ALL,
natives: NATIVE_LTE_333,
},
[Binding.KTX]: {
id: Binding.KTX,
Expand Down
49 changes: 47 additions & 2 deletions client/routes/customize/versions/nightly.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,55 @@
import { BuildBindings, Version } from '../types';
import { Binding, BindingDefinition, BuildBindings, Native, NATIVE_ALL, Version } from '../types';

export default (prev: BuildBindings): BuildBindings => ({
...prev,
version: Version.LWJGL333,
version: Version.LWJGL334,
alias: Version.Nightly,
byId: {
...prev.byId,
[Binding.LWJGL]: { ...(prev.byId[Binding.LWJGL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.ASSIMP]: { ...(prev.byId[Binding.ASSIMP] as BindingDefinition), natives: NATIVE_ALL },
[Binding.BGFX]: { ...(prev.byId[Binding.BGFX] as BindingDefinition), natives: NATIVE_ALL },
[Binding.FREETYPE]: { ...(prev.byId[Binding.FREETYPE] as BindingDefinition), natives: NATIVE_ALL },
[Binding.GLFW]: { ...(prev.byId[Binding.GLFW] as BindingDefinition), natives: NATIVE_ALL },
[Binding.HARFBUZZ]: { ...(prev.byId[Binding.HARFBUZZ] as BindingDefinition), natives: NATIVE_ALL },
[Binding.HWLOC]: { ...(prev.byId[Binding.HWLOC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.JEMALLOC]: { ...(prev.byId[Binding.JEMALLOC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.KTX]: { ...(prev.byId[Binding.KTX] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LIBDIVIDE]: { ...(prev.byId[Binding.LIBDIVIDE] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LLVM]: { ...(prev.byId[Binding.LLVM] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LMDB]: { ...(prev.byId[Binding.LMDB] as BindingDefinition), natives: NATIVE_ALL },
[Binding.LZ4]: { ...(prev.byId[Binding.LZ4] as BindingDefinition), natives: NATIVE_ALL },
[Binding.MESHOPTIMIZER]: { ...(prev.byId[Binding.MESHOPTIMIZER] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NANOVG]: { ...(prev.byId[Binding.NANOVG] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NFD]: { ...(prev.byId[Binding.NFD] as BindingDefinition), natives: NATIVE_ALL },
[Binding.NUKLEAR]: { ...(prev.byId[Binding.NUKLEAR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENAL]: { ...(prev.byId[Binding.OPENAL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENGL]: { ...(prev.byId[Binding.OPENGL] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENGLES]: { ...(prev.byId[Binding.OPENGLES] as BindingDefinition), natives: NATIVE_ALL },
[Binding.OPENXR]: {
...(prev.byId[Binding.OPENXR] as BindingDefinition),
natives: [
Native.Linux,
Native.LinuxARM64,
Native.LinuxARM32,
Native.LinuxPPC64LE,
Native.LinuxRISCV64,
Native.Windows,
Native.WindowsX86,
Native.WindowsARM64,
],
},
[Binding.OPUS]: { ...(prev.byId[Binding.OPUS] as BindingDefinition), natives: NATIVE_ALL },
[Binding.PAR]: { ...(prev.byId[Binding.PAR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.REMOTERY]: { ...(prev.byId[Binding.REMOTERY] as BindingDefinition), natives: NATIVE_ALL },
[Binding.RPMALLOC]: { ...(prev.byId[Binding.RPMALLOC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.SHADERC]: { ...(prev.byId[Binding.SHADERC] as BindingDefinition), natives: NATIVE_ALL },
[Binding.STB]: { ...(prev.byId[Binding.STB] as BindingDefinition), natives: NATIVE_ALL },
[Binding.TINYEXR]: { ...(prev.byId[Binding.TINYEXR] as BindingDefinition), natives: NATIVE_ALL },
[Binding.TINYFD]: { ...(prev.byId[Binding.TINYFD] as BindingDefinition), natives: NATIVE_ALL },
[Binding.VMA]: { ...(prev.byId[Binding.VMA] as BindingDefinition), natives: NATIVE_ALL },
[Binding.XXHASH]: { ...(prev.byId[Binding.XXHASH] as BindingDefinition), natives: NATIVE_ALL },
[Binding.YOGA]: { ...(prev.byId[Binding.YOGA] as BindingDefinition), natives: NATIVE_ALL },
[Binding.ZSTD]: { ...(prev.byId[Binding.ZSTD] as BindingDefinition), natives: NATIVE_ALL },
},
});

0 comments on commit e0824f1

Please sign in to comment.