-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation with arm64 #111
Comments
something is up with ASE_ORCA potential? and where do I choose which potential we need to compile since we are not using makefile anymore. |
@AlanSong641 could provide the commit? # if you don't want to remove the directory / else run with setup
meson configure b2dir -Dwith_xtb=False
meson compile -C b2dir |
Also there were a couple of other fixes / better build defaults which landed this evening :) |
alright, updated the newest master branch. here is a new dependency error which require Catch2, I assume that this will cmake for me automatically, but it failed somehow.
|
Ah, so |
okay now we close to success, maybe need to modify few more libs to compatible with arm64
|
Yeah we're almost there, it seems there is an old |
thanks for the update, pulled the new main branch and overwrited the micromamba environment. unfortunately now we have new error:
|
Ah my bad, this was due to a missing file I pushed a while ago, can you check with this commit? git checkout 75506b7
Also a good idea to wipe the build directory (it will then re-create version.h with the right details)
--- Rohit
…On 6/21/24 4:30 AM, Alan ***@***.***> wrote:
thanks for the update, pulled the new main branch and overwrited the
micromamba environment. unfortunately now we have new error:
|[140/156] Compiling C++ object eonclient.p/ClientEON.cpp.o FAILED:
eonclient.p/ClientEON.cpp.o arm64-apple-darwin20.0.0-clang++
-Ieonclient.p -I. -I.. -I../thirdparty
-I/Users/alan/micromamba/envs/eongit/include/eigen3
-I/Users/alan/micromamba/envs/eongit/include -fdiagnostics-color=always
-D_LIBCPP_ENABLE_ASSERTIONS=1 -std=c++17 -O0 -g -faligned-allocation
-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++
-fvisibility-inlines-hidden -fmessage-length=0 -isystem
/Users/alan/micromamba/envs/eongit/include -D_FORTIFY_SOURCE=2 -isystem
/Users/alan/micromamba/envs/eongit/include -DSPDLOG_SHARED_LIB
-DSPDLOG_COMPILED_LIB -Wno-class-memaccess -Wno-unused-function
-Wno-reorder -Wno-sign-compare -Wno-unused-but-set-parameter
-Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-result
-Wno-unused-variable -g3 -O0 -DEON_CHECKS=TRUE -DOSX=TRUE
-DSPDLOG_FMT_EXTERNAL -DCUH2_POT -DWITH_FORTRAN -MD -MQ
eonclient.p/ClientEON.cpp.o -MF eonclient.p/ClientEON.cpp.o.d -o
eonclient.p/ClientEON.cpp.o -c ../ClientEON.cpp warning: unknown warning
option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
[-Wunknown-warning-option] ../ClientEON.cpp:50:26: error: use of
undeclared identifier 'OS_INFO' spdlog::info("OS: {}", OS_INFO); ^
../ClientEON.cpp:51:28: error: use of undeclared identifier 'ARCH'
spdlog::info("Arch: {}", ARCH); ^ ../ClientEON.cpp:410:26: error:
variable has incomplete type 'struct task_basic_info' struct
task_basic_info t_info; ^ ../ClientEON.cpp:410:10: note: forward
declaration of 'task_basic_info' struct task_basic_info t_info; ^
../ClientEON.cpp:411:3: error: unknown type name
'mach_msg_type_number_t' mach_msg_type_number_t t_info_count =
TASK_BASIC_INFO_COUNT; ^ ../ClientEON.cpp:411:41: error: use of
undeclared identifier 'TASK_BASIC_INFO_COUNT' mach_msg_type_number_t
t_info_count = TASK_BASIC_INFO_COUNT; ^ ../ClientEON.cpp:413:7: error:
use of undeclared identifier 'KERN_SUCCESS' if (KERN_SUCCESS !=
task_info(mach_task_self(), TASK_BASIC_INFO, ^ ../ClientEON.cpp:413:33:
error: use of undeclared identifier 'mach_task_self' if (KERN_SUCCESS !=
task_info(mach_task_self(), TASK_BASIC_INFO, ^ ../ClientEON.cpp:414:34:
error: use of undeclared identifier 'task_info_t' (task_info_t)&t_info,
&t_info_count)) { ^ ../ClientEON.cpp:413:51: error: use of undeclared
identifier 'TASK_BASIC_INFO' if (KERN_SUCCESS !=
task_info(mach_task_self(), TASK_BASIC_INFO, ^ 1 warning and 9 errors
generated. [141/156] Compiling C++ object
test_matter.p/gtests_MatterTest.cpp.o warning: unknown warning option
'-Wno-class-memaccess'; did you mean '-Wno-class-varargs'?
[-Wunknown-warning-option] 1 warning generated. [142/156] Compiling C++
object approve_params.p/gtests_ApproveParams.cpp.o warning: unknown
warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[143/156] Compiling C++ object test_pot.p/gtests_PotTest.cpp.o warning:
unknown warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[144/156] Compiling C++ object eonclient.p/CommandLine.cpp.o warning:
unknown warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[145/156] Compiling C++ object libTestMain.dylib.p/gtests_TestMain.cpp.o
warning: unknown warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[146/156] Compiling C++ object
libTestMain.dylib.p/thirdparty_catch2_catch_amalgamated.cpp.o warning:
unknown warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[147/156] Compiling C++ object
test_matter.p/thirdparty_catch2_catch_amalgamated.cpp.o warning: unknown
warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[148/156] Compiling C++ object
test_pot.p/thirdparty_catch2_catch_amalgamated.cpp.o warning: unknown
warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
[149/156] Compiling C++ object
approve_params.p/thirdparty_catch2_catch_amalgamated.cpp.o warning:
unknown warning option '-Wno-class-memaccess'; did you mean
'-Wno-class-varargs'? [-Wunknown-warning-option] 1 warning generated.
ninja: build stopped: subcommand failed. Could not rebuild
/Users/alan/Github/EONgit/client/bbdir |
—
Reply to this email directly, view it on GitHub
<#111 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABBCUT6ZQBEOJ4IZTXGGKRTZIOT55AVCNFSM6AAAAABJSNYQ6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBRHE3TSMJSGY>.
You are receiving this because you commented.Message ID:
***@***.***>
|
hmmmm tried checkout to that branch and get the same error:( |
Ah, we can debug it live when we meet, but if it is causing trouble they're only logging statements, could |
The issue is that OS and friends are not being set in the
Where the last 2 are supposed to be set from |
So the problem is "fixed" via |
so I am trying to install eongit master branch in Mac with m1 chip.
environment is the same by typing
micromamba create -f environment.yml
and activate it.then installation syntax is like
meson setup bbdir --prefix=$CONDA_PREFIX
, the screen of this command is shown as below:The text was updated successfully, but these errors were encountered: