[Mesa-users] MESA Installation

Francis Timmes fxt44 at mac.com
Sat Aug 28 19:39:41 UTC 2021


hi keith,

assuming users will use a bash shell, from the bash manpage:

> When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile,  ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.


so if you put the environment in /etc/profile, that should take 
care of things for most posix-compatible shell users.

fxt






> On Aug 27, 2021, at 11:09 AM, Hill, Keith via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> 
> I have installed Mesa r15140, SDK 12.4.1 on MacOS 11.5.2
>  
> uname -a
> Darwin M-U1018F-8S.joliet.jjc.root 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
>  
> gFortran -v
> Using built-in specs.
> COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/x86_64-apple-darwin20.3.0/10.2.0/lto-wrapper
> Target: x86_64-apple-darwin20.3.0
> Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++ --build=x86_64-apple-darwin20.3.0 --host=x86_64-apple-darwin20.3.0 --target=x86_64-apple-darwin20.3.0 --prefix=/opt/sdk2-tmp/mesasdk --with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk --with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 10.2.0 (GCC)
>  
> echo $MESASDK_ROOT
> /Applications/mesasdk
>  
> echo $PATH
> /Applications/mesasdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/mesasdk/bin
>  
> echo $MESA_DIR    
> /Applications/mesa-r15140
>  
>  
> How do I set the environment variables for all users that will use the MacBook so all users will be able to use Mesa?
>  
>  
> <image001.png>
> Keith Hill
> Technical Analyst I, Information Technology
> Joliet Junior College
> Ph: 815-280-2370
> Email: khill at jjc.edu
>  
> Service Desk 815-280-2222 
> Email: ithelpdesk at jjc.edu
> Create a ticket: https://support.jjc.edu (on-campus only)
> <image002.jpg>     <image003.png><image004.jpg>
>  
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users



More information about the Mesa-users mailing list