Skip to content

Commit

Permalink
cleanup: GIO modules no longer used
Browse files Browse the repository at this point in the history
Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Jan 27, 2025
1 parent aa56671 commit 03522a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 42 deletions.
28 changes: 0 additions & 28 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions docker.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ filegroup(
visibility = ["//visibility:public"],
)

filegroup(
name = "gio_modules",
srcs = glob(["usr/lib/x86_64-linux-gnu/gio/modules/*.so"]),
visibility = ["//visibility:public"],
)

filegroup(
name = "ld.so",
srcs = ["lib64/ld-linux-x86-64.so.2"],
Expand Down
9 changes: 1 addition & 8 deletions openroad.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def flow_inputs(ctx):
ctx.files._ruby_dynamic +
ctx.files._tcl +
ctx.files._opengl +
ctx.files._qt_plugins +
ctx.files._gio_modules,
ctx.files._qt_plugins,
transitive = [
ctx.attr._openroad[DefaultInfo].default_runfiles.files,
ctx.attr._openroad[DefaultInfo].default_runfiles.symlinks,
Expand Down Expand Up @@ -290,7 +289,6 @@ def flow_substitutions(ctx):
return {
"${DLN_LIBRARY_PATH}": commonpath(ctx.files._ruby_dynamic),
"${FLOW_HOME}": ctx.file._makefile.dirname,
"${GIO_MODULE_DIR}": commonpath(ctx.files._gio_modules),
"${KLAYOUT_PATH}": ctx.executable._klayout.path,
"${LIBGL_DRIVERS_PATH}": commonpath(ctx.files._opengl),
"${MAKEFILE_PATH}": ctx.file._makefile.path,
Expand Down Expand Up @@ -422,11 +420,6 @@ def flow_attrs():
allow_files = True,
default = Label("@docker_orfs//:qt_plugins"),
),
"_gio_modules": attr.label(
doc = "GIO modules.",
allow_files = True,
default = Label("@docker_orfs//:gio_modules"),
),
} | orfs_attrs()

def yosys_only_attrs():
Expand Down

0 comments on commit 03522a2

Please sign in to comment.