Skip to content

Commit 802f56b

Browse files
committed
try fix env
1 parent 78d72b6 commit 802f56b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packaging/env_vars.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export CI_BUILD="1"
22
export RELEASE="1"
3-
export CXX11_ABI="1"
3+
export CXX11_ABI="1"
4+
export USE_CXX11_ABI="1"

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def load_dep_info():
7878

7979
dir_path = os.path.join(str(get_root_dir()), "py")
8080

81-
CXX11_ABI = IS_WINDOWS
81+
CXX11_ABI = True # IS_WINDOWS
8282
JETPACK_VERSION = None
8383
PY_ONLY = False
8484
NO_TS = False
@@ -136,9 +136,9 @@ def load_dep_info():
136136
if ci_env_var == "1":
137137
CI_BUILD = True
138138

139-
if "--use-cxx11-abi" in sys.argv:
140-
sys.argv.remove("--use-cxx11-abi")
141-
CXX11_ABI = True
139+
# if "--use-cxx11-abi" in sys.argv:
140+
# sys.argv.remove("--use-cxx11-abi")
141+
CXX11_ABI = True
142142

143143
if (cxx11_abi_env_var := os.environ.get("USE_CXX11_ABI")) is not None:
144144
if cxx11_abi_env_var == "1":

0 commit comments

Comments
 (0)