[all-commits] [llvm/llvm-project] 60e07a: [AMDGPU][OpenMP] Use llvm-link to link ocml libraries

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Fri Aug 13 01:07:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60e07a9568625a196f1ed8ed9e502c8c4d56da7f
      https://github.com/llvm/llvm-project/commit/60e07a9568625a196f1ed8ed9e502c8c4d56da7f
  Author: Pushpinder Singh <pushpinderdhaliwal00 at gmail.com>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
    M clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
    M clang/test/Driver/amdgpu-openmp-toolchain.c

  Log Message:
  -----------
  [AMDGPU][OpenMP] Use llvm-link to link ocml libraries

This fixes the 'unused linker option: -lm' warning when compiling
program with -c.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D107952




More information about the All-commits mailing list