mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Ensure tablegen target directory exists
This commit is contained in:
parent
721133b7c1
commit
56702c098d
1 changed files with 5 additions and 4 deletions
|
|
@ -36,9 +36,7 @@
|
|||
(string-join it " ")))
|
||||
|
||||
(defun ll-tblgen/gen-command (file flags output-file)
|
||||
(let ((bin (car (lls/get-tool "llvm-tblgen$")))
|
||||
|
||||
)
|
||||
(let ((bin (car (lls/get-tool "llvm-tblgen$"))))
|
||||
(format "%s %s %s %s"
|
||||
bin
|
||||
file
|
||||
|
|
@ -142,7 +140,10 @@
|
|||
((eq action ?p)
|
||||
(setq comm (concat comm " --print-records")))
|
||||
((eq action ?c)
|
||||
(setq comm (concat comm
|
||||
(setq comm (concat (format "mkdir -p %s"
|
||||
(diredp-parent-dir out))
|
||||
" && "
|
||||
comm
|
||||
(format " -o %s"
|
||||
out)))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue