commit | d96a35a211a718c031e679774c769c6056283b7a | [log] [tgz] |
---|---|---|
author | Dan McArdle <dmcardle@google.com> | Fri Jun 24 11:41:07 2022 -0400 |
committer | cfrantz <frantzcj+github@gmail.com> | Fri Jun 24 14:32:56 2022 -0700 |
tree | 6a8b8bd370711f3593333c6daa8bf873bcd3cd4a | |
parent | 5e069f1c627f0e956f471f130c620760994f71d4 [diff] |
[util] Use correct working dir in generate_compilation_db.py Specifically, this PR updates the script to emit bazel-opentitan/ as the working directory for each compile command. I used `bazel build -s` to print out subcommands when generating a test target, and noticed that it was changing directory before each of the calls to gcc, whereas the generated compile_commands.json just points to the repo's root directory. Helpfully, Bazel already makes a symlink to the correct working directory: bazel-opentitan/. Signed-off-by: Dan McArdle <dmcardle@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at [CONTRIBUTING]({{< relref “CONTRIBUTING.md” >}}) and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).