[all-commits] [llvm/llvm-project] ee31ad: Populate CUDA flags on FreeBSD too, as many other ...

Dimitry Andric via All-commits all-commits at lists.llvm.org
Mon Nov 18 12:55:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ee31adb7fa42f5b601d9612f23755b4604f83cac
      https://github.com/llvm/llvm-project/commit/ee31adb7fa42f5b601d9612f23755b4604f83cac
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.h
    A clang/test/Driver/cuda-options-freebsd.cu

  Log Message:
  -----------
  Populate CUDA flags on FreeBSD too, as many other toolchains do.

Summary:
This allows `clang` to be used to compile CUDA programs. Compiled
simple helloworld.cu with this.

Reviewers: dim, emaste, tra, yaxunl, ABataev

Reviewed By: tra

Subscribers: dim, emaste, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list