8000 Attempt to fix FBGEMM CPU build by huydhn · Pull Request #3499 · pytorch/FBGEMM · GitHub
[go: up one dir, main page]

Skip to content

Attempt to fix FBGEMM CPU build #3499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Attempt to fix FBGEMM CPU build
  • Loading branch information
huydhn committed Dec 11, 2024
commit 8e3c8865df7d5795b3f1e8b476ae55c5e43cdf9e
8 changes: 8 additions & 0 deletions .github/scripts/utils_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ __compiler_post_install_checks () {
print_exec "conda run ${env_prefix} c++ -dM -E -x c++ - < /dev/null | grep __cplusplus"
}

__remove_system_compiler() {
# Use the one from install_cxx_compiler instead
yum -y remove devtoolset-*-gcc
}

install_cxx_compiler () {
env_name="$1"
local compiler="$2"
Expand All @@ -242,6 +247,9 @@ install_cxx_compiler () {

test_network_connection || return 1

# Remove system compiler and use the one from conda instead
__remove_system_compiler

# Extract the archname
__extract_archname

Expand Down
Loading
0