From 64e6812784d3b7bd74a8e797a9e5db7b94e2bb7b Mon Sep 17 00:00:00 2001 From: Gianni Trevisiol Date: Tue, 31 Jan 2023 10:03:20 -0800 Subject: [PATCH] Add JIT option for MSI Release bits and CI/CD. (#1986) --- .github/workflows/cicd.yml | 1 + installer/Product.wxs | 11 +++++++++-- installer/ebpf-for-windows.wixproj | 8 +++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 7ac550ee7..00262a3dc 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -42,6 +42,7 @@ jobs: build_artifact: Build-x64 generate_release_package: true build_nuget: true + build_options: /p:ReleaseJIT='True' cmake: # Always run this job. diff --git a/installer/Product.wxs b/installer/Product.wxs index 92113b5bb..17ac49cb2 100644 --- a/installer/Product.wxs +++ b/installer/Product.wxs @@ -34,11 +34,18 @@ SPDX-License-Identifier: MIT + + + + + + + @@ -119,7 +126,7 @@ SPDX-License-Identifier: MIT - + @@ -209,7 +216,7 @@ SPDX-License-Identifier: MIT - + diff --git a/installer/ebpf-for-windows.wixproj b/installer/ebpf-for-windows.wixproj index 95a054ae5..7c55c103c 100644 --- a/installer/ebpf-for-windows.wixproj +++ b/installer/ebpf-for-windows.wixproj @@ -17,13 +17,15 @@ SPDX-License-Identifier: MIT $(SolutionDir)$(Platform)\$(Configuration)\ obj\$(Configuration)\ - Debug + Debug;IncludeJIT=True + True $(SolutionDir)$(Platform)\$(Configuration)\ obj\$(Configuration)\ - - + IncludeJIT=True + IncludeJIT=False + True