abseil / abseil/abseil-cpp

[Bug]: Please title this bug report tag:20240116.0 a bug about build for mac

オープン
#1,926 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
18.1k
フォーク
3.2k
平均マージ
20時間 36分
マージ済み PR(30日)
1

説明

### Describe the issue

I found a error when I cmake this project (the tag 20240116.0). My host info is mac.
there is my steps:
git clone [url](https://github.com/abseil/abseil-cpp.git)
cd abseil
git checkout 20240116.0
mkdir -p && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/opt/abseil \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DABSL_PROPAGATE_CXX_STD=OFF \
-DBUILD_SHARED_LIBS=ON
make -j8
then throw a error.
thisis this error:
clang++: error: unsupported option '-msse4.1' for target 'arm64-apple-darwin24.3.0'

### Steps to reproduce the problem

I found a error when I cmake this project (the tag 20240116.0). My host info is mac.
there is this error:
clang++: error: unsupported option '-msse4.1' for target 'arm64-apple-darwin24.3.0'

Because the third-party library of protobuf 29.3 strongly depends on Abseil LTS 20240116.0, an error occurs when compiling on a Mac.

### What version of Abseil are you using?

Abseil LTS 20240116.0

### What operating system and version are you using?

24.3.0 Darwin Kernel Version 24.3.0
RELEASE_ARM64_T8112 arm64
apple M2

### What compiler and version are you using?

apple clang version 17.0.0

### What build system are you using?

protobuf 29.3

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。