diff --git a/.gitignore b/.gitignore
index f592f4af3a3f3247409290df5f66a23b31826201..f3a8c7903b4dab089be74151a36c29481c1ec843 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
-hpvm/build/
-hpvm/install/
+hpvm/build*/
 hpvm/llvm/
 hpvm/llvm-*.src.tar.xz
 hpvm/llvm-*.src/