diff --git a/hpvm/test/CMakeLists.txt b/hpvm/test/CMakeLists.txt
index 07024b6febc0c27dcc40f166262ab441e7f5675d..3c4f26472317f511edaab98c5e4a4f8ed7ba2dfb 100644
--- a/hpvm/test/CMakeLists.txt
+++ b/hpvm/test/CMakeLists.txt
@@ -1,8 +1,7 @@
 include(../cmake/TestFile.cmake)  # Generation of `.test` files in CMake
 
-# approxhpvm.py, clang and clang++ are used to compile benchmarks
+# clang and clang++ are used to compile benchmarks
 # in `benchmarks` and `dnn_benchmarks/hpvm-c`.
-set(APPROXHPVM_PY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/approxhpvm.py)
 set(CLANG_C ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/clang)
 set(CLANG_CXX ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/clang++)
 
diff --git a/hpvm/test/benchmarks/CMakeLists.txt b/hpvm/test/benchmarks/CMakeLists.txt
index 2c226aefd58f20c296db232f1a03c35bed0b7195..4d4f0691fc0e70cd9b532947688da264b2ca4e7b 100644
--- a/hpvm/test/benchmarks/CMakeLists.txt
+++ b/hpvm/test/benchmarks/CMakeLists.txt
@@ -27,9 +27,9 @@ function(add_hpvm_benchmark
   endif()
   add_custom_command(
     OUTPUT ${output_bin_path}
-    COMMAND ${APPROXHPVM_PY} ${all_flags} -x${language_mode}
+    COMMAND hpvm-clang ${all_flags} -x${language_mode}
       ${bitcodes_arg} -- ${main_src_path} ${output_bin_path}
-    DEPENDS ${main_src_path} ${util_bitcodes} approxhpvm.py
+    DEPENDS ${main_src_path} ${util_bitcodes} hpvm-clang
   )
   add_custom_target(${target_name} DEPENDS ${output_bin_path})
 endfunction(add_hpvm_benchmark)