Skip to content

Commit

Permalink
Intercept ocl environment variables before running
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardozcm committed Jan 21, 2025
1 parent 164307c commit 806c240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/llm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def download_libs(url: str, change_permission=False):
class IPEXLLMInstallCommand(install):
def run(self):
install.run(self)
self.copy_activate_script()
if not platform.platform().startswith('Windows'):
self.copy_activate_script()

def copy_activate_script(self):
conda_prefix = os.environ.get('CONDA_PREFIX')
Expand Down

0 comments on commit 806c240

Please sign in to comment.