Giter VIP home page Giter VIP logo

Comments (5)

yingfeng avatar yingfeng commented on June 28, 2024

Hi, currently, Infinity could not be compiled under mac directly. You could try it within docker, and set up the compilation environment according to this guide.

from infinity.

xiaoshengMr avatar xiaoshengMr commented on June 28, 2024

LOG
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=ON ..
CMake Warning (dev) at CMakeLists.txt:29:
2024-06-22 18:20:53 Syntax Warning in cmake code at column 86
2024-06-22 18:20:53
2024-06-22 18:20:53 Argument not separated from preceding token by whitespace.
2024-06-22 18:20:53 This warning is for project developers. Use -Wno-dev to suppress it.
2024-06-22 18:20:53
2024-06-22 18:20:54 -- The C compiler identification is Clang 17.0.6
2024-06-22 18:20:55 -- The CXX compiler identification is Clang 17.0.6
2024-06-22 18:20:55 -- Detecting C compiler ABI info
2024-06-22 18:20:56 -- Detecting C compiler ABI info - done
2024-06-22 18:20:56 -- Check for working C compiler: /usr/bin/clang-17 - skipped
2024-06-22 18:20:56 -- Detecting C compile features
2024-06-22 18:20:56 -- Detecting C compile features - done
2024-06-22 18:20:56 -- Detecting CXX compiler ABI info
2024-06-22 18:20:57 -- Detecting CXX compiler ABI info - done
2024-06-22 18:20:57 -- Check for working CXX compiler: /usr/bin/clang++-17 - skipped
2024-06-22 18:20:57 -- Detecting CXX compile features
2024-06-22 18:20:57 -- Detecting CXX compile features - done
2024-06-22 18:20:57 -- Building infinity with CMake version: 3.29.0 On CLANG-17.0
2024-06-22 18:20:57 -- Build time = "2024-06-22 10:20.57"
2024-06-22 18:20:57 -- Found Git: /usr/bin/git (found version "2.34.1")
2024-06-22 18:20:57 -- Branch name = main
2024-06-22 18:20:57 -- Commit-id = 9465d1d
2024-06-22 18:20:57 -- Build type = Debug
2024-06-22 18:20:57 -- C++ Compilation flags: -O0 -g -fno-stack-protector -fno-var-tracking -Wall -Werror -Wno-asm-operand-widths -Wno-unused-command-line-argument -Wno-deprecated-declarations -Wno-read-modules-implicitly -Wextra -Wno-unused-parameter -Wno-unused-private-field -pthread -fcolor-diagnostics
2024-06-22 18:20:57 -- Found CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
2024-06-22 18:20:57 CMake Warning (dev) at /usr/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
2024-06-22 18:20:57 The package name passed to find_package_handle_standard_args (LZ4) does
2024-06-22 18:20:57 not match the name of the calling package (Lz4). This can lead to problems
2024-06-22 18:20:57 in calling code that expects find_package result variables (e.g.,
2024-06-22 18:20:57 _FOUND) to follow a certain pattern.
2024-06-22 18:20:57 Call Stack (most recent call first):
2024-06-22 18:20:57 cmake/FindLz4.cmake:19 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
2024-06-22 18:20:57 CMakeLists.txt:144 (find_package)
2024-06-22 18:20:57 This warning is for project developers. Use -Wno-dev to suppress it.
2024-06-22 18:20:57
2024-06-22 18:20:57 -- Found LZ4: /usr/lib/x86_64-linux-gnu/liblz4.so
2024-06-22 18:20:57 -- Found LZ4: /usr/lib/x86_64-linux-gnu/liblz4.so
2024-06-22 18:20:59 -- Found Python: /usr/bin/python3.10 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter Development.Module Development.SABIModule
2024-06-22 18:20:59 CMake Error at src/CMakeLists.txt:239 (message):
2024-06-22 18:20:59 This project requires the processor support fused multiply-add (FMA)
2024-06-22 18:20:59 instructions.
Env
local env: mac os M2
docker image : [ubuntu:22.04] amd64 (docker run -it --rm --platform linux/amd64 ubuntu:22.04)

Hello I follow Build from source on Ubuntu 22.04 , happen This project requires the processor support fused multiply-add (FMA) @yingfeng

from infinity.

yingfeng avatar yingfeng commented on June 28, 2024

You could try to remove instructions in CMake to see whether it could be compiled and run.

We do not have mac m1/m2, as a result we could not tell whether it could work correctly.

According to a PR from third party contributor, Infinity could be compiled under arm64(linux), while we have not made sure whether it could work normally. However, having infinity work under arm does belong to our roadmap for 0.3.

from infinity.

xiaoshengMr avatar xiaoshengMr commented on June 28, 2024

thanks,I tried it and it didn't work.

from infinity.

xiaoshengMr avatar xiaoshengMr commented on June 28, 2024

Thank you, Yinfeng. I rebuilt it on CentOS using Docker, and it was successful

from infinity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.