Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
tensorflow
提交
a7d26471
T
tensorflow
项目概览
xxadev
/
tensorflow
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tensorflow
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a7d26471
编写于
10月 15, 2018
作者:
G
Gunhan Gulsoy
提交者:
TensorFlower Gardener
10月 15, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
New toolchains for remote build execution on windows.
PiperOrigin-RevId: 217147663
上级
c0ebb859
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
1607 addition
and
0 deletion
+1607
-0
third_party/toolchains/preconfig/win_1803/BUILD
third_party/toolchains/preconfig/win_1803/BUILD
+26
-0
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/BUILD
...d_party/toolchains/preconfig/win_1803/bazel_6f8e36b/BUILD
+155
-0
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/CROSSTOOL
...rty/toolchains/preconfig/win_1803/bazel_6f8e36b/CROSSTOOL
+1212
-0
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/dummy_toolchain.bzl
...ains/preconfig/win_1803/bazel_6f8e36b/dummy_toolchain.bzl
+23
-0
third_party/toolchains/preconfig/win_1803/py36/BUILD
third_party/toolchains/preconfig/win_1803/py36/BUILD
+191
-0
未找到文件。
third_party/toolchains/preconfig/win_1803/BUILD
0 → 100644
浏览文件 @
a7d26471
licenses
([
"restricted"
])
package
(
default_visibility
=
[
"//visibility:public"
])
java_runtime
(
name
=
"windows_jdk8"
,
srcs
=
[],
java_home
=
"C:/openjdk"
,
)
platform
(
name
=
"rbe_windows_1803"
,
constraint_values
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
],
remote_execution_properties
=
"""
properties:{
name:"container-image"
value:"docker://gcr.io/tensorflow-testing/tf-rbe-win@sha256:b2eeb661e0134ef96a4736677e8f96a90970bc206dea93739cd711031b62a0e5"
}
properties:{
name: "OSFamily" value: "Windows"
}
"""
,
)
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/BUILD
0 → 100644
浏览文件 @
a7d26471
# Copyright 2018 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This becomes the BUILD file for @local_config_cc// under Windows.
licenses
([
"restricted"
])
package
(
default_visibility
=
[
"//visibility:public"
])
cc_library
(
name
=
"malloc"
,
)
cc_library
(
name
=
"stl"
,
)
filegroup
(
name
=
"empty"
,
srcs
=
[],
)
# Hardcoded toolchain, legacy behaviour.
cc_toolchain_suite
(
name
=
"toolchain"
,
toolchains
=
{
"armeabi-v7a|compiler"
:
":cc-compiler-armeabi-v7a"
,
"x64_windows|msvc-cl"
:
":cc-compiler-x64_windows"
,
"x64_windows|msys-gcc"
:
":cc-compiler-x64_windows_msys"
,
"x64_windows|mingw-gcc"
:
":cc-compiler-x64_windows_mingw"
,
},
)
cc_toolchain
(
name
=
"cc-compiler-x64_windows_msys"
,
all_files
=
":empty"
,
compiler_files
=
":empty"
,
cpu
=
"local"
,
dwp_files
=
":empty"
,
dynamic_runtime_libs
=
[
":empty"
],
linker_files
=
":empty"
,
objcopy_files
=
":empty"
,
static_runtime_libs
=
[
":empty"
],
strip_files
=
":empty"
,
supports_param_files
=
1
,
)
toolchain
(
name
=
"cc-toolchain-x64_windows_msys"
,
exec_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
"@bazel_tools//tools/cpp:msys"
,
],
target_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
],
toolchain
=
":cc-compiler-x64_windows_msys"
,
toolchain_type
=
"@bazel_tools//tools/cpp:toolchain_type"
,
)
cc_toolchain
(
name
=
"cc-compiler-x64_windows_mingw"
,
all_files
=
":empty"
,
compiler_files
=
":empty"
,
cpu
=
"x64_windows"
,
dwp_files
=
":empty"
,
dynamic_runtime_libs
=
[
":empty"
],
linker_files
=
":empty"
,
objcopy_files
=
":empty"
,
static_runtime_libs
=
[
":empty"
],
strip_files
=
":empty"
,
supports_param_files
=
0
,
)
toolchain
(
name
=
"cc-toolchain-x64_windows_mingw"
,
exec_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
"@bazel_tools//tools/cpp:mingw"
,
],
target_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
],
toolchain
=
":cc-compiler-x64_windows_mingw"
,
toolchain_type
=
"@bazel_tools//tools/cpp:toolchain_type"
,
)
cc_toolchain
(
name
=
"cc-compiler-x64_windows"
,
all_files
=
":empty"
,
compiler_files
=
":empty"
,
cpu
=
"x64_windows"
,
dwp_files
=
":empty"
,
dynamic_runtime_libs
=
[
":empty"
],
linker_files
=
":empty"
,
objcopy_files
=
":empty"
,
static_runtime_libs
=
[
":empty"
],
strip_files
=
":empty"
,
supports_param_files
=
1
,
)
toolchain
(
name
=
"cc-toolchain-x64_windows"
,
exec_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
],
target_compatible_with
=
[
"@bazel_tools//platforms:x86_64"
,
"@bazel_tools//platforms:windows"
,
],
toolchain
=
":cc-compiler-x64_windows"
,
toolchain_type
=
"@bazel_tools//tools/cpp:toolchain_type"
,
)
cc_toolchain
(
name
=
"cc-compiler-armeabi-v7a"
,
all_files
=
":empty"
,
compiler_files
=
":empty"
,
cpu
=
"local"
,
dwp_files
=
":empty"
,
dynamic_runtime_libs
=
[
":empty"
],
linker_files
=
":empty"
,
objcopy_files
=
":empty"
,
static_runtime_libs
=
[
":empty"
],
strip_files
=
":empty"
,
supports_param_files
=
1
,
)
toolchain
(
name
=
"cc-toolchain-armeabi-v7a"
,
exec_compatible_with
=
[
],
target_compatible_with
=
[
"@bazel_tools//platforms:arm"
,
"@bazel_tools//platforms:android"
,
],
toolchain
=
":cc-compiler-armeabi-v7a"
,
toolchain_type
=
"@bazel_tools//tools/cpp:toolchain_type"
,
)
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/CROSSTOOL
0 → 100644
浏览文件 @
a7d26471
此差异已折叠。
点击以展开。
third_party/toolchains/preconfig/win_1803/bazel_6f8e36b/dummy_toolchain.bzl
0 → 100644
浏览文件 @
a7d26471
# pylint: disable=g-bad-file-header
# Copyright 2017 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Skylark rule that stubs a toolchain."""
def
_dummy_toolchain_impl
(
ctx
):
ctx
=
ctx
# unused argument
toolchain
=
platform_common
.
ToolchainInfo
()
return
[
toolchain
]
dummy_toolchain
=
rule
(
_dummy_toolchain_impl
,
attrs
=
{})
third_party/toolchains/preconfig/win_1803/py36/BUILD
0 → 100644
浏览文件 @
a7d26471
licenses
([
"restricted"
])
package
(
default_visibility
=
[
"//visibility:public"
])
# To build Python C/C++ extension on Windows, we need to link to python import library pythonXY.lib
# See https://docs.python.org/3/extending/windows.html
cc_import
(
name
=
"python_lib"
,
interface_library
=
select
({
":windows"
:
":python_import_lib"
,
# A placeholder for Unix platforms which makes --no_build happy.
"//conditions:default"
:
"not-existing.lib"
,
}),
system_provided
=
1
,
)
cc_library
(
name
=
"python_headers"
,
hdrs
=
[
":python_include"
],
includes
=
[
"python_include"
],
deps
=
select
({
":windows"
:
[
":python_lib"
],
"//conditions:default"
:
[],
}),
)
cc_library
(
name
=
"numpy_headers"
,
hdrs
=
[
":numpy_include"
],
includes
=
[
"numpy_include"
],
)
config_setting
(
name
=
"windows"
,
values
=
{
"cpu"
:
"x64_windows"
},
visibility
=
[
"//visibility:public"
],
)
genrule
(
name
=
"python_include"
,
outs
=
[
"python_include/Python-ast.h"
,
"python_include/Python.h"
,
"python_include/abstract.h"
,
"python_include/accu.h"
,
"python_include/asdl.h"
,
"python_include/ast.h"
,
"python_include/bitset.h"
,
"python_include/bltinmodule.h"
,
"python_include/boolobject.h"
,
"python_include/bytearrayobject.h"
,
"python_include/bytes_methods.h"
,
"python_include/bytesobject.h"
,
"python_include/cellobject.h"
,
"python_include/ceval.h"
,
"python_include/classobject.h"
,
"python_include/code.h"
,
"python_include/codecs.h"
,
"python_include/compile.h"
,
"python_include/complexobject.h"
,
"python_include/datetime.h"
,
"python_include/descrobject.h"
,
"python_include/dictobject.h"
,
"python_include/dtoa.h"
,
"python_include/dynamic_annotations.h"
,
"python_include/enumobject.h"
,
"python_include/errcode.h"
,
"python_include/eval.h"
,
"python_include/fileobject.h"
,
"python_include/fileutils.h"
,
"python_include/floatobject.h"
,
"python_include/frameobject.h"
,
"python_include/funcobject.h"
,
"python_include/genobject.h"
,
"python_include/graminit.h"
,
"python_include/grammar.h"
,
"python_include/import.h"
,
"python_include/intrcheck.h"
,
"python_include/iterobject.h"
,
"python_include/listobject.h"
,
"python_include/longintrepr.h"
,
"python_include/longobject.h"
,
"python_include/marshal.h"
,
"python_include/memoryobject.h"
,
"python_include/metagrammar.h"
,
"python_include/methodobject.h"
,
"python_include/modsupport.h"
,
"python_include/moduleobject.h"
,
"python_include/namespaceobject.h"
,
"python_include/node.h"
,
"python_include/object.h"
,
"python_include/objimpl.h"
,
"python_include/odictobject.h"
,
"python_include/opcode.h"
,
"python_include/osdefs.h"
,
"python_include/osmodule.h"
,
"python_include/parsetok.h"
,
"python_include/patchlevel.h"
,
"python_include/pgen.h"
,
"python_include/pgenheaders.h"
,
"python_include/py_curses.h"
,
"python_include/pyarena.h"
,
"python_include/pyatomic.h"
,
"python_include/pycapsule.h"
,
"python_include/pyconfig.h"
,
"python_include/pyctype.h"
,
"python_include/pydebug.h"
,
"python_include/pydtrace.h"
,
"python_include/pyerrors.h"
,
"python_include/pyexpat.h"
,
"python_include/pyfpe.h"
,
"python_include/pygetopt.h"
,
"python_include/pyhash.h"
,
"python_include/pylifecycle.h"
,
"python_include/pymacconfig.h"
,
"python_include/pymacro.h"
,
"python_include/pymath.h"
,
"python_include/pymem.h"
,
"python_include/pyport.h"
,
"python_include/pystate.h"
,
"python_include/pystrcmp.h"
,
"python_include/pystrhex.h"
,
"python_include/pystrtod.h"
,
"python_include/pythonrun.h"
,
"python_include/pythread.h"
,
"python_include/pytime.h"
,
"python_include/rangeobject.h"
,
"python_include/setobject.h"
,
"python_include/sliceobject.h"
,
"python_include/structmember.h"
,
"python_include/structseq.h"
,
"python_include/symtable.h"
,
"python_include/sysmodule.h"
,
"python_include/token.h"
,
"python_include/traceback.h"
,
"python_include/tupleobject.h"
,
"python_include/typeslots.h"
,
"python_include/ucnhash.h"
,
"python_include/unicodeobject.h"
,
"python_include/warnings.h"
,
"python_include/weakrefobject.h"
,
],
cmd
=
"""
cp -f "C:/Python36/include/Python-ast.h" "$(@D)/python_include/Python-ast.h" && cp -f "C:/Python36/include/Python.h" "$(@D)/python_include/Python.h" && cp -f "C:/Python36/include/abstract.h" "$(@D)/python_include/abstract.h" && cp -f "C:/Python36/include/accu.h" "$(@D)/python_include/accu.h" && cp -f "C:/Python36/include/asdl.h" "$(@D)/python_include/asdl.h" && cp -f "C:/Python36/include/ast.h" "$(@D)/python_include/ast.h" && cp -f "C:/Python36/include/bitset.h" "$(@D)/python_include/bitset.h" && cp -f "C:/Python36/include/bltinmodule.h" "$(@D)/python_include/bltinmodule.h" && cp -f "C:/Python36/include/boolobject.h" "$(@D)/python_include/boolobject.h" && cp -f "C:/Python36/include/bytearrayobject.h" "$(@D)/python_include/bytearrayobject.h" && cp -f "C:/Python36/include/bytes_methods.h" "$(@D)/python_include/bytes_methods.h" && cp -f "C:/Python36/include/bytesobject.h" "$(@D)/python_include/bytesobject.h" && cp -f "C:/Python36/include/cellobject.h" "$(@D)/python_include/cellobject.h" && cp -f "C:/Python36/include/ceval.h" "$(@D)/python_include/ceval.h" && cp -f "C:/Python36/include/classobject.h" "$(@D)/python_include/classobject.h" && cp -f "C:/Python36/include/code.h" "$(@D)/python_include/code.h" && cp -f "C:/Python36/include/codecs.h" "$(@D)/python_include/codecs.h" && cp -f "C:/Python36/include/compile.h" "$(@D)/python_include/compile.h" && cp -f "C:/Python36/include/complexobject.h" "$(@D)/python_include/complexobject.h" && cp -f "C:/Python36/include/datetime.h" "$(@D)/python_include/datetime.h" && cp -f "C:/Python36/include/descrobject.h" "$(@D)/python_include/descrobject.h" && cp -f "C:/Python36/include/dictobject.h" "$(@D)/python_include/dictobject.h" && cp -f "C:/Python36/include/dtoa.h" "$(@D)/python_include/dtoa.h" && cp -f "C:/Python36/include/dynamic_annotations.h" "$(@D)/python_include/dynamic_annotations.h" && cp -f "C:/Python36/include/enumobject.h" "$(@D)/python_include/enumobject.h" && cp -f "C:/Python36/include/errcode.h" "$(@D)/python_include/errcode.h" && cp -f "C:/Python36/include/eval.h" "$(@D)/python_include/eval.h" && cp -f "C:/Python36/include/fileobject.h" "$(@D)/python_include/fileobject.h" && cp -f "C:/Python36/include/fileutils.h" "$(@D)/python_include/fileutils.h" && cp -f "C:/Python36/include/floatobject.h" "$(@D)/python_include/floatobject.h" && cp -f "C:/Python36/include/frameobject.h" "$(@D)/python_include/frameobject.h" && cp -f "C:/Python36/include/funcobject.h" "$(@D)/python_include/funcobject.h" && cp -f "C:/Python36/include/genobject.h" "$(@D)/python_include/genobject.h" && cp -f "C:/Python36/include/graminit.h" "$(@D)/python_include/graminit.h" && cp -f "C:/Python36/include/grammar.h" "$(@D)/python_include/grammar.h" && cp -f "C:/Python36/include/import.h" "$(@D)/python_include/import.h" && cp -f "C:/Python36/include/intrcheck.h" "$(@D)/python_include/intrcheck.h" && cp -f "C:/Python36/include/iterobject.h" "$(@D)/python_include/iterobject.h" && cp -f "C:/Python36/include/listobject.h" "$(@D)/python_include/listobject.h" && cp -f "C:/Python36/include/longintrepr.h" "$(@D)/python_include/longintrepr.h" && cp -f "C:/Python36/include/longobject.h" "$(@D)/python_include/longobject.h" && cp -f "C:/Python36/include/marshal.h" "$(@D)/python_include/marshal.h" && cp -f "C:/Python36/include/memoryobject.h" "$(@D)/python_include/memoryobject.h" && cp -f "C:/Python36/include/metagrammar.h" "$(@D)/python_include/metagrammar.h" && cp -f "C:/Python36/include/methodobject.h" "$(@D)/python_include/methodobject.h" && cp -f "C:/Python36/include/modsupport.h" "$(@D)/python_include/modsupport.h" && cp -f "C:/Python36/include/moduleobject.h" "$(@D)/python_include/moduleobject.h" && cp -f "C:/Python36/include/namespaceobject.h" "$(@D)/python_include/namespaceobject.h" && cp -f "C:/Python36/include/node.h" "$(@D)/python_include/node.h" && cp -f "C:/Python36/include/object.h" "$(@D)/python_include/object.h" && cp -f "C:/Python36/include/objimpl.h" "$(@D)/python_include/objimpl.h" && cp -f "C:/Python36/include/odictobject.h" "$(@D)/python_include/odictobject.h" && cp -f "C:/Python36/include/opcode.h" "$(@D)/python_include/opcode.h" && cp -f "C:/Python36/include/osdefs.h" "$(@D)/python_include/osdefs.h" && cp -f "C:/Python36/include/osmodule.h" "$(@D)/python_include/osmodule.h" && cp -f "C:/Python36/include/parsetok.h" "$(@D)/python_include/parsetok.h" && cp -f "C:/Python36/include/patchlevel.h" "$(@D)/python_include/patchlevel.h" && cp -f "C:/Python36/include/pgen.h" "$(@D)/python_include/pgen.h" && cp -f "C:/Python36/include/pgenheaders.h" "$(@D)/python_include/pgenheaders.h" && cp -f "C:/Python36/include/py_curses.h" "$(@D)/python_include/py_curses.h" && cp -f "C:/Python36/include/pyarena.h" "$(@D)/python_include/pyarena.h" && cp -f "C:/Python36/include/pyatomic.h" "$(@D)/python_include/pyatomic.h" && cp -f "C:/Python36/include/pycapsule.h" "$(@D)/python_include/pycapsule.h" && cp -f "C:/Python36/include/pyconfig.h" "$(@D)/python_include/pyconfig.h" && cp -f "C:/Python36/include/pyctype.h" "$(@D)/python_include/pyctype.h" && cp -f "C:/Python36/include/pydebug.h" "$(@D)/python_include/pydebug.h" && cp -f "C:/Python36/include/pydtrace.h" "$(@D)/python_include/pydtrace.h" && cp -f "C:/Python36/include/pyerrors.h" "$(@D)/python_include/pyerrors.h" && cp -f "C:/Python36/include/pyexpat.h" "$(@D)/python_include/pyexpat.h" && cp -f "C:/Python36/include/pyfpe.h" "$(@D)/python_include/pyfpe.h" && cp -f "C:/Python36/include/pygetopt.h" "$(@D)/python_include/pygetopt.h" && cp -f "C:/Python36/include/pyhash.h" "$(@D)/python_include/pyhash.h" && cp -f "C:/Python36/include/pylifecycle.h" "$(@D)/python_include/pylifecycle.h" && cp -f "C:/Python36/include/pymacconfig.h" "$(@D)/python_include/pymacconfig.h" && cp -f "C:/Python36/include/pymacro.h" "$(@D)/python_include/pymacro.h" && cp -f "C:/Python36/include/pymath.h" "$(@D)/python_include/pymath.h" && cp -f "C:/Python36/include/pymem.h" "$(@D)/python_include/pymem.h" && cp -f "C:/Python36/include/pyport.h" "$(@D)/python_include/pyport.h" && cp -f "C:/Python36/include/pystate.h" "$(@D)/python_include/pystate.h" && cp -f "C:/Python36/include/pystrcmp.h" "$(@D)/python_include/pystrcmp.h" && cp -f "C:/Python36/include/pystrhex.h" "$(@D)/python_include/pystrhex.h" && cp -f "C:/Python36/include/pystrtod.h" "$(@D)/python_include/pystrtod.h" && cp -f "C:/Python36/include/pythonrun.h" "$(@D)/python_include/pythonrun.h" && cp -f "C:/Python36/include/pythread.h" "$(@D)/python_include/pythread.h" && cp -f "C:/Python36/include/pytime.h" "$(@D)/python_include/pytime.h" && cp -f "C:/Python36/include/rangeobject.h" "$(@D)/python_include/rangeobject.h" && cp -f "C:/Python36/include/setobject.h" "$(@D)/python_include/setobject.h" && cp -f "C:/Python36/include/sliceobject.h" "$(@D)/python_include/sliceobject.h" && cp -f "C:/Python36/include/structmember.h" "$(@D)/python_include/structmember.h" && cp -f "C:/Python36/include/structseq.h" "$(@D)/python_include/structseq.h" && cp -f "C:/Python36/include/symtable.h" "$(@D)/python_include/symtable.h" && cp -f "C:/Python36/include/sysmodule.h" "$(@D)/python_include/sysmodule.h" && cp -f "C:/Python36/include/token.h" "$(@D)/python_include/token.h" && cp -f "C:/Python36/include/traceback.h" "$(@D)/python_include/traceback.h" && cp -f "C:/Python36/include/tupleobject.h" "$(@D)/python_include/tupleobject.h" && cp -f "C:/Python36/include/typeslots.h" "$(@D)/python_include/typeslots.h" && cp -f "C:/Python36/include/ucnhash.h" "$(@D)/python_include/ucnhash.h" && cp -f "C:/Python36/include/unicodeobject.h" "$(@D)/python_include/unicodeobject.h" && cp -f "C:/Python36/include/warnings.h" "$(@D)/python_include/warnings.h" && cp -f "C:/Python36/include/weakrefobject.h" "$(@D)/python_include/weakrefobject.h"
"""
,
)
genrule
(
name
=
"numpy_include"
,
outs
=
[
"numpy_include/numpy/__multiarray_api.h"
,
"numpy_include/numpy/__ufunc_api.h"
,
"numpy_include/numpy/_neighborhood_iterator_imp.h"
,
"numpy_include/numpy/_numpyconfig.h"
,
"numpy_include/numpy/arrayobject.h"
,
"numpy_include/numpy/arrayscalars.h"
,
"numpy_include/numpy/halffloat.h"
,
"numpy_include/numpy/multiarray_api.txt"
,
"numpy_include/numpy/ndarrayobject.h"
,
"numpy_include/numpy/ndarraytypes.h"
,
"numpy_include/numpy/noprefix.h"
,
"numpy_include/numpy/npy_1_7_deprecated_api.h"
,
"numpy_include/numpy/npy_3kcompat.h"
,
"numpy_include/numpy/npy_common.h"
,
"numpy_include/numpy/npy_cpu.h"
,
"numpy_include/numpy/npy_endian.h"
,
"numpy_include/numpy/npy_interrupt.h"
,
"numpy_include/numpy/npy_math.h"
,
"numpy_include/numpy/npy_no_deprecated_api.h"
,
"numpy_include/numpy/npy_os.h"
,
"numpy_include/numpy/numpyconfig.h"
,
"numpy_include/numpy/old_defines.h"
,
"numpy_include/numpy/oldnumeric.h"
,
"numpy_include/numpy/ufunc_api.txt"
,
"numpy_include/numpy/ufuncobject.h"
,
"numpy_include/numpy/utils.h"
,
],
cmd
=
"""
cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "C:/Python36/lib/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h"
"""
,
)
genrule
(
name
=
"python_import_lib"
,
outs
=
[
"python36.lib"
,
],
cmd
=
"""
cp -f "C:/Python36/libs/python36.lib" "$(@D)/python36.lib"
"""
,
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录