adolc.BUILD 521 字节
Newer Older
1 2
package(default_visibility = ["//visibility:public"])

S
siyangy 已提交
3
licenses(
4
    # Note: For ADOL-C, EPL v1.0 license is chosen to be included.
S
siyangy 已提交
5
    #       For ColPack, which is included by ADOL-C, is under LGPL v3.0.
6 7 8
    #       No derivative work or modification is made to the above two library.
    #       Only its generated binary is used.
    ["reciprocal"])
9 10 11 12

cc_library(
    name = "adolc",
    includes = ["."],
S
siyangy 已提交
13
    copts = [ "-fPIC" ],
14 15
    linkopts = [
        "-L/usr/local/adolc/lib64 -ladolc",
S
siyangy 已提交
16
        "-lgomp"
17
    ],
S
siyangy 已提交
18
)