Commit Graph

462 Commits

Author SHA1 Message Date
Username404 ab7fcee9a2
Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS in the Jenkinsfile to avoid errors caused by dpkg 2021-08-18 13:44:01 +02:00
Username404 df334ec693
Revert "Set the debian package dependencies manually."
This reverts commit 02f6a3db
2021-08-18 12:57:00 +02:00
Username404 3b31ad0c6d
Set the package architectures of x86 packages to i386 instead of i686 2021-08-17 17:48:16 +02:00
Username404 05e8c5c9b6
Build x86 packages in the Jenkinsfile 2021-08-17 17:31:35 +02:00
Username404 82dde27690
Use GNU strip on produced executables in the buildTarget functions of the Jenkinsfile 2021-08-16 11:52:38 +02:00
Username404 18da9b800a
Revert "Make enumerations and wide characters shorter by default when using a GNU compiler or Clang."
This reverts commit dad410f6
2021-08-16 11:41:58 +02:00
Username404-59 31858e68a0
Fix the buildTarget method's parameters again by making isPackageArchDeb a boolean 2021-08-16 00:24:54 +02:00
Username404 b8b809a876
Add a boolean parameter to the buildTarget function of the Jenkinsfile to choose whether to use the debian architecture or the rpm architecture in the names of produced packages 2021-08-15 21:27:29 +02:00
Username404 58e54f1b94
Always use clang with lld when compiling for the host platform in the Jenkins pipeline 2021-08-15 17:57:55 +02:00
Username404 4f0fa09cd9
Build packages for the aarch64 and armhf architectures in the Jenkinsfile 2021-08-15 17:19:37 +02:00
Username404 e874cbdf32
Use a dot instead of a hyphen for the package architecture suffix 2021-08-15 17:17:11 +02:00
Username404 7fd3cc32c8
Fix the position of the cmakeArgs arguments in functions calls in the Jenkinsfile, and add a CXX_TARGET variable 2021-08-15 17:08:24 +02:00
Username404 9f25ef909b
Re-add previously removed types in the Jenkinsfile 2021-08-15 16:40:50 +02:00
Username404 c17ec47d06
Add a missing $ when invoking cpack in the Jenkins pipeline 2021-08-15 16:25:39 +02:00
Username404 d25b0f71c8
Fix string interpolation in the Jenkinsfile using quotes 2021-08-15 16:24:27 +02:00
Username404 42ae8e1342
Define the buildTarget function outside of the Jenkins pipeline 2021-08-15 16:17:10 +02:00
Username404 28fcc49572
Add a function to the Jenkinsfile and archive artifacts in each cmake-build directory 2021-08-15 16:13:24 +02:00
Username404 7016eb18c4
Add the target architecture as a suffix to packages in CMakeLists.txt 2021-08-15 15:38:55 +02:00
Username404 1f5c0b1b7a
Enable exceptions handling in the CMakeLists.txt file 2021-08-14 23:15:46 +02:00
Username404 af3a9202c0
Make enumerations and wide characters shorter by default when using a GNU compiler or Clang. 2021-08-14 22:47:48 +02:00
Username404 a3cdf22000
Inline the `<<` operator in ParseComponents.hpp 2021-08-14 10:45:13 +02:00
Username404 d6de61df99
Add a few optimizations for G++ in the CMakeLists.txt file 2021-08-11 22:42:45 +02:00
Username404 5c3eecd560
Undefine YBCON_VERSION in Yerbacon.hpp 2021-08-10 15:48:26 +02:00
Username404 e8916cf40f
Move the UNEXPECTED case in lexer.cpp 2021-08-10 14:55:28 +02:00
Username404 f4297fe851
Use STRING directly in the getIdentifierCharType() function. 2021-08-10 14:01:20 +02:00
Username404 e9ce6362af
Add a DOT token to lex.hpp, and only use the enum characters. 2021-08-10 13:54:50 +02:00
Username404 7a23e31dea
Only define the CMAKE_RC_COMPILER when it isn't defined in the CMakeLists.txt file. 2021-08-10 12:22:28 +02:00
Username404 404b580ec3
Don't execute make commands in parallel in the Jenkinsfile. 2021-08-10 11:00:08 +02:00
Username404 41da4ef6ac
Add even more flags for the GNU and Clang compilers... 2021-08-10 10:58:18 +02:00
Username404 8739623a08
Move the Clang flags to the CMAKE_CXX_FLAGS_RELEASE, and add another flag. 2021-08-10 10:44:17 +02:00
Username404 f472878180
Use the flag added previously on Clang++ too, and replace occurrences of version numbers with the two variable containing minimal versions of compilers. 2021-08-10 10:32:04 +02:00
Username404 cc0d29fda7
Add an optimization flags for GNU compilers in the CMakeLists.txt file. 2021-08-09 21:33:18 +02:00
Username404 e414688156
Rename the second stage of the pipeline in the Jenkinsfile 2021-08-09 20:55:43 +02:00
Username404 a875f8ab80
Only strip the executable found in ./cmake-build-release. 2021-08-09 18:29:13 +02:00
Username404 ed6851f8e7
Re-add the cmake calls in the Jenkinsfile. 2021-08-09 18:14:56 +02:00
Username404 b1e5c0f7ea
Fix the previous commit... 2021-08-09 18:06:38 +02:00
Username404 9a9cc4aa50
Move cross-compilation to another stage in the Jenkinsfile. 2021-08-09 18:02:05 +02:00
Username404 3c14405874
Add variables with the minimal versions of GNU and Clang in the CMakeLists.txt file 2021-08-09 17:17:38 +02:00
Username404 043d2e7485
Make the GNU compiler message a FATAL_ERROR in the CMakeLists.txt file. 2021-08-09 14:39:09 +02:00
Username404 3b991da962
Require Clang 13.0+ in the CMakeLists.txt file, import the tok::type enumeration in lexer.cpp + Parser.hpp, and add [[likely]] attributes to 2 branches of the switch case in lexer.cpp. 2021-08-09 10:58:11 +02:00
Username404 3c703e55b5
Rename the findByName method to findReferenceByName, and add a findReferencesById method. 2021-08-08 23:44:42 +02:00
Username404 9871cc66c7
Add a Reference structure to the StandardComponents namespace. 2021-08-08 22:53:29 +02:00
Username404 43136672bd
Remove the ParseComponents constructor declaration and make NamedIdentifier.name a const variable again 2021-08-08 22:51:49 +02:00
Username404 e8b2f90263
Return pointers in PareTree.findById() and return references in ParseTree.findByName(). 2021-08-08 16:23:46 +02:00
Username404 dd223026a0
Fix the findByName function. 2021-08-08 14:59:47 +02:00
Username404 fa546865a0
Use runtime type information in ParseComponents.hpp. 2021-08-08 14:38:21 +02:00
Username404 c23d88e0eb
Add a return type to the ParseTree "<<" operator. 2021-08-07 13:33:13 +02:00
Username404 2a5df0bb32
Put the #ifdef directives before the case statements in Target.hpp to avoid issues. 2021-08-07 11:41:04 +02:00
Username404 2f853fe797
Add unsigned short values to the tok::type enum and move the parseString function to misc.hpp. 2021-08-06 19:12:28 +02:00
Username404 fbe8e189d3
Reuse a lambda in main.cpp. 2021-08-06 11:58:43 +02:00