Woongsuk Cho [Mon, 5 Feb 2024 01:08:27 +0000 (10:08 +0900)]
Change implementation of regeneratePkgNI
Woongsuk Cho [Wed, 31 Jan 2024 07:17:32 +0000 (16:17 +0900)]
AOT support for RPK
The RPK (Resource Package) can contain dlls for resources and NUIGadget.
For RPK, Dlls can be located under lib and res/allowed directory.
AOT for RPK is enabled by metadata "http://tizen.org/metadata/prefer_dotnet_aot".
It triggered by metadata installer plugin and dotnettool(--ni-pkg, --ni-regen-all-app).
j-h.choi [Thu, 18 Jan 2024 06:40:47 +0000 (15:40 +0900)]
[Refactoring] Code cleanup and remove duplicate methods
Change-Id: I6c65e5108b0110a51b5f9d60e34779d7d4f300ef
조웅석/MDE Lab(SR)/삼성전자 [Mon, 18 Dec 2023 07:21:04 +0000 (16:21 +0900)]
Update NativeLauncher/tool/ni_common.cc
Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
Woongsuk Cho [Wed, 29 Nov 2023 04:16:49 +0000 (13:16 +0900)]
Remove duplicated ni regeneration
In case of --ni-regen-all-app option, AOTC was performed multiply for one package if multiple app is contained in it.
To avoid this situation, get unique candiate package list for --ni-regen-all-app.
최종헌/MDE Lab(SR)/삼성전자 [Mon, 18 Dec 2023 06:32:09 +0000 (15:32 +0900)]
Update ni_common.cc
j-h.choi [Tue, 21 Nov 2023 07:22:37 +0000 (16:22 +0900)]
Remove duplicate files from app assembly list
Gleb Balykov [Thu, 15 Feb 2024 07:43:30 +0000 (10:43 +0300)]
Remove ZapDisable=1 for Coreprofiler
Explicit disabling of ni.dll is not needed, because
- in case of enter/leave hooks usage (non-alternative sampling mode) ni.dll will be disabled automatically
- in case of DoStackSnapshot (alternative sampling mode) ni.dll can be freely used and this will improve performance
최종헌/MDE Lab(SR)/삼성전자 [Wed, 14 Feb 2024 03:07:12 +0000 (12:07 +0900)]
Revert PR #509, #510 (#513)
* Revert "Sets the ZapDisable env according to the Alternative Sampling value of the coreprofiler"
This reverts commit
2fa05eebf1a9a61018efefea5c5cfe42a9fd5b7f.
* Revert "[Refactoring] Improve SAM score through DC and GV improvement"
This reverts commit
04a885649ac58636a6b7da2c20449adceb84e40b.
j-h.choi [Thu, 4 Jan 2024 01:29:48 +0000 (10:29 +0900)]
[TC Fixed] Remove the TC for dotnet-nui-loader
j-h.choi [Mon, 22 Jan 2024 04:34:47 +0000 (13:34 +0900)]
[Refactoring] Improve SAM score through DC and GV improvement
j-h.choi [Wed, 24 Jan 2024 06:25:09 +0000 (15:25 +0900)]
Sets the ZapDisable env according to the Alternative Sampling value of the coreprofiler
Change-Id: Iba9dfd40023c15b0d59a9cc8032c0e9390d7278d
j-h.choi [Tue, 2 Jan 2024 07:52:01 +0000 (16:52 +0900)]
Add --set-priority option in dotnettool
Change-Id: I9d7c0291e24e6be28e6974be360e5c271f9c3c1e
최종헌/MDE Lab(SR)/삼성전자 [Sun, 28 Jan 2024 23:54:56 +0000 (08:54 +0900)]
TAC is applied to all dlls in the R2R mode (#502)
최종헌/MDE Lab(SR)/삼성전자 [Thu, 25 Jan 2024 04:51:14 +0000 (13:51 +0900)]
Fix build error in aarch64 (#511)
Change-Id: I9577aa8ea2813a0ac92c4acd6cb9a1241e450fcf
최종헌/MDE Lab(SR)/삼성전자 [Wed, 3 Jan 2024 08:43:52 +0000 (17:43 +0900)]
Code review feedback
j-h.choi [Tue, 2 Jan 2024 06:44:39 +0000 (15:44 +0900)]
Change to create a .native_image_tmp folder when creating NI
Woongsuk Cho [Fri, 22 Dec 2023 00:02:00 +0000 (09:02 +0900)]
Add define HOST_XXX to support pal.h
Processor-specifc glue code is removed from latest pal.h.
To avoid build failure, add HOST_XXX define for each architecture.
j-h.choi [Tue, 19 Dec 2023 01:28:49 +0000 (10:28 +0900)]
[RISCV64] Add definition for riscv64
Change-Id: Ibc4d4be09967bb1941e0b569b2044371d178f21c
Woongsuk Cho [Tue, 28 Nov 2023 11:42:47 +0000 (20:42 +0900)]
Check library extension more
To handle ".so.{number}" case, add more checking logic
Woongsuk Cho [Tue, 28 Nov 2023 08:28:33 +0000 (17:28 +0900)]
Bug-fix : native library resolving logic
최종헌/MDE Lab(SR)/삼성전자 [Mon, 13 Nov 2023 03:55:40 +0000 (12:55 +0900)]
Add error log when using --rm-all-app-profile option (#493)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 13 Nov 2023 03:55:33 +0000 (12:55 +0900)]
Refactoring the fallback graph of RID/TFM (#488)
Woongsuk Cho [Thu, 9 Nov 2023 06:06:16 +0000 (15:06 +0900)]
Get user app root dir for remove profile data
To remove duplicated API call(changing user), get userAppRoot dir instead of uid.
Woongsuk Cho [Thu, 9 Nov 2023 01:58:58 +0000 (10:58 +0900)]
Set default value (NULL) for removeAllProfile
Woongsuk Cho [Thu, 9 Nov 2023 01:05:34 +0000 (10:05 +0900)]
Gets the user's uid related to installed app only.
if there are many installed apps, it takes a lot of time to delete profile data.
This is because it attempts to delete profile data for all uids.
To optimize this, only uids related to the installed app are obtained.
j-h.choi [Tue, 7 Nov 2023 06:22:48 +0000 (15:22 +0900)]
Revert "Add launchpad_loader_block/unblock_thread() method"
This reverts commit
c8b525e03ec5caf89e78ffa4a888aa57f2179540.
j-h.choi [Mon, 30 Oct 2023 22:11:43 +0000 (07:11 +0900)]
Create vconf related to .NET as a file in RO location
j-h.choi [Thu, 26 Oct 2023 00:01:26 +0000 (09:01 +0900)]
Add launchpad_loader_block/unblock_thread() method
조웅석/MDE Lab(SR)/삼성전자 [Wed, 11 Oct 2023 01:18:39 +0000 (10:18 +0900)]
Add DIAGNOSTIC to debugger script (#484)
To set DOTNET_DiagnosticPorts environment for app launching,
Add DIAGNOSTIC option to debugger script
Only environment key value is described in debugger script.
The environment value should be set when launching application like below.
owner:~> launch_app [APP_ID] __AUL_SDK__ DIAGNOSTIC DOTNET_DiagnosticPorts [PortName]
조웅석/MDE Lab(SR)/삼성전자 [Thu, 24 Aug 2023 06:58:23 +0000 (15:58 +0900)]
Call plugin has log control before preloading (#483)
* Call pluginHasLogControl in the initialize
VD create log thread in the pluginHasLogControl to redirect stdout,stderr to vlog.
To prevent log missing in the candidate process, call pluginHasLogControl in the initialize() function.
* call pluginHasLogControl before preloading
Woongsuk Cho [Thu, 24 Aug 2023 06:36:16 +0000 (15:36 +0900)]
Call pluginHasLogControl in the initialize
VD create log thread in the pluginHasLogControl to redirect stdout,stderr to vlog.
To prevent log missing in the candidate process, call pluginHasLogControl in the initialize() function.
j-h.choi [Thu, 24 Aug 2023 00:52:30 +0000 (09:52 +0900)]
Check library extensions more accurately
최종헌/MDE Lab(SR)/삼성전자 [Mon, 31 Jul 2023 04:17:47 +0000 (13:17 +0900)]
Update tfm to net6.0 (#479)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 31 Jul 2023 04:15:17 +0000 (13:15 +0900)]
Change the location and value for generating vconf of runtime_version (#478)
조웅석/MDE Lab(SR)/삼성전자 [Mon, 24 Jul 2023 23:46:24 +0000 (08:46 +0900)]
Remove storage API dependency (#477)
Use tzplatform_config API to get special folder instead of storage API.
storage API makes thread and gdbus connection internally and it can make some error at the loader mode.
In this patch, we get special folders (music, image, video) from tzplatform data.
Additionally, to allow override speicial folder location with coreclr_env.list,
change the initEnvForSpecialFolder() call location.
최종헌/MDE Lab(SR)/삼성전자 [Mon, 24 Jul 2023 05:31:21 +0000 (14:31 +0900)]
Change the priority of the function to check (#476)
조웅석/MDE Lab(SR)/삼성전자 [Mon, 24 Jul 2023 04:34:59 +0000 (13:34 +0900)]
Use setEnvrionmentVariable() to set SpecialFolder (#475)
Storage API which is used to get SpecialFolder(Music, Picture, Video) makes threads internally,
and it makes crash when we call setenv() function in the launcher because setenv() is not thread-safe function.
So, use setEnvironmentVariable() function which set envrionment variable in the .NET runtime.
이형주/MDE Lab(SR)/삼성전자 [Mon, 24 Jul 2023 04:31:33 +0000 (13:31 +0900)]
Fix deprecated SHA* to EVP_MD* (#473)
* Fix deprecated SHA* to EVP_MD*
최종헌/MDE Lab(SR)/삼성전자 [Mon, 24 Jul 2023 04:28:12 +0000 (13:28 +0900)]
Copy only when there is .native_image folder (#474)
이형주/MDE Lab(SR)/삼성전자 [Thu, 20 Jul 2023 06:25:20 +0000 (15:25 +0900)]
Openssl 1.1 -> 3 (#472)
* Openssl 1.1 -> 3
* Fix libname
이형주/MDE Lab(SR)/삼성전자 [Wed, 19 Jul 2023 09:04:40 +0000 (18:04 +0900)]
Fix compile error for gcc13 (#471)
* Fix compile error for gcc13
* Filetype to unix
최종헌/MDE Lab(SR)/삼성전자 [Tue, 18 Jul 2023 00:37:26 +0000 (09:37 +0900)]
Remove the preload code related to TIZEN_UIFW. Only NUI is supported (#469)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 10 Jul 2023 04:44:46 +0000 (13:44 +0900)]
Added the sdk_tool path to find diagnostics (#459)
Change-Id: Ic3bb7521e5fe8c2f8be39118ab06725e4f91a6e3
최종헌/MDE Lab(SR)/삼성전자 [Mon, 10 Jul 2023 04:44:31 +0000 (13:44 +0900)]
[Tizen S] Deleted unused scripts because wearable is not supported (#463)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 10 Jul 2023 04:44:16 +0000 (13:44 +0900)]
[Bug fix] Added reboot to avoid mount issue for RO app (#467)
최종헌/MDE Lab(SR)/삼성전자 [Mon, 10 Jul 2023 00:55:24 +0000 (09:55 +0900)]
Fix bugs for apps that do not have AOT metadata when running the --tac-regen-all option (#466)
The default heaptrack configuration file path added. (#465)
Hyungju Lee [Wed, 5 Jul 2023 23:55:35 +0000 (08:55 +0900)]
Remove deadcode
조웅석/MDE Lab(SR)/삼성전자 [Mon, 26 Jun 2023 04:16:49 +0000 (13:16 +0900)]
Support UI Thread Separate (UTS) App Model (#464)
define new apptype dotnet-uts for UI Thread Separate App Model
In the UI Thread Separate App Model, the main thread operates with the gmainloop
and UI-related tasks operate with the ecoreloop in a separate thread.
Therefore, ecore_init() should not be called in the main thread of the candidate process
for the UI Thread Separate App Model.
Also, candidate process should run with the gmainloop.
To run by the UI Thread Separate App Model, the environment variable "TIZEN_UI_THREAD" should be set to "true".
If this environment variable is set, then NUI would work on UI Thread Separate Mode.
j-h.choi [Thu, 27 Apr 2023 04:46:45 +0000 (13:46 +0900)]
[Tizen S] Integrate app types(dotnet, dotnet-nui)
조웅석/MDE Lab(SR)/삼성전자 [Mon, 10 Apr 2023 01:00:41 +0000 (10:00 +0900)]
Add "User" execute labe to dotnet-hydra-loader (#461)
j-h.choi [Thu, 19 Jan 2023 01:23:55 +0000 (10:23 +0900)]
Create the /tmp/.dotnet/mcj dir to reduce the number of I/O of profile data
Change-Id: I19ecbbdb2d6603d6cdea1d3214ae79c638bc06e6
j-h.choi [Thu, 26 Jan 2023 07:32:39 +0000 (16:32 +0900)]
Changed the json exception
Change-Id: I87c0c32673b94e62682d13b69b62a29f847f1bfe
이형주/MDE Lab(SR)/삼성전자 [Wed, 18 Jan 2023 23:51:16 +0000 (08:51 +0900)]
Remove preload thread (#456)
최종헌/MDE Lab(SR)/삼성전자 [Thu, 29 Dec 2022 01:59:31 +0000 (10:59 +0900)]
Changed the path of diagnostics tool (#455)
Change-Id: I68c3697ad22d727ff6b4cbdfdc875a1378321f6c
최종헌/Common Platform Lab(SR)/삼성전자 [Mon, 12 Dec 2022 08:09:46 +0000 (17:09 +0900)]
The Pre-Compiled app skips the TAC (#444)
Change-Id: I8aa987f98d4e5a5deb68cea543ea05faef73277f
이형주/Common Platform Lab(SR)/삼성전자 [Thu, 8 Dec 2022 08:36:54 +0000 (17:36 +0900)]
Quick&Dirty patch to reduce icu searching overhead (#453)
* Quick&Dirty patch to reduce icu searching overhead
* Fix version to `build` to use build time icu first.
j-h.choi [Tue, 15 Nov 2022 01:32:39 +0000 (10:32 +0900)]
Add TAC installer
Change-Id: I69d7e46bdc9483b637664ece11213a91c0a99d25
j-h.choi [Thu, 24 Nov 2022 01:20:42 +0000 (10:20 +0900)]
Add '--skip-ro-app' option in TC_TOOL
Change-Id: I41517444a497cbdc9ccb0d3412be20bc905d2969
j-h.choi [Tue, 8 Nov 2022 00:49:30 +0000 (09:49 +0900)]
Update launcher version to 6.0.9 in spec
Change-Id: I5adafd6c51aef5946632848ce0d5e756f67d6e45
이형주/Common Platform Lab(SR)/삼성전자 [Mon, 5 Dec 2022 03:40:54 +0000 (12:40 +0900)]
Refactoring preloading (#452)
* Separate thread-safe preload from others
* Add UIFW to dotnet/dotnet-nui launchers
이형주/Common Platform Lab(SR)/삼성전자 [Mon, 5 Dec 2022 00:09:07 +0000 (09:09 +0900)]
Introduce preloadThread for launcher (#451)
* Introduce preloadThread for launcher
Hyungju Lee [Fri, 2 Dec 2022 05:40:28 +0000 (14:40 +0900)]
Add ToUpper() ToLower() to preload logic
조웅석/Common Platform Lab(SR)/삼성전자 [Fri, 2 Dec 2022 05:22:14 +0000 (14:22 +0900)]
exit app if fail to open plugin library (#449)
최종헌/Common Platform Lab(SR)/삼성전자 [Mon, 28 Nov 2022 01:54:39 +0000 (10:54 +0900)]
Fixed bug checking internet privilege for each app (#447)
Change-Id: Id7491a7e5156a30583caa48db273ecdedf9f56af
Woongsuk Cho [Wed, 19 Oct 2022 01:42:25 +0000 (10:42 +0900)]
Remove temporal test code
j-h.choi [Mon, 17 Oct 2022 02:11:27 +0000 (11:11 +0900)]
Apply smack when '._TIZEN_DOTNET_SYSTEM_NET_DISABLEIPV6' file is created
Change-Id: I6b85a62d45c2261353a24420d95dd3c641efb25d
Woongsuk Cho [Fri, 7 Oct 2022 03:13:27 +0000 (12:13 +0900)]
Exclude exe extension from target assembly
Recently installed apps at RPI4 include exe files which are not assemblies.
It occurs error while App AOTC. So, exclude exe extension from target assembly.
j-h.choi [Thu, 13 Oct 2022 07:56:08 +0000 (16:56 +0900)]
Changed API to check internet privilege
Change-Id: I9952150b11e561e1d89b5d8ce4798fdcddb62e0d
Woongsuk Cho [Thu, 29 Sep 2022 02:18:26 +0000 (11:18 +0900)]
Remove language_change_cb on the loader
Appfw set CultureInfo from i18n when application launching
So, there is no need to restart candidate process when language changed.
Recreating candidate process can make launching failure becauseof timing issue.
(candidate process process killed -> app-launching request raised -> launchpad get sighchild)
To remove this kind timing issue, remove language changed callback
최종헌/Common Platform Lab(SR)/삼성전자 [Mon, 26 Sep 2022 07:28:49 +0000 (16:28 +0900)]
Fixed the segmentation fault in dotnettool (#437)
Change-Id: I9fff49ed5d130483f46ebeed4603ef076619f885
최종헌/Common Platform Lab(SR)/삼성전자 [Thu, 22 Sep 2022 06:26:47 +0000 (15:26 +0900)]
Check the existence of the original(.dll) file to use the --ni-reset-system option (#436)
Change-Id: I0b8d79b399729018408b02847ced5b5b1a8849b2
조웅석/Common Platform Lab(SR)/삼성전자 [Wed, 21 Sep 2022 02:25:06 +0000 (11:25 +0900)]
Add limitation for -rm-origin-after-ni (#435)
After upgrading platform, native image files for app should be regenerated.
In that case, original assembly is needed.
So, prohibits the use of "--rm-origin-after-ni" option in app related options.
(--ni-pkg, --ni-regen-all-app, --tac-regen-all)
Woongsuk Cho [Thu, 3 Feb 2022 05:09:41 +0000 (14:09 +0900)]
Add --rm-origin-after-ni option
Add option to remove original dll after creating native image for reducing storage consumption.
This option doesnot work with --ni-pkg option because app can be re-compiled.
이형주/Common Platform Lab(SR)/삼성전자 [Thu, 15 Sep 2022 04:54:47 +0000 (13:54 +0900)]
Fix dll filter in doAOTList (#433)
j-h.choi [Wed, 31 Aug 2022 23:16:53 +0000 (08:16 +0900)]
Modify log for profile data
Change-Id: I498b7ce75a9e262b658303c2aee7e54815da7eca
j-h.choi [Tue, 30 Aug 2022 23:28:58 +0000 (08:28 +0900)]
Add log for profile data when the app runs
Change-Id: Id3f6eb5559ea5c6da4efecc43315df8f1897a296
j-h.choi [Fri, 26 Aug 2022 02:07:07 +0000 (11:07 +0900)]
Fixed TAC_TC
Change-Id: Id626c06a649c7903559cf8bbf43a8248f8bd148f
j-h.choi [Tue, 30 Aug 2022 09:31:39 +0000 (18:31 +0900)]
Add log when profile data is successfully loaded in candidate process
Change-Id: Ibceb2b5f8fb7dd0aa8b31b79759f22b98dbbb4f8
j-h.choi [Fri, 26 Aug 2022 01:42:25 +0000 (10:42 +0900)]
Change the published value of metadata
Change-Id: Ie0a17da992a647afa642c7a6c0b58c708c8d1010
j-h.choi [Thu, 11 Aug 2022 05:52:04 +0000 (14:52 +0900)]
Fixed build warning
Change-Id: Iafff976b1ad4fa3556260f0709058a7fe573ffeb
j-h.choi [Mon, 25 Jul 2022 04:35:50 +0000 (13:35 +0900)]
[WIP] Profile data generation tools to use in candidate process
Change-Id: If92eaf2089233d65e137cd8c8b8c59f120541de1
j-h.choi [Tue, 14 Jun 2022 07:13:45 +0000 (16:13 +0900)]
Add the option to check Internet privilege in dotnettool for the FOTA
Change-Id: I74604e5145519db06f8a0b6f8bd57ba69707c190
Mikhail Kurinnoi [Fri, 29 Jul 2022 15:30:26 +0000 (18:30 +0300)]
Add NCDB startup hook support.
최종헌/Common Platform Lab(SR)/삼성전자 [Tue, 19 Jul 2022 23:53:03 +0000 (08:53 +0900)]
Upgrade the nuget(Newtonsoft.Json) version of TC (#422)
Change-Id: I9234a89f05489a771f3ea50242d750e71d652951
j-h.choi [Sun, 8 May 2022 23:41:35 +0000 (08:41 +0900)]
[WIP] Set the MCJ in the candidate process
Change-Id: I95438e3a8ee4a4bbe5e538dc5add317d543a26f0
조웅석/Common Platform Lab(SR)/삼성전자 [Wed, 6 Jul 2022 21:39:17 +0000 (06:39 +0900)]
link profile_common library to apptype_plugin (#421)
To avoid symbol lookup error, link libprofile_common.so to libapptype_plugin.so
j-h.choi [Tue, 14 Jun 2022 06:54:12 +0000 (15:54 +0900)]
Separate the code related to the profile data into a profile_common file
Change-Id: I6c62e7a26f502651333458473202b6d438f46261
Woongsuk Cho [Wed, 29 Jun 2022 05:36:17 +0000 (14:36 +0900)]
Change --ni-dir option operation
if the --inputbubble option and --ni-dir option used together, all input directories must be processed as one bubble.
For this requirements, change implementation of --ni-dir option.
조웅석/Common Platform Lab(SR)/삼성전자 [Tue, 28 Jun 2022 00:01:54 +0000 (09:01 +0900)]
Renew InputBubble Option (#416)
When the native image compiled with the --inputbubble option is executed, all assemblies included in the same bubble must be compiled too.
Previous --ni-dll or --no-pipeline option can lead misusage of --inputbubble option.
For example, if the below command are executed, system libraries are compiled one by one.
$ dotnettool --inputbubble --no-pipeline --ni-dir /usr/share/dotnet.tizen/netcoreapp
In this case, a problem may occur because crossgen2 is executed with compiled native images with --inputbubble and the non-compiled assemblies
In order to prevent errors caused by such misuse, the following modifications were made.
1. When using no-pipeline mode, it was temporarily created as ni.dll.tmp and then changed to ni.dll in the last step of dotnettool.
2. if --inputbubbleref option is not set, only input file(s) of dotnettool is added to bubble
Additionally, for fine tunning, --ref and --inputbubbleref option get file path(s) ot directory path(s)
조웅석/Common Platform Lab(SR)/삼성전자 [Wed, 22 Jun 2022 10:34:57 +0000 (19:34 +0900)]
Change update size for PBA (#419)
When using PBA, file size was used to calculate next base address of assembly.
However, there is a problem that the file size is smaller than the image size loaded in the actual memory.
when native image files are loaded in the memory area, some native image files cannot be loaded where desired because of area overlapping.
So, get size of image from OptionalHeader, and use that value for updating next base address.
Woongsuk Cho [Wed, 4 May 2022 01:41:04 +0000 (10:41 +0900)]
Avoid calling storage API
The storage API is used to get direcoty of SpecialFolder
In special case (like target booting up time), some delay can occur inside the API.
So, to avoid that kind of delay, set SpecialFolder with environment variable if that is set.
최종헌/Common Platform Lab(SR)/삼성전자 [Wed, 25 May 2022 21:36:03 +0000 (06:36 +0900)]
Change the optimization options for crossgen2 (#409)
Change-Id: Ic9588655352bc3e439e5432455e4a433d5c0ec19
조웅석/Common Platform Lab(SR)/삼성전자 [Fri, 29 Apr 2022 00:37:07 +0000 (09:37 +0900)]
Set base address at native image (#400)
--imagebase option is added to set base address at native imaage to avoid relocatoin.
Note! this feature is enabled --no-pipeline mode only
Woongsuk Cho [Tue, 26 Apr 2022 00:17:52 +0000 (09:17 +0900)]
Set collect delay when profile data does not exist
j-h.choi [Wed, 20 Apr 2022 01:29:32 +0000 (10:29 +0900)]
Add assembly to preload list in candidate process
Change-Id: I7274a7cea59e208c66c02ea8761faec78e6223e2
Woongsuk Cho [Tue, 19 Apr 2022 23:40:16 +0000 (08:40 +0900)]
Add additional environment for invariant mode
.NET 6 contains breaking change related to globalization invariant mode.
(https://docs.microsoft.com/en-us/dotnet/core/compatibility/globalization/6.0/culture-creation-invariant-mode)
For backward compatibility, add an additional environment variable to avoid breaking changes
- DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY=false
이형주/Common Platform Lab(SR)/삼성전자 [Tue, 19 Apr 2022 22:52:20 +0000 (07:52 +0900)]
Fix mibc option for crossgen2 (#401)
`--ibc-dir $(directory path)` to `--mibc $(file path)`
Co-authored-by: 조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Woongsuk Cho [Tue, 29 Mar 2022 22:34:50 +0000 (07:34 +0900)]
Add --skip-ro-app option
The "--ni-regen-all-app" option performs AOTC again for all installed apps.
If the "--ni-regen-all-app" option is performed after FOTA (OTN),
an error may occur or unnecessary AOTC may be performed by running AOTC for an app installed in the RO area.
To avoid this situation, the "--skip-ro-app" option is added.
If this option is set, native image regenration for apps installed in the RO area is skipped.
Note! this option works with "--ni-regen-all-app" option only.