File size: 942 Bytes
660c0b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Is it possible to generate a static binary of OpenROAD?

Subcategory: Static binary generation

## Conversation

### TiagoAFontana
Hi all, I am trying to execute the OpenROAD in a cluster machine. However, in this machine, I am not able to install the dependencies to compile the OpenROAD or even use the docker image to run the OpenROAD.

I was wondering if it is possible to set a cmake flag to generate a static binary (without any dependencies) for the OpenROAD project. With this, I will be able to run this binary on every machine that I need.

Does someone know how to do this? 

### vijayank88
@vvbandeira  Any suggestion?

### QuantamHD
Bazel rules hdl supports fully static builds of openroad.

Just download bazel, git clone https://github.com/hdl/bazel_rules_hdl

And run bazel build @org_theopenroadproject//:openroad in the git repo. 



It also statically builds the entire dependency chain of openroad from source.