mirror of
https://github.com/Z3Prover/z3
synced 2025-08-27 05:26:01 +00:00
try other dir
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1987b3dde1
commit
438b41acbf
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ else:
|
||||||
BUILD_ARCH = RELEASE_METADATA[1]
|
BUILD_ARCH = RELEASE_METADATA[1]
|
||||||
if len(RELEASE_METADATA) == 4:
|
if len(RELEASE_METADATA) == 4:
|
||||||
BUILD_OS_VERSION = RELEASE_METADATA[3].split(".")
|
BUILD_OS_VERSION = RELEASE_METADATA[3].split(".")
|
||||||
else:
|
else:v
|
||||||
BUILD_OS_VERSION = None
|
BUILD_OS_VERSION = None
|
||||||
|
|
||||||
# determine where destinations are
|
# determine where destinations are
|
||||||
|
@ -115,7 +115,7 @@ def _z3_version():
|
||||||
post = os.getenv('Z3_VERSION_SUFFIX', '')
|
post = os.getenv('Z3_VERSION_SUFFIX', '')
|
||||||
print("z3_version", "release dir", RELEASE_DIR)
|
print("z3_version", "release dir", RELEASE_DIR)
|
||||||
if RELEASE_DIR is None:
|
if RELEASE_DIR is None:
|
||||||
dirs = [SRC_DIR, ROOT_DIR, SRC_DIR_REPO]
|
dirs = [SRC_DIR, ROOT_DIR, SRC_DIR_REPO, SRC_DIR_LOCAL, os.path.join(ROOT_DIR, '..', '..')]
|
||||||
fns = [os.path.join(d, 'VERSION.txt') for d in dirs]
|
fns = [os.path.join(d, 'VERSION.txt') for d in dirs]
|
||||||
for fn in fns:
|
for fn in fns:
|
||||||
print("loading version file", fn)
|
print("loading version file", fn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue