You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referring to subdirectories of the home directory is problematic:
the version in development should not override plugins compiled for the installed version
the c2 library used for development is now a submodule, C2_LIBDIR should refer to that.
Furthermore CXX is no longer used, so the definition can be removed
Also I am not sure CC should be forced as clang, which might not be available on the current system
if c2c identifies that it is being run from an XXX/output/c2c/ subdirectory, it would use XXX/c2_libs and XXX/c2_plugins instead of the environment variables.
remove the env.sh script
simplify the install_plugins.sh script or better, make it a Makefile target.
This allows different checkouts to coexist and not interfere with an installed C2 compiler.
The text was updated successfully, but these errors were encountered:
chqrlie
changed the title
**env.sh** should not refer to global directories
env.sh should not refer to global directories
Dec 22, 2024
The current version of env.sh has this contents:
Referring to subdirectories of the home directory is problematic:
C2_LIBDIR
should refer to that.Furthermore
CXX
is no longer used, so the definition can be removedAlso I am not sure
CC
should be forced asclang
, which might not be available on the current systemI suggest this change:
I would prefer this alternative approach:
XXX/output/c2c/
subdirectory, it would useXXX/c2_libs
andXXX/c2_plugins
instead of the environment variables.Makefile
target.This allows different checkouts to coexist and not interfere with an installed C2 compiler.
The text was updated successfully, but these errors were encountered: