Commit Graph

792 Commits

Author SHA1 Message Date
Username404 acbbb7da37
Merge remote-tracking branch 'origin/incoming' into stable 2023-04-28 20:12:47 +02:00
Username404 97f87e6822
CMakeLists.txt: Always use the "-Oz" optimization flag on emscripten since it uses clang
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 15:23:24 +02:00
Username404 7c179ea072
CMakeLists.txt: Set DYNAMIC_EXECUTION to 0 on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:56:02 +02:00
Username404 9210b92a1f
CMakeLists.txt: Always use the SIMPLE compilation level with closure
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:22:17 +02:00
Username404 8b86910998
CMakeLists.txt: Set MALLOC to 'emmalloc' on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:09:35 +02:00
Username404 17a34315e8
CMakeLists.txt: Set DEMANGLE_SUPPORT to 1 on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 23:18:17 +02:00
Username404 e35e30df96
CMakeLists.txt: Set STACK_SIZE to 8 megabytes on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 12:13:40 +02:00
Username404 ad495c2e6e
CMakeLists.txt: Set DECLARE_ASM_MODULE_EXPORTS to 1 and PROXY_TO_PTHREAD to 0 in order to fix the unlimited creation of workers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 01:53:22 +02:00
Username404 3ff5d67a72
CMakeLists.txt: Add a predefined pool of 3 web workers for emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-08 23:54:28 +02:00
Username404 b6a708dcc0
ReservedIdentifiers.hpp: Use std::any_of instead of std::find in the reserved function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-01 21:21:46 +02:00
Username404 375f10acb3
Re-enable EXIT_RUNTIME to replace emscripten_force_exit
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-02-11 03:23:32 +01:00
Username404 f2347725e1
Yerbacon.hpp: Remove a useless "using" statement
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-22 01:30:55 +01:00
Username404 e3ae8da799
Yerbacon.hpp: Add a yerbacon_output variable to use in JavaScript
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-19 13:14:32 +01:00
Username404 1aada9d23f
main.cpp: Force runtime exit when using node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-08 01:12:54 +01:00
Username404 dedb12470e
CMakeLists.txt: Disable EXIT_RUNTIME since it does not seem to work well on web browsers and is not really needed
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-19 02:10:37 +01:00
Username404 dc380c8dcb
main.cpp: Catch exceptions when calling filesystem functions on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-05 18:25:12 +01:00
Username404 64ef5e60ff
main.cpp: Support Windows paths on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-05 18:24:55 +01:00
Username404 d1ebbda173
Mount the filesystem when running on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-04 13:50:27 +01:00
Username404 bf94b8c6eb
CMakeLists.txt: Add "-Wl,--gc-sections" to the linker flags for release builds
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-26 01:54:17 +01:00
Username404 845e9e3cb7
Revert "Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work"
This reverts commit 6afec609

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-25 19:44:37 +01:00
Username404 17cc3fe0b1
CMakeLists.txt: Use -Oz when it is supported on GNU or Clang compilers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-21 14:58:32 +01:00
Username404 931ea549cb
Merge remote-tracking branch 'origin/incoming' into stable 2022-11-01 11:48:18 +01:00
Username404 782fdfdcb9
CMakeLists.txt: Disable OpenMP only when using a llvm-mingw toolchain
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 11:20:31 +01:00
Username404 2fbc719438
Merge remote-tracking branch 'origin/incoming' into stable 2022-11-01 11:09:12 +01:00
Username404 5c1780a9af
main.cpp: Set the number of threads used by OpenMP to one when parallel is false
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 11:01:37 +01:00
Username404 8341096773
Revert "CMakeLists.txt: Don't link against OpenMP when using static linking"
This reverts commit 1469d92b

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 10:18:40 +01:00
Username404 e74d1f06ec
Merge remote-tracking branch 'origin/incoming' into stable 2022-10-29 01:10:39 +02:00
Username404 4abd0408b7
Dockerfile: Use the latest released version of upx instead of a static commit hash
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-29 00:54:50 +02:00
Username404 022a0c6b62
CMakeLists.txt: Add a vercel_pkg CMake target to package the JavaScript output into executables for macOS when using emscripten and yarn (or npm)
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-07 22:59:10 +02:00
Username404 e7df484db0
CMakeLists.txt: Disable DECLARE_ASM_MODULE_EXPORTS on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 16:23:18 +02:00
Username404 a828280693
Dockerfile: Update the UPX version
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 15:57:40 +02:00
Username404 ccff82dba0
Dockerfile: Make sure the upx repository is up-to-date
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 15:53:19 +02:00
Username404 d4af5fecd9
CMakeLists.txt: Allow memory growth on emscripten 2022-09-30 08:12:41 +02:00
Username404 cb3e1b75ae
CMakeLists.txt: Disable SAFE_HEAP when using emscripten on Android
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-29 20:32:43 +02:00
Username404 319c30cd03
ReservedIdentifiers.hpp: Make the identifiers array's initialization strictly constant 2022-09-27 18:09:17 +02:00
Username404 f348dc985f
Target.hpp: Don't return a reference to a static thread-local map in the Target::getTaskMapInstance function
It only worked properly with the "--parallel" flag

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-21 20:35:07 +02:00
Username404 764f3287ff
Dockerfile: Make sure upx always works by setting a static version
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-20 22:28:49 +02:00
Username404 caf5bc338d
Yerbacon.hpp: Don't check for __cpp_using_enum
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-18 20:18:36 +02:00
Username404 0636f49979
Dockerfile: Always use the latest Alpine Linux and UPX versions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-08 20:34:09 +02:00
Username404 c3e3d46cce
Add Dockerfile and .dockerignore
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 21:45:17 +02:00
Username404 cd7d7f6337
Jenkinsfile: Don't publish windows executables which are not packaged
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 16:00:05 +02:00
Username404 8091d92933
CMakeLists.txt: Set CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE to YES when using a llvm-mingw toolchain
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 15:15:07 +02:00
Username404 23f24e55b1
Parser.hpp: Fix a segmentation fault happening when parseTree is empty
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-28 10:51:56 +02:00
Username404 94e71ef61e
Jenkinsfile: Disable LTO and UPX for the 'armv7-w64-mingw32' target
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 22:44:53 +02:00
Username404 62652ad9a4
CMakeLists.txt: Don't redefine CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE if it has already been defined
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:59:39 +02:00
Username404 d2a83a2f5e
CMakeLists.txt: Use ThinLTO instead of full LTO when Clang is present
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-27 21:33:48 +02:00
Username404 344b810f12
Jenkinsfile: Reintroduce RPM and DEB package architectures
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 c55dbb25a6
CMakeLists.txt: Reintroduce CXX_TARGET
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 ab2b666dd3
CMakeLists.txt: Improve CPACK_PACKAGE_FILE_NAME
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 18:09:52 +02:00
Username404 8004d3a283
Jenkinsfile: Separate compilation and packaging, move the buildTarget function's content into the "Compile" stage, and clean the workspace of the matrix too
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 11:14:06 +02:00