Open chuckern opened 3 years ago
It works for me with the following flags:
You can see it warns for some flags in the errors.
It works for me with the following flags:
You can see it warns for some flags in the errors.
Thanks for reply. One question is which project u set these flags? I cant find a ios project is rocksdb-master file.
I use this project and this branch: https://github.com/marykdb/ObjectiveRocks/tree/redo It includes an Xcode project to use RocksDB as a library with an Objective C/Swift interface.
@jurmous Sorry but i still not very clear. First I want get the new .a file to fix old librocksdb.a bug in M1( for rosetta2 trans x86_64 to arm64 have a auto_roll_logger.cc error) so i try to build a new librocksdb.a in master branch and get the error ahead. after before discussion i still dont know:
make
order (this project or the project u provide)NPERF_CONTEXT
, NDEBUG
in this project. run make check
first then run TARGET_OS=IOS make static_lib
can get the librocksdb.a
but run lipo -info
find this file only have arm64.
I guess this is because my mac is m1 cpu, so i will check if use Intel cpu mac can get the librocksdb.a include both x64_64 and arm64
run
make check
first then runTARGET_OS=IOS make static_lib
can get the librocksdb.a but runlipo -info
find this file only have arm64. I guess this is because my mac is m1 cpu, so i will check if use Intel cpu mac can get the librocksdb.a include both x64_64 and arm64
i have the same question ! have u resolved the problem?
As the title says. Here is the code I use
TARGET_OS=IOS DEBUG_LEVEL=0 make static_lib
And here is the message :
And my computer message: OS: 11.3.1 CPU: M1
The Branch I use: Master (ecccc6317)