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
Username404
bf1cea3e77
Jenkinsfile: Use the matrix directive
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:16:08 +02:00
Username404
3cf67d3445
Jenkinsfile: Don't run upx on aarch64 windows executables
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:04:00 +02:00
Username404
9d64f53728
Jenkinsfile: Fix the "Deploy" stage setting the build result to success when matching files are not found
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:04:00 +02:00
Username404
5fc16d7d41
Jenkinsfile: Add two parameters to buildTarget to simplify the script
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 03:03:59 +02:00
Username404
7846634165
CMakeLists.txt: Remove PNAME + CXX_TARGET, set CPACK_PACKAGE_FILE_NAME only once and let rpmbuild and the CPack Deb generator decide what file name to use
...
Jenkinsfile: Remove the buildTarget function's architecture-related parameters
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-24 02:31:26 +02:00
Username404
0fbe69ba91
Don't reuse CMAKE_EXE_LINKER_FLAGS_RELEASE when setting it to "-s"
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-23 19:18:48 +02:00
Username404
8e74bff30b
Parser.hpp: Fix a tiny typo at line 154
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-20 13:45:32 +02:00
Username404
4795bd54a0
Parser.hpp: Replace the try-catch statement at line 152 with a condition since this seems to fix bad_cast not being caught when running a windows executable which has been compressed using upx
...
CMakeLists.txt: Revert the 89888113
commit and don't check CMAKE_CXX_LINK_NO_PIE_SUPPORTED when mingw is in use
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-20 13:35:01 +02:00
Username404
c720769305
Jenkinsfile: Catch errors from emscripten
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404
a98cd3e534
CMakeLists.txt: Set CMAKE_UNITY_BUILD to TRUE by default
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404
b8bb1181d1
CMakeLists.txt: Disable UPX when position-dependent executables are not supported by the compiler
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-13 14:41:19 +00:00
Username404
3e6b6f9560
CMakeLists.txt: Notify the user about position-independent code being unsupported only when it has been manually enabled
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
fec8a2c4bd
CMakeLists.txt: Notify the user when CMAKE_POSITION_INDEPENDENT_CODE was defined on the command line although UPX is in use
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
510e7a24f3
CMakeLists.txt: Don't set CMAKE_POSITION_INDEPENDENT_CODE to TRUE if it is already defined
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:48 +02:00
Username404
efe7d8ca57
CMakeLists.txt: Disable PIE when using UPX since executables seem to crash on some systems when it is enabled
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 14:45:07 +02:00
Username404
a9d460d096
CMakeLists.txt: Set CMAKE_COLOR_DIAGNOSTICS to ON
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-08 11:22:36 +02:00
Username404
f8010ea2b0
CMakeLists.txt: Pass "-s" to the linker instead of passing it to the compiler
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-03 11:37:42 +02:00
Username404
ae8dc42950
Jenkinsfile: Enable UPX since it now works with stripped executables targeting the musl C library
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 20:04:50 +02:00
Username404
62fa245196
Jenkinsfile: Remove the upx_exists variable (which has been useless since commit 219fb02a
)
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 20:00:38 +02:00
Username404
44d4ffb2ee
CMakeLists.txt: Always strip executables when the build type is release
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 19:54:28 +02:00
Username404
da3af239c9
CMakeLists.txt: Add a note about UPX
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-08-02 19:39:52 +02:00
Username404
a21eecb0b3
CMakeLists.txt: Fix two indentation errors
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-30 00:01:23 +02:00
Username404
7032695867
CMakeLists.txt: Always use the uppercase build type for comparisons
2022-07-29 12:47:28 +02:00
Username404
7b28ff50b8
CMakeLists.txt: Use strings when doing STREQUAL comparisons, and compare variables instead of their content for IS_GNU and IS_CLANG
2022-07-29 12:40:52 +02:00
Username404
2104f6e804
CMakeLists.txt: Fix the SELF_PACKER_FOR_EXECUTABLE check
2022-07-29 12:22:35 +02:00
Username404
b648a8baba
CMakeLists.txt: Make sure exceptions are enabled when emscripten is in use
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-25 12:33:56 +02:00
Username404
3ca51f450f
CMakeLists.txt: Make sure MINIMAL_RUNTIME is set to 0 when emscripten is in use
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-25 12:33:11 +02:00
Username404
4fa72c0459
Parser.hpp: Parse properties and methods
...
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-16 12:36:48 +02:00