@@ -118,7 +118,7 @@ def locate_boost():
118118 data_pathname = sysconfig .get_path ("data" ) # just for readthedocs build
119119 include_dirs = data_pathname + os .path .sep + 'include'
120120 library_dirs = data_pathname + os .path .sep + 'lib'
121-
121+
122122 if os .path .isdir (include_dirs + os .path .sep + 'boost' ):
123123 print ('Boost library location automatically determined in this conda environment.' )
124124 return include_dirs , library_dirs
@@ -130,6 +130,8 @@ def locate_boost():
130130 if os .path .isdir (include_dirs + os .path .sep + 'boost' ):
131131 if glob .glob ('/usr/local/lib/x86_64-linux-gnu/libboost*' ):
132132 return include_dirs , '/usr/local/lib/x86_64-linux-gnu'
133+ elif glob .glob ('/usr/local/lib/aarch64-linux-gnu/libboost*' ):
134+ return include_dirs , '/usr/local/lib/aarch64-linux-gnu'
133135 elif glob .glob ('/usr/local/lib64/libboost*' ):
134136 return include_dirs , '/usr/local/lib64'
135137 elif glob .glob ('/usr/local/lib/libboost*' ):
@@ -140,6 +142,8 @@ def locate_boost():
140142 if os .path .isdir (include_dirs + os .path .sep + 'boost' ):
141143 if glob .glob ('/usr/lib/x86_64-linux-gnu/libboost*' ):
142144 return include_dirs , '/usr/lib/x86_64-linux-gnu'
145+ elif glob .glob ('/usr/lib/aarch64-linux-gnu/libboost*' ):
146+ return include_dirs , '/usr/lib/aarch64-linux-gnu'
143147 elif glob .glob ('/usr/lib64/libboost*' ):
144148 return include_dirs , '/usr/lib64'
145149 elif glob .glob ('/usr/lib/libboost*' ):
0 commit comments