Open haryngod opened 5 years ago
I found comments in top-level Makefile.
I uncommented that lines, but I'm not quite sure it's correct or not. Since I couldn't successfully build because of MPI compile errors. Am I on the right way?
After I did the above job, a new error occurred undefined reference to MPI libraries and headers. #3755.
I found -msse4.1 flag in the cpp_common.cmake.
add_compile_options(
-fcheck-new
-fopenmp
-fpermissive
-fPIC
-msse4.1
-std=c++11
-Wall
-Wextra
# TODO: -Werror
)
I commented it manually and I success compile with swig option in my environment.
P.S. During this step I need to install dotnet core with following steps.
curl -SL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-l
inux-arm64.tar.gz
sudo mkdir -p /usr/share/dotnet
sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
Build environment is 'Jetson AGX Xavier'(ARM cpu), Ubuntu 18.04, gcc 7.4.0. I'd like to build with swig option to make csharp libraries to get CNTK GPU version on it. Since I put yes to 'enble_csharp' in build configuration. However, it got build fail since 'unrecognized command line optipn '-mees4.1''
I'd like to know, how can I solve it and could I build with swig option with my environment?.
Compile messages here.