Skip to content

How to set custom GCC path when compiling the source code #852

@yuezhuang1387

Description

@yuezhuang1387

❓ Question

How to set the GCC path when compiling the source code

What you have already tried

I try to build Torch-TensorRT using locally installed cuDNN & TensorRT, But the following error occurred
image
I found that this maybe a problem with the GCC version and needs to be upgraded, but the default /usr/bin/gcc requires root permission to change, I can't do anything about this path. So, I want to install a higher version of GCC in another path and specify the path of GCC when compiling Torch-TensorRT, but I don't know where to set the path of GCC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions