Please keep the mailing list in CC.
Otherwise, I may not notice your message.
> rm pet/
libpet.la && make -C pet
libpet.la V=1 [19:51:47]
> make: Entering directory '/home/ranganhar/ppcg_test_folder/ppcg/pet'
> /bin/bash ./libtool --tag=CXX --mode=link g++ -I. -I./include -I/usr/lib/llvm-14/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/ranganhar/ppcg_test_folder/ppcg/isl/include -I/home/ranganhar/ppcg_test_folder/ppcg/isl/include -g -O2 -version-info 10:8:0 -L/usr/lib/llvm-14/lib -R/usr/lib/llvm-14/lib -o
libpet.la -rpath /home/ranganhar/ppcg_test_folder/ppcg/lib aff.lo array.lo clang.lo context.lo expr.lo expr_arg.lo expr_plus.lo filter.lo id.lo inlined_calls.lo inliner.lo isl_id_to_pet_expr.lo killed_locals.lo loc.lo nest.lo options.lo patch.lo pet_expr_to_isl_pw_aff.lo print.lo tree.lo tree2scop.lo scan.lo scop.lo scop_plus.lo skip.lo substituter.lo summary.lo value_bounds.lo version.lo pet.lo ../isl/
libisl.la -lclangFrontend -lclangSerialization -lclangParse -lclangSema -lclangAPINotes -lclangEdit -lclangAnalysis -lclangAST -lclangLex -lclangASTMatchers -lclangDriver -lclangBasic -lLLVM-14.0.0 -L/usr/lib/llvm-14/lib
So you're linking against the system LLVM,
but this is not surprising...
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by pet configure 0.11.8, which was
> generated by GNU Autoconf 2.71. Invocation command line was
>
> $ ./configure --disable-option-checking --prefix=/home/ranganhar/ppcg_test_folder/ppcg --with-clang-perfix=/home/ranganhar/llvm-project/build --with-clang=/home/ranganhar/llvm-project --with-isl-builddir=../isl --with-isl=build --with-clang=system --cache-file=/dev/null --srcdir=.
...since you didn't specify the --with-clang-prefix option
(instead specifying the non-existent --with-clang-perfix option).
skimo