Skip to content

Commit 8ca3162

Browse files
committed
ifdef guard module names
Signed-off-by: Ethan Mahintorabi <[email protected]>
1 parent 901a1fa commit 8ca3162

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/odb/src/swig/common/odb.i

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2019-2025, The OpenROAD Authors
33

4+
#ifdef BAZEL
45
%module(package="src.odb") odb
6+
#endif
57

68
%{
79
#define SWIG_FILE_WITH_INIT

src/utl/src/Logger-py.i

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2020-2025, The OpenROAD Authors
33

4+
#ifdef BAZEL
45
%module(package="src.utl") utl
6+
#else
7+
%module utl
8+
#endif
59

610
#ifdef BAZEL
711
%{

0 commit comments

Comments
 (0)