Skip to content

Commit 684570a

Browse files
dragossamarion
authored andcommitted
Exclude ar archives from computing the checksum.
It looks like ar files change between builds, at least on Mac OS. This fixes the checksum logic to not recompile Z3 every time.
1 parent cae88de commit 684570a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ object ScalaZ3Build extends Build {
116116
val hashFile = z3Path / ".build-hash"
117117
def computeHash(): String = {
118118
hashFiles(listAllFiles(z3Path.asFile).filter { f =>
119-
!f.getName.endsWith(".pyc") && !f.isHidden && !f.getName.startsWith(".")
119+
!f.getName.endsWith(".pyc") && !f.isHidden && !f.getName.startsWith(".") && !f.getName.endsWith(".a")
120120
})
121121
}
122122

0 commit comments

Comments
 (0)