there is a cycle in the constraint graph for mkldnn&ngraph cmake
Created by: luotao1
[16:19:45][Step 1/1] CMake Warning at cmake/generic.cmake:251 (add_library):
[16:19:45][Step 1/1] Cannot generate a safe runtime search path for target paddle_fluid_shared
[16:19:45][Step 1/1] because there is a cycle in the constraint graph:
[16:19:45][Step 1/1]
[16:19:45][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:45][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:45][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:45][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:45][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:45][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:45][Step 1/1]
[16:19:45][Step 1/1] Some of these libraries may not be found correctly.
[16:19:45][Step 1/1] Call Stack (most recent call first):
[16:19:45][Step 1/1] paddle/fluid/inference/CMakeLists.txt:61 (cc_library)
[16:19:45][Step 1/1]
[16:19:45][Step 1/1]
[16:19:48][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:48][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:48][Step 1/1] test_inference_recognize_digits_mlp because there is a cycle in the
[16:19:48][Step 1/1] constraint graph:
[16:19:48][Step 1/1]
[16:19:48][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:48][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:48][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:48][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:48][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:48][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:48][Step 1/1]
[16:19:48][Step 1/1] Some of these libraries may not be found correctly.
[16:19:48][Step 1/1] Call Stack (most recent call first):
[16:19:48][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:48][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:35 (inference_test)
[16:19:48][Step 1/1]
[16:19:48][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_label_semantic_roles because there is a cycle in the
[16:19:49][Step 1/1] constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:34 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_recognize_digits_conv because there is a cycle in the
[16:19:49][Step 1/1] constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:35 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_image_classification_resnet because there is a cycle in the
[16:19:49][Step 1/1] constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:33 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_image_classification_vgg because there is a cycle in the
[16:19:49][Step 1/1] constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:33 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_recommender_system because there is a cycle in the
[16:19:49][Step 1/1] constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:36 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:49][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:49][Step 1/1] test_inference_word2vec because there is a cycle in the constraint graph:
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:49][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:49][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:49][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:49][Step 1/1]
[16:19:49][Step 1/1] Some of these libraries may not be found correctly.
[16:19:49][Step 1/1] Call Stack (most recent call first):
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:17 (cc_test)
[16:19:49][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:39 (inference_test)
[16:19:49][Step 1/1]
[16:19:49][Step 1/1]
[16:19:50][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:50][Step 1/1] Cannot generate a safe runtime search path for target test_inference_nlp
[16:19:50][Step 1/1] because there is a cycle in the constraint graph:
[16:19:50][Step 1/1]
[16:19:50][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:50][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:50][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:50][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:50][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:50][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:50][Step 1/1]
[16:19:50][Step 1/1] Some of these libraries may not be found correctly.
[16:19:50][Step 1/1] Call Stack (most recent call first):
[16:19:50][Step 1/1] paddle/fluid/inference/tests/book/CMakeLists.txt:43 (cc_test)
[16:19:50][Step 1/1]
[16:19:50][Step 1/1]
[16:19:52][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:52][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:52][Step 1/1] test_train_recognize_digits_conv because there is a cycle in the constraint
[16:19:52][Step 1/1] graph:
[16:19:52][Step 1/1]
[16:19:52][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:52][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:52][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:52][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:52][Step 1/1]
[16:19:52][Step 1/1] Some of these libraries may not be found correctly.
[16:19:52][Step 1/1] Call Stack (most recent call first):
[16:19:52][Step 1/1] paddle/fluid/train/CMakeLists.txt:17 (cc_test)
[16:19:52][Step 1/1] paddle/fluid/train/CMakeLists.txt:28 (train_test)
[16:19:52][Step 1/1]
[16:19:52][Step 1/1]
[16:19:52][Step 1/1] CMake Warning at cmake/generic.cmake:373 (add_executable):
[16:19:52][Step 1/1] Cannot generate a safe runtime search path for target
[16:19:52][Step 1/1] test_train_recognize_digits_mlp because there is a cycle in the constraint
[16:19:52][Step 1/1] graph:
[16:19:52][Step 1/1]
[16:19:52][Step 1/1] dir 0 is [/paddle/build/third_party/install/ngraph/lib]
[16:19:52][Step 1/1] dir 1 must precede it due to runtime library [libmkldnn.so.0]
[16:19:52][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1] dir 1 is [/paddle/build/third_party/install/mkldnn/lib]
[16:19:52][Step 1/1] dir 2 must precede it due to runtime library [libmklml_intel.so]
[16:19:52][Step 1/1] dir 2 is [/paddle/build/third_party/install/mklml/lib]
[16:19:52][Step 1/1]
[16:19:52][Step 1/1] Some of these libraries may not be found correctly.
[16:19:52][Step 1/1] Call Stack (most recent call first):
[16:19:52][Step 1/1] paddle/fluid/train/CMakeLists.txt:17 (cc_test)
[16:19:52][Step 1/1] paddle/fluid/train/CMakeLists.txt:28 (train_test)
[16:19:52][Step 1/1]
[16:19:52][Step 1/1]