Errors compiling TensorFlow from source

I’m trying to build TensorFlow from source, following the steps from here, and I"ve come to the following step:

bazel build [--config=option] //tensorflow/tools/pip_package:build_pip_package

but the build fails with the following errors:

ERROR: /home/alex/Applications/tensorflow/tensorflow/core/common_runtime/BUILD:1495:11: Compiling tensorflow/core/common_runtime/process_util.cc failed: (Exit 1): clang failed: error executing command (from target //tensorflow/core/common_runtime:process_util) /usr/lib/llvm-16/bin/clang -MD -MF bazel-out/k8-opt/bin/tensorflow/core/common_runtime/_objs/process_util/process_util.pic.d ... (remaining 192 arguments skipped)

In TF_roor/tensorflow/core/common_runtime/BUILD, in line 1495, there’s the following:

cc_library(
1496     name = "process_util",
1497     srcs = ["process_util.cc"],
1498     hdrs = ["process_util.h"],
1499     copts = tf_copts() + tf_openmp_copts(),
1500     linkopts = tf_openmp_lopts(),
1501     deps = [
1502         ":session_options",
1503         "//tensorflow/core:framework",
1504         "//tensorflow/core:lib",
1505         "//tensorflow/core:lib_internal",
1506     ],
1507 )

I also got the following error:

In file included from tensorflow/core/common_runtime/process_util.cc:16:
In file included from ./tensorflow/core/common_runtime/process_util.h:22:
In file included from ./tensorflow/core/lib/core/threadpool.h:19:
In file included from ./tensorflow/core/platform/threadpool.h:23:
In file included from ./tensorflow/core/platform/env.h:26:
In file included from ./tensorflow/core/platform/env_time.h:20:
In file included from ./tensorflow/core/platform/types.h:19:
In file included from ./tensorflow/core/platform/bfloat16.h:21:
In file included from ./tensorflow/tsl/platform/bfloat16.h:20:
In file included from ./third_party/eigen3/Eigen/Core:1:
external/eigen_archive/Eigen/Core:71:10: fatal error: 'omp.h' file not found

Checking the contents of the file in tensorflow_root/third_party/eigen3/Eigen/Core, all I see is this:

#include "Eigen/Core"

Which file is this #include trying to include?

Can anyone give me any hints?

Thanks