[PATCH] D76837: [NFC] Fix Z3 version detection regexp in llvm/cmake/modules/FindZ3.cmake

Balázs Benics via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 04:18:42 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG45ab67721e90: [NFC] Fix Z3 version detection regexp (authored by steakhal).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76837/new/

https://reviews.llvm.org/D76837

Files:
  llvm/cmake/modules/FindZ3.cmake


Index: llvm/cmake/modules/FindZ3.cmake
===================================================================
--- llvm/cmake/modules/FindZ3.cmake
+++ llvm/cmake/modules/FindZ3.cmake
@@ -27,7 +27,7 @@
   )
 
   if(Z3_COMPILED)
-    string(REGEX REPLACE "([0-9]*\\.[0-9]*\\.[0-9]*\\.[0-9]*)" "\\1"
+    string(REGEX REPLACE "([0-9]*\\.[0-9]*\\.[0-9]*)" "\\1"
            z3_version "${SRC_OUTPUT}")
     set(Z3_VERSION_STRING ${z3_version} PARENT_SCOPE)
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76837.256241.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/88d5d824/attachment.bin>


More information about the llvm-commits mailing list