mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Include the new Privacy.md file in all release packages. (#2200)
This commit is contained in:
parent
cf7ee5f6e8
commit
69970d1f2a
8 changed files with 10 additions and 2 deletions
|
|
@ -166,6 +166,9 @@ add_custom_command(
|
|||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${REPO_ROOT}/ThirdPartyNotices.txt
|
||||
$<TARGET_FILE_DIR:${test_data_target}>/onnxruntime/
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${REPO_ROOT}/docs/Privacy.md
|
||||
$<TARGET_FILE_DIR:${test_data_target}>/onnxruntime/
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${REPO_ROOT}/LICENSE
|
||||
$<TARGET_FILE_DIR:${test_data_target}>/onnxruntime/
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@
|
|||
CopyToOutputDirectory="Always"
|
||||
Visible="false"
|
||||
/>
|
||||
<None Include="$(OnnxRuntimeCsharpRoot)\..\LICENSE.txt;$(OnnxRuntimeCsharpRoot)\..\ThirdPartyNotices.txt"
|
||||
<None Include="$(OnnxRuntimeCsharpRoot)\..\LICENSE.txt;$(OnnxRuntimeCsharpRoot)\..\ThirdPartyNotices.txt;$(OnnxRuntimeCsharpRoot)\..\docs\Privacy.md"
|
||||
PackagePath="\"
|
||||
Pack="true"
|
||||
Visible="false"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:/code/cmake-3.14.3-Linux-x86_
|
|||
# Prepare onnxruntime repository & build onnxruntime with CUDA
|
||||
RUN git clone --single-branch --branch ${ONNXRUNTIME_SERVER_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime &&\
|
||||
/bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh &&\
|
||||
cp onnxruntime/docs/Privacy.md /code/Privacy.md &&\
|
||||
cp onnxruntime/ThirdPartyNotices.txt /code/ThirdPartyNotices.txt &&\
|
||||
cp onnxruntime/dockerfiles/LICENSE-IMAGE.txt /code/LICENSE-IMAGE.txt &&\
|
||||
cd onnxruntime &&\
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ ENV PATH /opt/miniconda/bin:/code/cmake-3.14.3-Linux-x86_64/bin:$PATH
|
|||
RUN git clone --recursive -b $ONNXRUNTIME_BRANCH $ONNXRUNTIME_REPO /onnxruntime && \
|
||||
/bin/sh /onnxruntime/dockerfiles/scripts/install_common_deps.sh && \
|
||||
cd /onnxruntime/cmake/external/onnx && python3 setup.py install && \
|
||||
cp onnxruntime/docs/Privacy.md /code/Privacy.md &&\
|
||||
cp /onnxruntime/dockerfiles/LICENSE-IMAGE.txt /code/LICENSE-IMAGE.txt && \
|
||||
cp /onnxruntime/ThirdPartyNotices.txt /code/ThirdPartyNotices.txt && \
|
||||
pip install azure-iothub-device-client azure-iothub-service-client azure-iot-provisioning-device-client && \
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:/code/cmake-3.14.3-Linux-x86_
|
|||
# Prepare onnxruntime repository & build onnxruntime with TensorRT
|
||||
RUN git clone --single-branch --branch ${ONNXRUNTIME_SERVER_BRANCH} --recursive ${ONNXRUNTIME_REPO} onnxruntime &&\
|
||||
/bin/sh onnxruntime/dockerfiles/scripts/install_common_deps.sh &&\
|
||||
cp onnxruntime/docs/Privacy.md /code/Privacy.md &&\
|
||||
cp onnxruntime/dockerfiles/LICENSE-IMAGE.txt /code/LICENSE-IMAGE.txt &&\
|
||||
cp onnxruntime/ThirdPartyNotices.txt /code/ThirdPartyNotices.txt &&\
|
||||
cd onnxruntime &&\
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -158,7 +158,7 @@ examples_names = ["mul_1.onnx", "logreg_iris.onnx", "sigmoid.onnx"]
|
|||
examples = [path.join('datasets', x) for x in examples_names]
|
||||
|
||||
# Extra files such as EULA and ThirdPartyNotices
|
||||
extra = ["LICENSE", "ThirdPartyNotices.txt"]
|
||||
extra = ["LICENSE", "ThirdPartyNotices.txt", "Privacy.md"]
|
||||
|
||||
# Description
|
||||
README = path.join(getcwd(), "docs/python/README.rst")
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ steps:
|
|||
# copy the README, licence and TPN
|
||||
copy $(Build.SourcesDirectory)\README.md $(Build.BinariesDirectory)\${{parameters.artifactName}}\README.md
|
||||
copy $(Build.SourcesDirectory)\docs\C_API.md $(Build.BinariesDirectory)\${{parameters.artifactName}}\C_API.md
|
||||
copy $(Build.SourcesDirectory)\docs\Privacy.md $(Build.BinariesDirectory)\${{parameters.artifactName}}\Privacy.md
|
||||
copy $(Build.SourcesDirectory)\LICENSE $(Build.BinariesDirectory)\${{parameters.artifactName}}\LICENSE
|
||||
copy $(Build.SourcesDirectory)\ThirdPartyNotices.txt $(Build.BinariesDirectory)\${{parameters.artifactName}}\ThirdPartyNotices.txt
|
||||
copy $(Build.SourcesDirectory)/VERSION_NUMBER $(Build.BinariesDirectory)\${{parameters.artifactName}}\VERSION_NUMBER
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ cp $SOURCE_DIR/include/onnxruntime/core/providers/cuda/cuda_provider_factory.h
|
|||
# copy the README, licence and TPN
|
||||
cp $SOURCE_DIR/README.md $BINARY_DIR/$ARTIFACT_NAME/README.md
|
||||
cp $SOURCE_DIR/docs/C_API.md $BINARY_DIR/$ARTIFACT_NAME/C_API.md
|
||||
cp $SOURCE_DIR/docs/Privacy.md $BINARY_DIR/$ARTIFACT_NAME/Privacy.md
|
||||
cp $SOURCE_DIR/LICENSE $BINARY_DIR/$ARTIFACT_NAME/LICENSE
|
||||
cp $SOURCE_DIR/ThirdPartyNotices.txt $BINARY_DIR/$ARTIFACT_NAME/ThirdPartyNotices.txt
|
||||
cp $SOURCE_DIR/VERSION_NUMBER $BINARY_DIR/$ARTIFACT_NAME/VERSION_NUMBER
|
||||
|
|
|
|||
Loading…
Reference in a new issue